> On Dec 13, 2017, at 4:37 AM, David Allsopp <dra-news@metastack.com> wrote:
>
> In terms of why you might want to be "hiding" currying, or at least making it need less immediate explanation when learning the language, consider, for example, explaining the difference between:
>
> let f x y = print_int x; print_int y in
> f 42
>
> and
>
> let f x = print_int x; print_int in
> f 42
Apart from ReasonML, this is interesting. Why do these behave differently? I don’t understand yet.
--
Caml-list mailing list. Subscription management and archives:
https://sympa.inria.fr/sympa/arc/caml-list
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs