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] ++ rest ++ [end]) > > <?> "characters authorized for identifiers" It does not work for me (and neither does the second). The "try" argument always fails, probably because the term "many" on the "rest" line is greedy and swallows the ending letter. _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe