import public Data.Zippable
import public Control.Function
record List1 : Type -> Type
Non-empty lists.
Applicative List1
Biinjective (:::)
DecEq a => DecEq (List1 a)
Eq a => Eq (List1 a)
Foldable List1
Functor List1
Injective (\{arg:0} => x ::: {arg:0})
Injective (\{arg:0} => {arg:0} ::: ys)
Monad List1
Ord a => Ord (List1 a)
Semigroup (List1 a)
Show a => Show (List1 a)
Traversable List1
Uninhabited a => Uninhabited (List1 a)
Zippable List1
.head : List1 a -> a
head : List1 a -> a
.tail : List1 a -> List a
tail : List1 a -> List a
fromList : List a -> Maybe (List1 a)
singleton : a -> List1 a
forget : List1 a -> List a
Forget that a list is non-empty.
last : List1 a -> a
init : List1 a -> List a
foldr1By : (a -> b -> b) -> (a -> b) -> List1 a -> b
foldl1By : (b -> a -> b) -> (a -> b) -> List1 a -> b
foldr1 : (a -> a -> a) -> List1 a -> a
foldl1 : (a -> a -> a) -> List1 a -> a
length : List1 a -> Nat
appendl : List1 a -> List a -> List1 a
(++) : List1 a -> List1 a -> List1 a
lappend : List a -> List1 a -> List1 a
cons : a -> List1 a -> List1 a
snoc : List1 a -> a -> List1 a
unsnoc : List1 a -> (List a, a)
reverseOnto : List1 a -> List a -> List1 a
reverse : List1 a -> List1 a
filter : (a -> Bool) -> List1 a -> Maybe (List1 a)