Loading ...
Sorry, an error occurred while loading the content.

Re: "ocaml_beginners"::[] consensus sapientum

Expand Messages
  • Lukasz Stafiniak
    ... Since always... Although with new features since OCaml 3.12. http://caml.inria.fr/pub/docs/manual-ocaml/manual021.html#toc78 [Non-text portions of this
    Message 1 of 4 , Apr 21, 2013
    • 0 Attachment
      On Mon, Apr 22, 2013 at 2:25 AM, Francois Berenger <berenger@...>wrote:

      > **
      >
      >
      > On 04/20/2013 06:00 AM, Gabriel Scherer wrote:
      > >
      > > Records are built with the { foo = ... ; bar = ... } notation, and
      > > deconstructed by field projection r.foo, or pattern matching (match x
      > > with { foo = p; ... } -> ...).
      >
      > Hello,
      >
      > Since when is it possible to do pattern matching on records?
      >
      > I thought a syntax extension was needed for this (some janestreet one).
      >
      >
      Since always... Although with new features since OCaml 3.12.
      http://caml.inria.fr/pub/docs/manual-ocaml/manual021.html#toc78


      [Non-text portions of this message have been removed]
    Your message has been successfully submitted and would be delivered to recipients shortly.