[Haskell-cafe] Question on definition of `parse' function in Parsec library.
capn.freako at gmail.com
Sat Oct 8 16:04:52 CEST 2011
In this definition from the Parsec library:
parse :: (Stream s Identity t) => Parsec s () a -> SourceName ->
s -> Either ParseError aparse p = runP p ()
what's the significance of `Identity t'?
(`t' isn't used anywhere.)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe