Safe Haskell | None |
---|---|
Language | Haskell98 |
Documentation
type family StripPrefix lst pre :: [a] Source
StripPrefix xs `[]` = xs | |
StripPrefix (x : xs) (x : ys) = StripPrefix xs ys |
HasMonad (m (List Type e tp)) Source | |
GCompare k e => GCompare [k] (List k e) Source | |
GEq k e => GEq [k] (List k e) Source | |
GShow k e => GShow [k] (List k e) Source | |
GEq k e => Eq (List k e lst) Source | |
GCompare k e => Ord (List k e lst) Source | |
GShow k e => Show (List k e lst) Source | |
HasMonad (List Type e tp) Source | |
type MonadResult (m (List Type e tp)) = List Type e tp Source | |
type MatchMonad (m (List Type e tp)) m' = (~) (* -> *) m m' Source | |
type MonadResult (List Type e tp) = List Type e tp Source | |
type MatchMonad (List Type e tp) m = () Source |
reifyList :: (forall r'. a -> (forall tp. e tp -> r') -> r') -> [a] -> (forall tp. List e tp -> r) -> r Source
access :: Monad m => List e lst -> Natural idx -> (e (Index lst idx) -> m (a, e tp)) -> m (a, List e (Insert lst idx tp)) Source
access' :: Monad m => List e lst -> Natural idx -> (e (Index lst idx) -> m (a, e (Index lst idx))) -> m (a, List e lst) Source
mapIndexM :: Monad m => (forall n. Natural n -> e (Index lst n) -> m (e' (Index lst n))) -> List e lst -> m (List e' lst) Source
stripPrefix :: GEq e => List e lst -> List e pre -> Maybe (List e (StripPrefix lst pre)) Source
unmapM :: Monad m => List p lst -> List e (Map lst f) -> (forall x. e (f x) -> m (e x)) -> m (List e lst) Source
toListIndex :: Monad m => (forall n. Natural n -> e (Index lst n) -> m a) -> List e lst -> m [a] Source
zipWithM :: Monad m => (forall x. e1 x -> e2 x -> m (e3 x)) -> List e1 lst -> List e2 lst -> m (List e3 lst) Source
zipToListM :: Monad m => (forall x. e1 x -> e2 x -> m a) -> List e1 lst -> List e2 lst -> m [a] Source