Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- type FT = F' Reference
- type FD = F' (Reference' Text (Maybe Hash))
- data F' r a
- type TypeT v = Term FT v ()
- type TypeD v = Term FD v ()
- type TypeR r v = Term (F' r) v ()
- rmap :: Ord v => (r -> r') -> Term (F' r) v a -> Term (F' r') v a
- rmapM :: (Ord v, Monad f) => (r -> f r') -> Term (F' r) v a -> f (Term (F' r') v a)
- typeD2T :: Ord v => Hash -> TypeD v -> TypeT v
- dependencies :: (Ord v, Ord r) => Term (F' r) v a -> Set r
Documentation
type FD = F' (Reference' Text (Maybe Hash)) Source #
For potentially recursive types, like those in DataDeclaration
Instances
Foldable (F' r) Source # | |
Defined in U.Codebase.Type fold :: Monoid m => F' r m -> m # foldMap :: Monoid m => (a -> m) -> F' r a -> m # foldMap' :: Monoid m => (a -> m) -> F' r a -> m # foldr :: (a -> b -> b) -> b -> F' r a -> b # foldr' :: (a -> b -> b) -> b -> F' r a -> b # foldl :: (b -> a -> b) -> b -> F' r a -> b # foldl' :: (b -> a -> b) -> b -> F' r a -> b # foldr1 :: (a -> a -> a) -> F' r a -> a # foldl1 :: (a -> a -> a) -> F' r a -> a # elem :: Eq a => a -> F' r a -> Bool # maximum :: Ord a => F' r a -> a # | |
Traversable (F' r) Source # | |
Functor (F' r) Source # | |
(Show r, Show a) => Show (F' r a) Source # | |
(Eq r, Eq a) => Eq (F' r a) Source # | |
(Ord r, Ord a) => Ord (F' r a) Source # | |