Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
Class for nil, []
See test-suite for ways to define instances for Map
.
There are at-least two-ways.
Instances
Nil IntSet Source # | Since: 0.1.3 |
Defined in Overloaded.Lists | |
Nil [a] Source # | |
Defined in Overloaded.Lists | |
Nil (IntMap v) Source # | Since: 0.2 |
Defined in Overloaded.Lists | |
Nil (Seq a) Source # | Since: 0.2 |
Defined in Overloaded.Lists | |
Nil (Set a) Source # | Since: 0.1.3 |
Defined in Overloaded.Lists | |
Nil (RAList a) Source # | |
Defined in Overloaded.Lists | |
Nil (Map k v) Source # | Since: 0.2 |
Defined in Overloaded.Lists | |
b ~ 'BZ => Nil (RAVec b a) Source # | |
Defined in Overloaded.Lists | |
n ~ 'Z => Nil (Vec n a) Source # | |
Defined in Overloaded.Lists | |
xs ~ ('[] :: [k]) => Nil (NP f xs) Source # | |
Defined in Overloaded.Lists | |
xs ~ ('[] :: [[k]]) => Nil (POP f xs) Source # | |
Defined in Overloaded.Lists |
class Cons x ys zs | zs -> x ys where Source #
Class for Cons :
.
Instances
Cons Int IntSet IntSet Source # | Since: 0.1.3 |
(a ~ b, a ~ c) => Cons a (RAList b) (NERAList c) Source # | |
(a ~ b, a ~ c) => Cons a (RAList b) (RAList c) Source # | |
(a ~ b, b ~ c) => Cons a (Seq b) (Seq c) Source # | Since: 0.2 |
(Ord a, a ~ b, b ~ c) => Cons a (Set b) (Set c) Source # | Since: 0.1.3 |
(a ~ b, b ~ c) => Cons a [b] (NonEmpty c) Source # | |
Defined in Overloaded.Lists | |
(a ~ b, b ~ c) => Cons a [b] [c] Source # | |
Defined in Overloaded.Lists | |
(bp ~ Pred b, b ~ Succ' bp) => Cons a (RAVec bp a) (NERAVec b a) Source # | |
(b ~ 'BP bb, bp ~ Pred bb, bb ~ Succ' bp) => Cons a (RAVec bp a) (RAVec b a) Source # | |
(a ~ b, b ~ c, m ~ 'S n) => Cons a (Vec n b) (Vec m c) Source # | |
(f ~ g, g ~ h, xxs ~ (x ': xs)) => Cons (f x) (NP g xs) (NP h xxs) Source # | |
(i ~ Int, a ~ b, b ~ c) => Cons (i, a) (IntMap b) (IntMap c) Source # | Since: 0.2 |
(Ord k, k ~ k1, k ~ k2, v ~ v1, v ~ v2) => Cons (k, v) (Map k1 v1) (Map k2 v2) Source # | Since: 0.2 |
(f ~ g, g ~ h, xsxss ~ (xs ': xss)) => Cons (NP f xs) (POP g xss) (POP h xsxss) Source # | |