Simple AJAX in Purescript
I’ve recently published a small library that summarizes how I’m using affjax and simple-json in my project.
Automatically adding (or removing) a prefix to a record labels in Purescript
Thanks to the awesome heterogeneous library’s dark magic powers, it’s now very easy to do a lot of operations on non heterogeneous collections.
Adding static files to Yesod
In a Yesod app the files in the static folder can be accessed as a variable composed by the folder structure and the name of the file.
For example, a file in
static/css/main.css will be