Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I think Docco was when that approach acquired some kind of popularity? So 2010 or so[1].

Of course Haskell has had its “literate format” since forever (ETA: the Haskell 1.2 report[2], dated March 1992, has a description in an appendix), and it became mildly popular for Haskell blogging when blogs caught on, but its name was always accompanied by a side note that in Haskell you don’t really need to reorder things (kind of true).

[1] https://github.com/jashkenas/docco/commit/9b666b77c476fd76b9...

[2] http://haskell.org/definition/haskell-report-1.2.ps.gz



I recall, on first encountering Literate Haskell at some point after 2010, mentally comparing it to something I thought I recalled from earlier in the perl ecosystem (on top of being vaguely aware of Knuth's stuff, although I hadn't actually read up on it at that point - at this point I have a copy on my desk).


POD? I’ve only encountered people using it to embed manpages into their single-file scripts, even if it turns out that the documentation[1] doesn’t consider this the canonical use case and demonstrates something much more like LH. But then I’ve never done much Perl.

[1] https://perldoc.perl.org/perlsyn#PODs:-Embedded-Documentatio...


I don't think it would have been POD (which I agree isn't the same thing) but maybe. It's been a while.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: