any -base
Applied to a predicate and a ByteString, any determines if any element of the ByteString satisfies the predicate.
O(n) any p t determines whether any character in the Text t satisifes the predicate p. Subject to fusion.
O(n) Applied to a predicate and a ByteString, any determines if any element of the ByteString satisfies the predicate.
This parser succeeds for any character. Returns the parsed character.
This module provides a generic infrastructure for supporting storage of hash-like items with String-to-String mappings. It can be used for in-memory or on-disk storage.
Two simple backend drivers are included with this package: one that is RAM-only, and one that is persistent and disk-backed. The hdbc-anydbm package provides another driver, which lets you use simple tables in any SQL database to provide a DBM-like interface. MissingPy also provides a Python driver which lets you use any Python anydbm driver under Haskell AnyDBM.
Version 1.0.7
The parser anyToken accepts any kind of token. It is for example used to implement eof. Returns the accepted token.
Add years, matching month and day, with Feb 29th clipped to Feb 28th if necessary. For instance, 2004-02-29 + 2 years = 2006-02-28.
Add years, matching month and day, with Feb 29th rolled over to Mar 1st if necessary. For instance, 2004-02-29 + 2 years = 2006-03-01.
Add years, matching month and day, with Feb 29th clipped to Feb 28th if necessary. For instance, 2004-02-29 + 2 years = 2006-02-28.
Add years, matching month and day, with Feb 29th rolled over to Mar 1st if necessary. For instance, 2004-02-29 + 2 years = 2006-03-01.
convert from proleptic Julian year and day format. Invalid day numbers will be clipped to the correct range (1 to 365 or 366).
convert from proleptic Julian year and day format. Invalid day numbers will return Nothing
Ganymede is an Io interpreter, originally based on Martin ""vague"" Sandin's Amalthea, which is an Io interpreter written in OCaml. There are some differences since Amalthea is based on the description of Io found in Raphael Finkel's 1996 book "Advanced Programming Language Design" (APLD), whereas Ganymede is more faithful to Raph Levien's original 1989 paper.
Version 0.0.0.5
getAnyProcessStatus blk stopped calls waitpid, returning Just (pid, tc), the ProcessID and ProcessStatus for any child process if one is available, Nothing otherwise. If blk is False, then WNOHANG is set in the options for waitpid, otherwise not. If stopped is True, then WUNTRACED is set in the options for waitpid, otherwise not.
This is the core library of the hp2any suite. It makes heap profiles available during runtime through a simple interface, optionally managing all the data in the background. It can also process archived profiler output and present it in a structured form.
Version 0.11.1
This package contains two utilities: a grapher that can display heap profiles in real time both for local and remote processes, and a relay application the grapher connects to in the latter case. Additionally, the graphing capability is exposed to other programs as well in the form of a library module.
Version 0.5.3
This is a program that can display several heap profiles at the same time in the style of a tiling window manager.
Version 0.4.5
The IPv6 wild card address.
The IPv4 wild card address.
many p applies the parser p zero or more times. Returns a list of the returned values of p.
> identifier = do{ c <- letter
> ; cs <- many (alphaNum <|> char '_')
> ; return (c:cs)
> }
many1 p applies the parser p one or more times. Returns a list of the returned values of p.
> word = many1 letter
manyTill p end applies parser p zero or more times until parser end succeeds. Returns the list of values returned by p. This parser can be used to scan comments:
> simpleComment = do{ string "<!--"
> ; manyTill anyChar (try (string "-->"))
> }
Note the overlapping parsers anyChar and string "-->", and therefore the use of the try combinator.
Send data to the socket. The socket must be in a connected state. The data is sent as if the parts have been concatenated. This function continues to send data until either all data has been sent or an error occurs. On error, an exception is raised, and there is no way to determine how much data, if any, was successfully sent.
Send data to the socket. The recipient can be specified explicitly, so the socket need not be in a connected state. The data is sent as if the parts have been concatenated. This function continues to send data until either all data has been sent or an error occurs. On error, an exception is raised, and there is no way to determine how much data, if any, was successfully sent.
show in proleptic Julian year and day format (yyyy-ddd)
skipMany p applies the parser p zero or more times, skipping its result.
> spaces = skipMany space
skipMany1 p applies the parser p one or more times, skipping its result.
convert to proleptic Julian year and day format. First element of result is year (proleptic Julian calendar), second is the day of the year, with 1 for Jan 1, and 365 (or 366 in leap years) for Dec 31.