5 ms·
Functional Data Structures
- chalst 8y agoNot to be confused with http://www.cambridge.org/de/academic/subjects/computer-science/programming-languages-and-applied-logic/purely-functional-data-structures http://www.cambridge.org/de/academic/subjects/computer-scien...
- signa11 8y agoah yes the _classic_ ! i was kind of pleasantly surprised to see 'pragmatically' functional OCaml used for exposition, and thought of posting here for more insightful discussion :)
- test9753 8y agoPurely functional data structures for OCaml, translated from Chris Okasaki's book "Purely Functional Data Structures": https://github.com/mmottl/pure-fun https://github.com/mmottl/pure-fun
- deleted 8y ago[deleted]
- qntty 8y agoWhat tool is used to generate html books like this?
- filipoi 8y agohttps://docs.racket-lang.org/scribble/index.html https://docs.racket-lang.org/scribble/index.html
- rbonvall 8y agoIt's Scribble, Racket's documentation tool.
- threatofrain 8y agoIMO every programming language should have a web templating tool for code to documentation generation.
- jlg23 8y agoIMO every programming language definition should also define how documentation strings are associated to syntactical constructs and how they can be accessed programmatically.
- deleted 8y ago[deleted]
- johnsonjo 8y agoI know you found an exact answer, but I thought I’d give an alternative. You could do this or something similar with pandoc [1] and a make file. I tend to write my files in markdown run a makefile that concatenates them and converts them with pandoc to pdf, html, or docx. [1]: http://pandoc.org http://pandoc.org
- vajrabum 8y agoThe approach presented here was largely invented by Chris Osaki which isn't mentioned in that set of notes at least not in the first few pages. Here's a link to his dissertation which covers much of the same material. That plus more can be found in his book under the name Purely Functional Data Structures. https://www.cs.cmu.edu/~rwh/theses/okasaki.pdf https://www.cs.cmu.edu/~rwh/theses/okasaki.pdf
- soegaard 8y agoSee the section "Acknowledgements": https://cs.uwaterloo.ca/~plragde/flaneries/FDS/Sources_and_Resources.html#%28part._.Acknowledgements%29 https://cs.uwaterloo.ca/~plragde/flaneries/FDS/Sources_and_R...
- soegaard 8y agoIn case anyone wonders what a flanery is: https://cs.uwaterloo.ca/~plragde/flaneries/ https://cs.uwaterloo.ca/~plragde/flaneries/
- theoh 8y agoThat's not a very informative definition, and it's inaccurate. See https://en.wikipedia.org/wiki/Flâneur https://en.wikipedia.org/wiki/Flâneur for the relevant idea.
- andrepd 8y agoGreat to see OCaml featured here. Such a neat little language, combining functional programming with a healthy pragmatism in supporting imperative constructs with no fuss.