News for hackers. Stuff that matters.
Re:Functional Data Structures by vajrabum on Wednesday June 20, 2018 @10:27AM (#17355689)
The 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
Re:Functional Data Structures by soegaard on Wednesday June 20, 2018 @10:30AM (#17355721)
Re:Functional Data Structures by snikeris on Wednesday June 20, 2018 @12:36PM (#17356934)
Okasaki is mentioned in the previous section.
Re:Functional Data Structures by vajrabum on Wednesday June 20, 2018 @01:21PM (#17357419)
Glad to hear it!
Re:Functional Data Structures by soegaard on Wednesday June 20, 2018 @10:49AM (#17355894)
In case anyone wonders what a flanery is: https://cs.uwaterloo.ca/~plragde/flaneries/
Re:Functional Data Structures by theoh on Wednesday June 20, 2018 @05:14PM (#17359843)
That's not a very informative definition, and it's inaccurate. See https://en.wikipedia.org/wiki/Flâneur for the relevant idea.
Re:Functional Data Structures by chalst on Wednesday June 20, 2018 @07:55AM (#17354478)
Re:Functional Data Structures by signa11 on Wednesday June 20, 2018 @08:20AM (#17354657)
ah 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 :)
Re:Functional Data Structures by test9753 on Wednesday June 20, 2018 @03:36PM (#17358941)
Purely functional data structures for OCaml, translated from Chris Okasaki's book "Purely Functional Data Structures":

https://github.com/mmottl/pure-fun

Re:Functional Data Structures by andrepd on Wednesday June 20, 2018 @12:00PM (#17356579)
Great to see OCaml featured here. Such a neat little language, combining functional programming with a healthy pragmatism in supporting imperative constructs with no fuss.
Re:Functional Data Structures by qntty on Wednesday June 20, 2018 @09:33AM (#17355159)
What tool is used to generate html books like this?
Re:Functional Data Structures by johnsonjo on Wednesday June 20, 2018 @12:13PM (#17356721)
I 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

Re:Functional Data Structures by filipoi on Wednesday June 20, 2018 @09:45AM (#17355243)
Re:Functional Data Structures by rbonvall on Wednesday June 20, 2018 @09:46AM (#17355256)
It's Scribble, Racket's documentation tool.
Re:Functional Data Structures by threatofrain on Wednesday June 20, 2018 @10:48AM (#17355889)
IMO every programming language should have a web templating tool for code to documentation generation.
Re:Functional Data Structures by jlg23 on Wednesday June 20, 2018 @02:48PM (#17358433)
IMO every programming language definition should also define how documentation strings are associated to syntactical constructs and how they can be accessed programmatically.