Generic

genericDrop :: Integral i => i -> [a] -> [a]
base Data.List
The genericDrop function is an overloaded version of drop, which accepts any Integral value as the number of elements to drop.
genericIndex :: Integral a => [b] -> a -> b
base Data.List
The genericIndex function is an overloaded version of !!, which accepts any Integral value as the index.
genericLength :: Num i => [b] -> i
base Data.List
The genericLength function is an overloaded version of length. In particular, instead of returning an Int, it returns any type which is an instance of Num. It is, however, less efficient than length.
genericReplicate :: Integral i => i -> a -> [a]
base Data.List
The genericReplicate function is an overloaded version of replicate, which accepts any Integral value as the number of repetitions to make.
genericSplitAt :: Integral i => i -> [b] -> ([b], [b])
base Data.List
The genericSplitAt function is an overloaded version of splitAt, which accepts any Integral value as the position at which to split.
genericTake :: Integral i => i -> [a] -> [a]
base Data.List
The genericTake function is an overloaded version of take, which accepts any Integral value as the number of elements to take.
module Data.Generics
syb Data.Generics
"Scrap your boilerplate" --- Generic programming in Haskell See http://www.cs.uu.nl/wiki/GenericProgramming/SYB. To scrap your boilerplate it is sufficient to import the present module, which simply re-exports all themes of the Data.Generics library.
Generic :: FPFormat
text Data.Text.Lazy.Builder.RealFloat
Use decimal notation for values between 0.1 and 9,999,999, and scientific notation otherwise.
type Generic c = forall a. Data a => a -> c a
syb Data.Generics.Aliases
The general scheme underlying generic functions assumed by gfoldl; there are isomorphisms such as GenericT = Generic T.
Generic' :: Generic c -> Generic' c
syb Data.Generics.Aliases
data Generic' c
syb Data.Generics.Aliases
Wrapped generic functions; recall: [Generic c] would be legal but [Generic' c] not.
package generic-binary
package
Generic Data.Binary derivation using GHC generics. Version 1.0.1
package generic-deepseq
package
This package provides a deepseq function analogous to seq, except that it traverses the entire data structure, evaluating it fully, and not just up to head normal form. Using lists as an example: > > [1,2,undefined] `seq` 3 > 3 Whereas with deepseq: > > [1,2,undefined] `deepseq` 3 > *** Exception: Prelude.undefined Unlike the deepseq package, this implementation is based on the GHC.Generics framework as found in GHC >= 7.2, so that it can generate instances automatically for any datatype that has a Generic instance, without further code. > data MyType = MyType String Int (Maybe Double) > deriving Generic > instance DeepSeq MyType Changes in version 2.0.0.0: * Vastly improved performance. As a consequence of these changes, the member function of the DeepSeq class is now rnf, instead of deepseq. * New instances for functions, Ratio and Complex types. Changes in version 2.0.1.0: * Fix the U1 and V1 instances. Changes in version 2.0.1.1: * No functional changes, updated to correct the URLs of the repository and the issue tracker. Version 2.0.1.1
package generic-deriving
package
This package provides functionality for generalizing the deriving mechanism in Haskell to arbitrary classes. It was first described in the paper: * A generic deriving mechanism for Haskell. Jose Pedro Magalhaes, Atze Dijkstra, Johan Jeuring, and Andres Loeh. Haskell'10. The current implementation integrates with the new GHC Generics. See http://www.haskell.org/haskellwiki/Generics for more information. Template Haskell code is provided for supporting GHC before version 7.2. Version 1.0.3
package generic-server
package
This package implements simple generic multithread TCP/IP server. It can be used in two ways. First, one can simply call genericServer function. Or one can declare an instance of Server class and then run server function. Version 0.1
package generic-storable
package
Generic implementation of Storable Version 0.1.0.0
package generic-tree
package
Generic tree type Version 15329.2
package generic-xml
package
Marshalling Haskell values to/from XML. Version 0.1
type GenericB = forall a. Data a => a
syb Data.Generics.Aliases
Generic builders i.e., produce an "a".
type GenericM m = forall a. Data a => a -> m a
syb Data.Generics.Aliases
Generic monadic transformations, i.e., take an "a" and compute an "a"

Show more results