utility-ht-0.0.5.1: Various small helper functions for Lists, Maybes, Tuples, Functions
Source code
Contents
Index
Text.Read.HT
Synopsis
readsInfixPrec
:: (
Read
a,
Read
b) =>
String
->
Int
->
Int
-> (a -> b -> c) ->
ReadS
c
(.>)
::
ReadS
(b -> c) ->
ReadS
b ->
ReadS
c
readMany
::
Read
a =>
String
-> [a]
maybeRead
::
Read
a =>
String
->
Maybe
a
Documentation
readsInfixPrec
:: (
Read
a,
Read
b) =>
String
->
Int
->
Int
-> (a -> b -> c) ->
ReadS
c
Source
Parse a string containing an infix operator.
(.>)
::
ReadS
(b -> c) ->
ReadS
b ->
ReadS
c
Source
Compose two parsers sequentially.
readMany
::
Read
a =>
String
-> [a]
Source
maybeRead
::
Read
a =>
String
->
Maybe
a
Source
Produced by
Haddock
version 2.6.0