Instant is
off
|
Search plugin
|
Manual
|
haskell.org
List
+Data +base
Packages
base
module
Data.
List
base
Data.List
Operations on lists.
list
ToMaybe
:: [a] -> Maybe a
base
Data.Maybe
The
listToMaybe
function returns
Nothing
on an empty list or
Just
a of the list.
from
List
:: Eq key => (key -> Int32) -> [(key, val)] -> IO (HashTable key val)
base
Data.HashTable
Convert a list of key/value pairs into a hash table. Equality on keys is taken from the Eq instance for the key type.
maybeTo
List
:: Maybe a -> [a]
base
Data.Maybe
The
maybeToList
function returns an empty list when given
Nothing
or a singleton list when not given
Nothing
.
to
List
:: HashTable key val -> IO [(key, val)]
base
Data.HashTable
Converts a hash table to a list of key/value pairs.
to
List
:: Foldable t => t a -> [a]
base
Data.Foldable
List of elements of a structure.
©
Neil Mitchell
2004-2012, version 4.2.11