9 ms·
Haskell does not natively support literate programming -- it only allows the comment/code default to be swapped. The format named "literate Haskell" is basicall
by jmillikin 3y ago
Haskell does not natively support literate programming -- it only allows the comment/code default to be swapped. The format named "literate Haskell" is basically just syntactic sugar for {- comment blocks -}. Literate programming requires the ability to decouple the ordering of code relative to the commentary.
I wrote more about this at <https://news.ycombinator.com/item?id=35985835 https://news.ycombinator.com/item?id=35985835> and <https://john-millikin.com/software/anansi#history https://john-millikin.com/software/anansi#history>.