4 ms·
> If a datum sounds like a syntax object, that’s no coincidence — a syntax object is just a datum with some extra information attached. The #' prefix not
by giacomone 11y ago
> If a datum sounds like a syntax object, that’s no coincidence — a syntax object is just a datum with some extra information attached. The #' prefix notation we used for a syntax object now connects logically: we can think of the # as representing the extra info that gets attached to the datum
This is not clear, can someone explain please?
- samth 11y agoNot 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.
- giacomone 11y agoGot it, thanks!
- analognoise 11y agoThis 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?
- Nadya 11y agoGitbook. I've used it for two small (unpublished) books. https://www.gitbook.com/ 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.
- omaranto 11y agoThe 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.
- justinhj 11y agoI've bought a couple of books on the manning early access program and been very satisfied https://www.manning.com/meap-program https://www.manning.com/meap-program
- elviejo 11y agoLeanpub.con It integrates with git and is pretty simple to use.
- peatmoss 11y agoThis is the only time I've heard "datum" used outside the context of GIS.
- eru 11y agoDatum is the singular of data.
- conceit 11y agoThe 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.
- znpy 11y ago'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')
- conceit 11y agothat'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 https://www.iso.org/obp/ui/#iso:std:iso-iec:2382:ed-1:v1:en
- dTal 11y agoIn Latin. In English "data" is a mass noun. Nobody really says "data are" unless they're writing an academic paper.