Stephane Bortzmeyer <[EMAIL PROTECTED]> writes:
> On Tue, Sep 05, 2006 at 04:17:41PM +0200,
> Stephane Bortzmeyer <[EMAIL PROTECTED]> wrote
> a message of 25 lines which said:
>
> > I'm trying to use Parsec for a language which have identifiers where
> > the '-' character is allowed only insid
On Tue, Sep 05, 2006 at 04:17:41PM +0200,
Stephane Bortzmeyer <[EMAIL PROTECTED]> wrote
a message of 25 lines which said:
> I'm trying to use Parsec for a language which have identifiers where
> the '-' character is allowed only inside identifiers, not at the
> start or the end.
[My grammar wa
On Tue, Sep 05, 2006 at 03:46:16PM +0100,
Chris Kuklewicz <[EMAIL PROTECTED]> wrote
a message of 69 lines which said:
> Fixing this may be as simple as
>
> > identifier = try $ do
> > start <- letter
> > rest <- many (alphaNum <|> char '-')
> > end <- letter
> > return ([start]