Tuple +Data.NumInstances

package tuple
package
Various useful functions on tuples, overloaded on tuple size. Version 0.2.0.1
package tuple-gen
package
Generating tuples like this: [(x, y) | x <- [1..], y <- [1..]] generates tuples that change only in the second position. This library uses increasingly bigger hyperplanes to generate tuples. It uses the Enum instances that are also used in the Prelude. Thereby tuples with arbitrary starting values and types can be enumerated. Example:  ( enumFrom (0,(1,2),3) ) :: [(Word8,(Word8,Word8),Word8)] evaluates to [(0,(1,2),3), (0,(2,1),4), (0,(3,0),5), ...]. Further explanations are planned to appear in the Monad Reader issue 20. Version 2.0
package tuple-hlist
package
Functions to convert between tuples and HLists, overloaded on tuple size. Version 0.1.0.8
package tuple-lenses
package
This package provides some stock lenses for swizzling tuple elements. For instance: > > (1,2,3)^._13 > (1, 3) The package provide all lenses that are in increasing order, for FieldN classes 1-9. If you want to swap the order or permute the elements, you need to make your own. Custom combos are provided by a Template Haskell function. > > ('a','b','c','d') ^. $(tl [4,1,2,3]) > ('d','a','b','c') Version 0.1.0.2
package tuple-th
package
Template Haskell functions for generating functions similar to those in Data.List for tuples of statically known size. Version 0.2.4
package tupleinstances
package
Functor, Applicative and Monad for n-ary tuples. Version 0.0.1
package tuples-homogenous-h98
package
Provides newtype wrappers for n-ary homogenous tuples of types (a,...,a) and instances for Functor, Applicative (zipping), Monad, Foldable and Traversable. The package aims to be Haskell98 compliant. Version 0.1.1.0
package adaptive-tuple
package
Self optimizing tuple types. Adaptive tuples are tuple types in which the number of elements is determined at run-time.  These structures are designed to combine the space-efficiency of tuples with the size flexibility of lists. Adaptive tuples provide lazy and strict, unpacked data structures for all tuple sizes from 0 to 20 elements.  Adaptive tuples of more than 20 elements are allowed, however they are stored in an ordinary list. Version 0.2.0
package hdbc-tuple
package
Type save tuples for HDBC Version 0.0.1
package OneTuple
package
Singleton Tuple Version 0.2.1
package storable-tuple
package
Provides a Storable instance for pair and triple which should be binary compatible with C99 and C++. The only purpose of this package is to provide a standard location for this instance so that other packages needing this instance can play nicely together. Version 0.0.2