Does F# have 'newtype' of Haskell?
问题 New Library: XParsec This question has lead to a stream-type-independent parsec implementation in F# 3.0 - inspired by FParsec, freed from CharStreams and simplified: http://corsis.github.com/XParsec/ In an FParsec-inspired stream-type-independent simple parsec implementation, I wonder how I could distinguish the following at the type level: parsers that consume a piece of stream parsers that work on the current position without moving ahead in the stream Specifically, how can I restrict in F