Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Unison.Util.Defn
Documentation
A "definition" is either a term or a type.
Instances
Bifoldable Defn Source # | |
Bifunctor Defn Source # | |
Bitraversable Defn Source # | |
Defined in Unison.Util.Defn Methods bitraverse :: Applicative f => (a -> f c) -> (b -> f d) -> Defn a b -> f (Defn c d) # | |
Foldable (Defn term) Source # | |
Defined in Unison.Util.Defn Methods fold :: Monoid m => Defn term m -> m # foldMap :: Monoid m => (a -> m) -> Defn term a -> m # foldMap' :: Monoid m => (a -> m) -> Defn term a -> m # foldr :: (a -> b -> b) -> b -> Defn term a -> b # foldr' :: (a -> b -> b) -> b -> Defn term a -> b # foldl :: (b -> a -> b) -> b -> Defn term a -> b # foldl' :: (b -> a -> b) -> b -> Defn term a -> b # foldr1 :: (a -> a -> a) -> Defn term a -> a # foldl1 :: (a -> a -> a) -> Defn term a -> a # toList :: Defn term a -> [a] # length :: Defn term a -> Int # elem :: Eq a => a -> Defn term a -> Bool # maximum :: Ord a => Defn term a -> a # minimum :: Ord a => Defn term a -> a # | |
Traversable (Defn term) Source # | |
Defined in Unison.Util.Defn | |
Functor (Defn term) Source # | |
Generic (Defn term typ) Source # | |
(Show term, Show typ) => Show (Defn term typ) Source # | |
(Eq term, Eq typ) => Eq (Defn term typ) Source # | |
(Ord term, Ord typ) => Ord (Defn term typ) Source # | |
Defined in Unison.Util.Defn Methods compare :: Defn term typ -> Defn term typ -> Ordering # (<) :: Defn term typ -> Defn term typ -> Bool # (<=) :: Defn term typ -> Defn term typ -> Bool # (>) :: Defn term typ -> Defn term typ -> Bool # (>=) :: Defn term typ -> Defn term typ -> Bool # | |
type Rep (Defn term typ) Source # | |
Defined in Unison.Util.Defn type Rep (Defn term typ) = D1 ('MetaData "Defn" "Unison.Util.Defn" "unison-core1-0.0.0-5x4E7QrTypA36O38TyvH2g" 'False) (C1 ('MetaCons "TermDefn" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 term)) :+: C1 ('MetaCons "TypeDefn" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 typ))) |