News for hackers. Stuff that matters.
Re:Beautiful Racket by giacomone on Friday March 04, 2016 @04:34PM (#11227022)
> If a datum sounds like a syn­tax object, that’s no coin­ci­dence — a syn­tax object is just a datum with some extra infor­ma­tion attached. The #' pre­fix nota­tion we used for a syn­tax object now con­nects log­i­cally: we can think of the # as rep­re­sent­ing the extra info that gets attached to the datum

This is not clear, can someone explain please?

Re:Beautiful Racket by samth on Friday March 04, 2016 @04:57PM (#11227144)
Not sure which part isn't clear.

First, syntax objects are data, but with extra information, such as binding information, source location, etc.

Second, the #' form (written out it's called `syntax`) is similar to the ' form (written out as `quote`). But the first one includes the extra information to make a syntax object. Also, it has an extra character, which the chapter points out can be seen as going along with the extra information.

Re:Beautiful Racket by analognoise on Friday March 04, 2016 @07:01PM (#11227689)
This is why I wish I could ask comments about books without going to Stack Overflow. Is there a publishing system that allows you to put up a work as it is being produced and solicit input from people on what they find unclear?
Re:Beautiful Racket by Nadya on Friday March 04, 2016 @07:02PM (#11227697)
Gitbook. I've used it for two small (unpublished) books.

https://www.gitbook.com/

E:

I may have misparsed your question, upon re-reading it and had an overly liberal understanding of "solicit feedback". Apologies in advance if my answer isn't quite up the alley you were looking for.

Re:Beautiful Racket by omaranto on Friday March 04, 2016 @08:04PM (#11227896)
The book Real World Haskell was written using such a system. I don't know what system they used, though. It let you attach comments to a specific paragraph.
Re:Beautiful Racket by justinhj on Friday March 04, 2016 @08:52PM (#11228051)
I've bought a couple of books on the manning early access program and been very satisfied

https://www.manning.com/meap-program

Re:Beautiful Racket by elviejo on Friday March 04, 2016 @09:35PM (#11228164)
Leanpub.con It integrates with git and is pretty simple to use.
Re:Beautiful Racket by giacomone on Friday March 04, 2016 @05:12PM (#11227224)
Got it, thanks!
Re:Beautiful Racket by peatmoss on Friday March 04, 2016 @08:40PM (#11228010)
This is the only time I've heard "datum" used outside the context of GIS.
Re:Beautiful Racket by eru on Friday March 04, 2016 @11:27PM (#11228421)
Datum is the singular of data.
Re:Beautiful Racket by dTal on Saturday March 05, 2016 @09:40AM (#11229608)
In Latin. In English "data" is a mass noun. Nobody really says "data are" unless they're writing an academic paper.
Re:Beautiful Racket by conceit on Saturday March 05, 2016 @03:47AM (#11228918)
The singular of data would be a 1, to be pedantic.

Edit: Information is uncountable, so maybe data should as well be. Is that plural or singular? Yes, you can have sand and a grain of sand, but the grain is hardly sandy. A lone 1 is hardly, excuse the pun, dative.

Re:Beautiful Racket by znpy on Saturday March 05, 2016 @06:58AM (#11229242)
'data' comes from latin, and 'data' is plura.

the singular is 'datum'.

In Italian (the direct descendent of latin) there is both singular and plural for datum (singular: 'dato', plural: 'dati')

Re:Beautiful Racket by conceit on Saturday March 05, 2016 @10:30AM (#11229713)
that's totally ignoring what I said. I hope you feel smug about it.

Edit: Interestingly, wiktionary says informations is just uncommon, and that information is not data, it's the meaning of data, in the computing context. ... with source. It links to a paper about an ISO standard, no less, that tries to define vocabulary and happens to use data as singular. Document Reader [is a] Character reader whose input data is the text from specific areas on a given type of form [1]. (This makes me so happy right now.)

Overall, if it's a technical term they invented, the authors are free to name their language construct whatever they want. But if it's so fudged that the author even writes datums ... I rest my case.

[1] https://www.iso.org/obp/ui/#iso:std:iso-iec:2382:ed-1:v1:en