Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: skaller <skaller@users.sourceforge.net>
To: Jeremy Yallop <jeremy.yallop@ed.ac.uk>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] pm variant type question
Date: Fri, 24 Aug 2007 20:23:32 +1000	[thread overview]
Message-ID: <1187951012.9885.3.camel@rosella.wigram> (raw)
In-Reply-To: <46CEAF76.20006@ed.ac.uk>

On Fri, 2007-08-24 at 11:14 +0100, Jeremy Yallop wrote:
> skaller wrote:
> > type 'a regexp_t' =
> >   [
> >   | `REGEXP_seq of 'a regexp_t' * 'a regexp_t' (** concatenation *)
> >   | `REGEXP_alt of 'a regexp_t' * 'a regexp_t' (** alternation *)
> >   | `REGEXP_aster of 'a regexp_t'  (** Kleene closure *)
> >   | `REGEXP_string of string   (** concatenation of chars of string *)
> >   | `REGEXP_epsilon            (** epsilon: null string *)
> >   ]
> 
> If I understand rightly, then this should be
> 
>    type 'a regexp_t' =
>      [
>      | `REGEXP_seq of 'a * 'a (** concatenation *)
>      | `REGEXP_alt of 'a * 'a (** alternation *)
>      | `REGEXP_aster of 'a  (** Kleene closure *)
>      | `REGEXP_string of string   (** concatenation of chars of string *)
>      | `REGEXP_epsilon            (** epsilon: null string *)
>      ]

Ouch .. yes of course. Thanks! Can't see the wood for the trees ..


-- 
John Skaller <skaller at users dot sf dot net>
Felix, successor to C++: http://felix.sf.net


      reply	other threads:[~2007-08-24 10:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-24  5:01 skaller
2007-08-24 10:14 ` [Caml-list] " Jeremy Yallop
2007-08-24 10:23   ` skaller [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1187951012.9885.3.camel@rosella.wigram \
    --to=skaller@users.sourceforge.net \
    --cc=caml-list@inria.fr \
    --cc=jeremy.yallop@ed.ac.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox