essence-of-live-coding
essence-of-live-coding copied to clipboard
Get rid of literate Haskell?
While it was nice to try out literate Haskell, it's getting in the way of serious development. It's hard to keep an overview, ghcide doesn't support it properly (https://github.com/digital-asset/ghcide/issues/682), haddock and literate parts get in each other's ways.
Rough idea
Try to move all the actual code into proper *.hs
files, possibly small ones, and quote it from LaTeX.
Properties to keep
- The article should still show the actual code
- The code should have good haddocks
Rough implementation ideas
-
\inputminted
with thefirstline=n
option, and\newmintedfile
. Problem: If code changes, I have no way to see that, except by reading through the article.