essence-of-live-coding icon indicating copy to clipboard operation
essence-of-live-coding copied to clipboard

Get rid of literate Haskell?

Open turion opened this issue 4 years ago • 0 comments

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 the firstline=n option, and \newmintedfile. Problem: If code changes, I have no way to see that, except by reading through the article.

turion avatar Jul 11 '20 11:07 turion