|
Data.CappedList | Portability | portable | Maintainer | jmillikin@gmail.com |
|
|
|
Description |
A list-like type for lazy sequences, with a user-defined termination value.
This module uses common names and so is designed to be imported qualified:
import qualified Data.CappedList as CL
|
|
Synopsis |
|
|
|
Documentation |
|
|
A list-like type for lazy sequences, with a user-defined termination value.
| Constructors | | Instances | |
|
|
|
Like the standard null function.
|
|
|
Like the standard ++ function.
|
|
|
Like the standard map function.
|
|
|
Like the standard map function, but the mapping function may
return a capping value.
|
|
|
Like the standard concatMap function.
|
|
|
Like the standard foldr function, but accepting an extra
parameter to handle Cap values.
|
|
|
Like the standard foldl function, but accepting an extra
parameter to handle Cap values.
|
|
|
Like the standard Data.List.unfoldr function, but the step function
must return a cap to terminate the unfold.
|
|
|
Like the standard length function; Cap is considered
0-length.
|
|
Produced by Haddock version 2.6.0 |