> On Tue, May 22, 2012 at 4:13 PM, John Simon <[email protected]> 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
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to