permute :: Stream s Identity tok => StreamPermParser s st a -> Parsec s st a
parsec Text.Parsec.Perm, parsec Text.ParserCombinators.Parsec.Perm
The parser permute perm parses a permutation of parser described by perm. For example, suppose we want to parse a permutation of: an optional string of a's, the character b and an optional c. This can be described by: > test = permute (tuple <$?> ("",many1 (char 'a')) > <||> char 'b' > <|?> ('_',char 'c')) > > tuple a b c = (a,b,c)
package permute
General permutation parser combinators that will work with any parser combinator library. Version 1.0
Permute :: ArgOrder a
base System.Console.GetOpt
freely intersperse options and non-options
package PermuteEffects