Re: [pollen] How to access a pollen source's path in pollen.rkt

2016-12-29 Thread Matthew Butterick
> On Dec 29, 2016, at 9:50 AM, Alexander George McKenzie > wrote: > > I know it's possible to pass it in using (current-contract-region), but > that's a bit unwieldy. Out of curiosity, why would you use that, rather than the `here-path` value in `metas`? > Example: you define an ◊image fu

[pollen] How to access a pollen source's path in pollen.rkt

2016-12-29 Thread Alexander George McKenzie
Hello everyone — Is there a way to access a pollen file's source path directly in the pollen.rkt? I know it's possible to pass it in using (current-contract-region), but that's a bit unwieldy. Example: you define an ◊image function in pollen.rkt that pulls in images from different directorie