27 Sep
2001
27 Sep
'01
11:02 p.m.
At 2001-09-27 15:16, Tom Pledger wrote:
Just as a matter of idle curiosity, is there a particular reason for tuples starting at element 1 (fst) whereas lists start at element 0?
'fst' (first) is an ordinal. It actually corresponds to the cardinal 'zero'. The element at zero is the first element. The element at 37 is the 38th element. It's quite consistent. -- Ashley Yakeley, Seattle WA
27 Sep
27 Sep
11:27 p.m.
New subject: 0-based versus 1-based
Thanks for the replies. I keep forgetting to read (!!1) as "the element at 1" and not as "the 1st element".
9101
Age (days ago)
9101
Last active (days ago)
1 comments
2 participants
participants (2)
-
Ashley Yakeley -
Tom Pledger