3 ms·
> You just feed your TeX document to ghc and it picks the code out of the \begin{code} blocks. This is starting to remind me of Jupyter notebooks, as you are e
by pragma_x 2y ago
> You just feed your TeX document to ghc and it picks the code out of the \begin{code} blocks.
This is starting to remind me of Jupyter notebooks, as you are expected to have documentation (well-rendered markdown) blocks and dedicated code blocks. Now I wonder if notebooks were conceived with Knuth's vision in mind.
- kccqzy 2y agoYes Jupyter notebooks are inspired by Mathematica notebooks, and the documentation for the latter explicitly mentions literate programming.