List +Data -syb

module Data.List
base Data.List
Operations on lists.
package List
package
A List monad transformer and a List class. With standard list operations for Lists Version 0.5.1
package ListLike
package
Generic support for list-like structures in Haskell. The ListLike module provides a common interface to the various Haskell types that are list-like.  Predefined interfaces include standard Haskell lists, Arrays, ByteStrings, and lazy ByteStrings. Custom types can easily be made ListLike instances as well. ListLike also provides for String-like types, such as String and ByteString, for types that support input and output, and for types that can handle infinite lists. Version 4.0.2
package ListTree
package
Directory tree structure expressed as a monadic tree. Searching, pruning, iterating, and processing trees. Version 0.2.1
package ListZipper
package
List zipper with O(1) get element at cursor, insert at cursor, delete at cursor, move right, and move left operations. Version 1.2.0.2
listToMaybe :: [a] -> Maybe a
base Data.Maybe
The listToMaybe function returns Nothing on an empty list or Just a of the list.
package list-extras
package
Common not-so-common functions for lists. Since Data.List.Extras is prime realestate for extensions to Data.List, if you have something you'd like to contribute feel free to contact the maintainer (I'm friendly). I'm amenable to adopting code if you think your functions aren't enough for a package on their own. Or if you would rather maintain a separate package I can share the Data.List.Extras.Foo namespace. Version 0.4.1.1
package list-grouping
package
Functions for grouping a list into sublists based on predicate or integer offsets. NOTE: THIS MODULE IS DEPRECATED. PLEASE TRY THE split PACKAGE INSTEAD http:hackage.haskell.orgpackagesplit-0.1.3 Grouping a list based on integer offsets: > splitEvery 3 [1..10]  ==  [[1,2,3],[4,5,6],[7,8,9],[10]] > splitWith [1,3,1,3] [1..10]  ==  [[1],[2,3,4],[5],[6,7,8],[9,10]] > splitWithDrop [1,3,1,3] [1..10]  ==  [[1],[2,3,4],[5],[6,7,8]] Grouping based on a predicate: > breakBefore odd [2..9]  ==  [[2],[3,4],[5,6],[7,8],[9]] > breakAfter odd [2..9]  ==  [[2,3],[4,5],[6,7],[8,9]] > breakDrop odd [0,0,0,1,0,1,1,0,0]  ==  [[0,0,0],[0],[0,0]] Please send me any comments, requests or bug reports Version 0.1.1
package list-mux
package
Functions for multiplexing lists Version 1.0
package list-tries
package
This library provides implementations of finite sets and maps for list keys using tries, both simple and of the Patricia kind. In most (or all? sorry, haven't benchmarked yet) cases, the Patricia tries will have better performance, so use them unless you have reasons not to. The data types are parametrized over the map type they use internally to store the child nodes: this allows extending them to support different kinds of key types or increasing efficiency. Child maps are required to be instances of the Map class in Data.ListTrie.Base.Map. Some operations additionally require an OrdMap instance. The Eq, Ord, and Enum modules contain ready structures for key types which are instances of those classes, using lists of pairs, Data.Map, and Data.IntMap respectively. Version 0.5.1
listArray :: (IArray a e, Ix i) => (i, i) -> [e] -> a i e
array Data.Array.IArray
Constructs an immutable array from a list of initial elements. The list gives the elements of the array in ascending order beginning with the lowest index.
listArray :: Ix i => (i, i) -> [e] -> Array i e
array Data.Array
Construct an array from a pair of bounds and a list of values in index order.
package listlike-instances
package
Provides ListLike instances for Vector and Text types Version 0.2.3.1
package lists
package
Functions for dealing with lists Version 0.4.2
fromList :: 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.
maybeToList :: Maybe a -> [a]
base Data.Maybe
The maybeToList function returns an empty list when given Nothing or a singleton list when not given Nothing.
toList :: HashTable key val -> IO [(key, val)]
base Data.HashTable
Converts a hash table to a list of key/value pairs.
toList :: Foldable t => t a -> [a]
base Data.Foldable
List of elements of a structure.
package arrow-list
package
This small Haskell library provides some type class, types and functions to work with list (and list-like) arrows. List arrows represent computations that may return multiple outputs. Making functions that return lists an instance of both the `Category` and `Arrow` type class allow you to easily compose multiple computations into one with standard building blocks. Version 0.6.1
package capped-list
package

Show more results