[Haskell-cafe] Creating string resources
michael at snoyman.com
Thu Nov 3 14:37:30 UTC 2016
I think you're looking for file-embed. In the Yesod scaffolding, we even
use it to read in a yaml file and parse it at compile time to make
available to the app.
On Thu, Nov 3, 2016 at 3:11 PM, Zachary Kessin <zkessin at gmail.com> wrote:
> I have an app with a UX in GHCJS and I want to have way for a non
> developer to edit the text, but then have it compiled into our code base.
> One obvious way would be just to have haskell modules that just has the
> strings in it as constants. But I thought to ask has anyone else come up
> with a solution to this?
> Zach Kessin
> SquareTarget <http://squaretarget.rocks?utm_source=email-sig>
> Twitter: @zkessin <https://twitter.com/zkessin>
> Skype: zachkessin
> Haskell-Cafe mailing list
> To (un)subscribe, modify options or view archives go to:
> Only members subscribed via the mailman list are allowed to post.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe