[Haskell-cafe] Question on definition of `parse' function in Parsec library.
Captain Freako
capn.freako at gmail.com
Sat Oct 8 16:04:52 CEST 2011
Hi all,
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.)
Thanks,
-db
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20111008/f2206f2b/attachment.htm>
More information about the Haskell-Cafe
mailing list