Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
- class IndexedListLiterals (input :: Type) (length :: Nat) (output :: Type) | output length -> input, input -> output length where
- type ILL = IndexedListLiterals
- module Data.Tuple.OneTuple
- data ZeroTuple a = ZeroTuple
Documentation
class IndexedListLiterals (input :: Type) (length :: Nat) (output :: Type) | output length -> input, input -> output length where Source #
A type class which allows you to write tuples which can be transformed into a list the length of the list is also provided as a Nat
IndexedListLiterals (OneTuple a) 1 a Source # | |
IndexedListLiterals (a, a) 2 a Source # | |
IndexedListLiterals (ZeroTuple Type a) 0 a Source # | |
IndexedListLiterals (a, a, a) 3 a Source # | |
IndexedListLiterals (a, a, a, a) 4 a Source # | |
IndexedListLiterals (a, a, a, a, a) 5 a Source # | |
IndexedListLiterals (a, a, a, a, a, a) 6 a Source # | |
IndexedListLiterals (a, a, a, a, a, a, a) 7 a Source # | |
IndexedListLiterals (a, a, a, a, a, a, a, a) 8 a Source # | |
IndexedListLiterals (a, a, a, a, a, a, a, a, a) 9 a Source # | |
IndexedListLiterals (a, a, a, a, a, a, a, a, a, a) 10 a Source # | |
IndexedListLiterals (a, a, a, a, a, a, a, a, a, a, a) 11 a Source # | |
IndexedListLiterals (a, a, a, a, a, a, a, a, a, a, a, a) 12 a Source # | |
IndexedListLiterals (a, a, a, a, a, a, a, a, a, a, a, a, a) 13 a Source # | |
IndexedListLiterals (a, a, a, a, a, a, a, a, a, a, a, a, a, a) 14 a Source # | |
IndexedListLiterals (a, a, a, a, a, a, a, a, a, a, a, a, a, a, a) 15 a Source # | |
IndexedListLiterals (a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a) 16 a Source # | |
IndexedListLiterals (a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a) 17 a Source # | |
IndexedListLiterals (a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a) 18 a Source # | |
IndexedListLiterals (a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a) 19 a Source # | |
IndexedListLiterals (a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a) 20 a Source # | |
type ILL = IndexedListLiterals Source #
An alias for IndexedListLiterals
module Data.Tuple.OneTuple