> On Tue, May 22, 2012 at 4:13 PM, John Simon <zildjoh...@gmail.com> wrote:
>
>> data Lexer = Lexer String
>>
>> makeLexer :: String -> Lexer
>> makeLexer fn = Lexer fn
>
>
`makeLexer` is redundant. You can simply use `Lexer`.

L.
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to