This parser only succeeds at the end of the input. This is not a primitive parser but it is defined using notFollowedBy.
> eof = notFollowedBy anyToken <?> "end of input"
Get a TimeOfDay given the fraction of a day since midnight.
Convert a ToD in some timezone to a ToD in UTC, together with a day adjustment.
As the dual of oneOf, noneOf cs succeeds if the current character not in the supplied list of characters cs. Returns the parsed character.
> consonant = noneOf "aeiou"
oneOf cs succeeds if the current character is in the supplied list of characters cs. Returns the parsed character. See also satisfy.
> vowel = oneOf "aeiou"
Randomly uses one of the given generators. The input list must be non-empty.
Anonymous coproduct type (generalization of Either to choices among other than 2 cases)
Computes the storage requirements (in bytes) of the given SockAddr. This function differs from sizeOf in that the value of the argument is used.
Computes the storage requirements (in bytes) required for a SockAddr with the given Family.
Time of day as represented in hour, minute and second (with picoseconds), typically used to express local time of day.
Get the fraction of a day since midnight given a TimeOfDay.
Find out how much time since midnight a given TimeOfDay is.
Get a TimeOfDay given a time since midnight. Time more than 24h will be converted to leap-seconds.
Text representing the offset of this timezone, such as "-0800" or "+0400" (like %z in formatTime)
Text representing the offset of this timezone, such as "-0800" or "+0400" (like %z in formatTime), with arbitrary padding
A script to infer and insert type declarations in Haskell source, callable from your editor. Bindings exist to emacs and vim.
Show more results