-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Haskell helper functions -- -- Helper functions for a lot of different libraries. (unstable library!) @package HsTools @version 0.0.1.1 module Debug.Trace.Tools -- | Transform lists of bounded enumerables into an index. A version for -- lists of different sizes exists as well. module Data.Ix.List -- | transform a list of bounded enumerables into an integer index. the -- first character will be least significant, the last most significant list2idx :: (Enum a, Bounded a) => [a] -> Int -- | Version for lists of different sizes. listAll2idx :: (Enum a, Bounded a) => [a] -> Int -- | same as above, but now the list is bounded (hence _b_oundedlist) by -- the user. blist2idx :: (Enum a, Bounded a) => (a, a) -> [a] -> Int module Data.Ix.Tuple instance (Ix a, Ix b, Ix c, Ix d, Ix e, Ix f, Ix g, Ix h) => Ix (a, b, c, d, e, f, g, h) instance (Ix a, Ix b, Ix c, Ix d, Ix e, Ix f, Ix g) => Ix (a, b, c, d, e, f, g) instance (Ix a, Ix b, Ix c, Ix d, Ix e, Ix f) => Ix (a, b, c, d, e, f)