Re: about labels
Gabriel Scherer <[email protected]>
| Newsgroups | gmane.comp.lang.ocaml.beginners |
|---|---|
| Message-ID | <CAPFanBEksPaSkJtZAJ5yCKEytaCb4fU7p3SWAG8QX-PBQ1tSPQ@mail.gmail.com> |
Yes ! A label ~foo without the value always mean ~foo:foo, just like in a
record, { x; y = ... } means { x = x; y = ... }.
On Tue, Jan 7, 2014 at 3:12 AM, Francois Berenger <[email protected]> wrote:
> Is ~f the same as ~f:f in case there is an f in the scope?
>
> --
> Best regards,
> Francois Berenger.
>
>
> ------------------------------------
>
> 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.Yahoo Groups Links
>
>
>
>