
I think you're looking for file-embed[1]. 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.
[1] https://www.stackage.org/package/file-embed
On Thu, Nov 3, 2016 at 3:11 PM, Zachary Kessin
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: http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe Only members subscribed via the mailman list are allowed to post.