sized-0.3.0.0: Sized sequence data-types

Safe HaskellNone
LanguageHaskell2010

Data.Sized.Builtin

Description

This module exports Sized type specialized to GHC's built-in type numeral Nat.

Documentation

type Ordinal (n :: Nat) = Ordinal n Source #

type Sized f (n :: Nat) = Sized f n Source #

module Data.Sized

pattern (:<) :: forall f (n :: Nat) a. ListLike (f a) a => forall (n1 :: Nat). (n ~ Succ n1, SingI n1) => a -> Sized f n1 a -> Sized f n a infixr 5 Source #

pattern NilL :: forall f (n :: Nat) a. ListLike (f a) a => n ~ 0 => Sized f n a Source #

pattern (:>) :: forall f (n :: Nat) a. ListLike (f a) a => forall (n1 :: Nat). (n ~ Succ n1, SingI n1) => Sized f n1 a -> a -> Sized f n a infixl 5 Source #

pattern NilR :: forall f (n :: Nat) a. (ListLike (f a) a, SingI n) => n ~ 0 => Sized f n a Source #