utility-ht-0.0.9: Various small helper functions for Lists, Maybes, Tuples, Functions

Safe HaskellSafe-Inferred

Text.Read.HT

Synopsis

Documentation

readsInfixPrec :: (Read a, Read b) => String -> Int -> Int -> (a -> b -> c) -> ReadS c

Parse a string containing an infix operator.

(.>) :: ReadS (b -> c) -> ReadS b -> ReadS c

Compose two parsers sequentially.

readMany :: Read a => String -> [a]

maybeRead :: Read a => String -> Maybe a