Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

data or datum?

19 views
Skip to first unread message

x19290

unread,
Jan 30, 2012, 8:01:07 AM1/30/12
to
Hello.

I skimmed R5RS, and found there was no `s-expression' or `form.'
Instead there were `data/datum' and `expression.'

I found a sentence:
> For example, the eval procedure evaluates a Scheme program expressed
> as data.

And I found an example:
> (quote <datum>) ... syntax

Which word (data or datum) is better to represent what is called an
`s-expression' traditionally?

Thank you.
--
Hiroki Horiuchi from Japan

zermelo

unread,
Jan 30, 2012, 10:35:27 AM1/30/12
to
In Latin data is the plural of datum.

Barry Margolin

unread,
Jan 30, 2012, 2:18:49 PM1/30/12
to
In article <jg6dbu$8lv$1...@dont-email.me>, zermelo <zer...@invalid.spam>
wrote:
And in English, "data" is often used to refer to a classification, while
"datum" is a specific item.

The quoted sentence could have been written as "expressed as a datum",
but this is a less familiar phrase.

--
Barry Margolin, bar...@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***

x19290

unread,
Jan 30, 2012, 7:54:33 PM1/30/12
to
On Jan 31, 12:35 am, zermelo <zerm...@invalid.spam> wrote:

> In Latin data is the plural of datum.

Thank you.

On Jan 31, 4:18 am, Barry Margolin <bar...@alum.mit.edu> wrote:

> And in English, "data" is often used to refer to a classification, while
> "datum" is a specific item.
>
> The quoted sentence could have been written as "expressed as a datum",
> but this is a less familiar phrase.

Thank you too.

But I overlooked the definition:
<datum> --> <simple datum> | <compound datum>
<simple datum> --> <boolean> | <number>...
...

So, for my question, the answer is `datum.'

Regards,

Hiroki Horiuchi from Japan

Fyndhorn Elder

unread,
Feb 2, 2012, 10:22:21 AM2/2/12
to
x19290 <x19...@gmail.com> writes:

Hi,

> Hello.
>
> I skimmed R5RS, and found there was no `s-expression' or `form.'
> Instead there were `data/datum' and `expression.'

Read the index of the R6RS and you will see that there are only a few
things like you want :

boolean?
symbol?
char?
vector?
procedure?
pair?
list?
number?
null?
string?
+ compex numbers

These are the native data types of scheme.

FE
0 new messages