Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
A mere approximation of the natural numbers. And their image as lifted by
-XDataKinds
corresponds to the actual natural numbers.
type family RIndex (r :: k) (rs :: [k]) :: Nat where ... Source #
A partial relation that gives the index of a value in a list.
type family RImage (rs :: [k]) (ss :: [k]) :: [Nat] where ... Source #
A partial relation that gives the indices of a sublist in a larger list.
type family RecAll (f :: u -> *) (rs :: [u]) (c :: * -> Constraint) :: Constraint where ... Source #
A constraint-former which applies to every field in a record.