Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
RE: [Caml-list] Please help a newbie
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2001-08-02 (13:41)
From: Dave Berry <Dave@k...>
Subject: RE: [Caml-list] Please help a newbie
For the language designers on the list:  This is an example of why
curried notation is a bad idea.  If the function were written using
tuples, Johann would have been less likely to make this mistake, and if
he had, the compiler could have given a message that was easier to

-----Original Message-----
> # let rec wys_die_lys l = function
>     [] -> []
>         | h :: t -> wys_dit h ::    wys_die_lys l t;;
> val wys_die_lys : 'a -> string list -> unit list = <fun>
Bug reports:  FAQ:
To unsubscribe, mail  Archives: