documentation
documentation copied to clipboard
Automated checking of code examples
Having mistakes such as those addressed by #69, e.g. examples left over from before PureScript had an Int type, is a little embarrassing, in my view. I'd like to investigate some kind of script which ensures that code examples at least compile.
I'm interested to see what you come up with for this, I have a similar problem trying to keep the Halogen guide, etc. up to date too.
One option could be to require code sections to combine into valid .purs files, and then just try to compile those files against the core library package set using the Try PureScript API.