| Newsgroups |
gmane.comp.lang.ocaml.beginners |
| Message-ID |
<[email protected]> |
Thanks,
I will now going to read and try to understand that chapter. I
find it a very difficult chapter compared with the first three.
Roelof
Esther Baruk [email protected] [ocaml_beginners] schreef op
7-11-2014 15:46:
Hi,
'[' and ']' denote a list. So [
[hhshsh, 1] ] represent a list with one element being
itself a list of one element begin a tuple.
A
value of type (string * int) list would be:
[("foo", 2); ("bar", 42)] (parenthesis are optional)
Cheers,
Esther Baruk
On Fri, Nov 7, 2014 at 3:38 PM,
Roelof Wobben [email protected]
[ocaml_beginners] <[email protected] >
wrote:
Hello,
Im still struggeling with chapter 4 and I
see this :
(string * int) list
Am I right that I must see it like this [
[hhshsh, 1] ]
Roelof
__._,_.___
----------
Posted by: Roelof Wobben <[email protected]>
----------
Reply via web post
•
Reply to sender
•
Reply to group
•
Start a New Topic
•
Messages in this topic
(3)
Archives up to December 31, 2011 are also downloadable at http://www.connettivo.net/cntprojects/ocaml_beginners
The archives of the very official ocaml list (the seniors' one) can be found at http://caml.inria.fr
Attachments are banned and you're asked to be polite, avoid flames etc.
Visit Your Group
-
New Members
4
https://groups.yahoo.com/neo;_ylc=X3oDMTJkamU4b3EzBF9TAzk3NDc2NTkwBGdycElkAzQ5OTkxOTQEZ3Jwc3BJZAMxNzA1MDA2NzY0BHNlYwNmdHIEc2xrA2dmcARzdGltZQMxNDE1MzcxOTMz
• Privacy • Unsubscribe • Terms of Use
.
__,_._,___