Values on the right-hand side of `define-meta` can't be expressions or 
variables imported from elsewhere. They can only be raw datums. This is a 
deliberate limitation that goes back early in Pollen history, when folks 
decided they wanted to be able to extract metas (quickly) without evaluating 
the whole file (which is potentially slow). 

Of course, you can `provide` variables from a Pollen file (other than `doc` and 
`metas`) the same way as any Racket file.


> On Apr 10, 2019, at 9:08 AM, Daniel Sockwell <dan...@codesections.com> wrote:
> 
> Does anyone know if it is possible/what I would need to `require` to be able 
> to define a meta from a Racket file that is imported from my pollen file?  I 
> tried requiring `pollen` and `pollen/setup`, but `define-meta` still didn't 
> work.
> 
> Thanks in advance and my apologies if I missed something obvious in the docs.

-- 
You received this message because you are subscribed to the Google Groups 
"Pollen" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to pollenpub+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to