Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Constrained.Core
Contents
Documentation
Instances
Rename Pred Source # | |
Rename Name Source # | |
Rename () Source # | |
Rename (Binder a) Source # | |
Rename (Term a) Source # | |
Typeable a ⇒ Rename (Var a) Source # | |
(Ord a, Rename a) ⇒ Rename (Set a) Source # | |
(Functor t, Rename a) ⇒ Rename (t a) Source # | |
(Rename a, Rename b) ⇒ Rename (a, b) Source # | |
Rename (f a) ⇒ Rename (Weighted f a) Source # | |
(∀ a. Rename (f a)) ⇒ Rename (List f as) Source # | |
Constructors
a :| [a] |
Instances
MonadFix NonEmpty | |
Defined in Control.Monad.Fix | |
Foldable NonEmpty | |
Defined in Data.Foldable Methods fold ∷ Monoid m ⇒ NonEmpty m → m foldMap ∷ Monoid m ⇒ (a → m) → NonEmpty a → m foldMap' ∷ Monoid m ⇒ (a → m) → NonEmpty a → m foldr ∷ (a → b → b) → b → NonEmpty a → b foldr' ∷ (a → b → b) → b → NonEmpty a → b foldl ∷ (b → a → b) → b → NonEmpty a → b foldl' ∷ (b → a → b) → b → NonEmpty a → b foldr1 ∷ (a → a → a) → NonEmpty a → a foldl1 ∷ (a → a → a) → NonEmpty a → a elem ∷ Eq a ⇒ a → NonEmpty a → Bool maximum ∷ Ord a ⇒ NonEmpty a → a | |
Eq1 NonEmpty | |
Defined in Data.Functor.Classes | |
Ord1 NonEmpty | |
Defined in Data.Functor.Classes Methods liftCompare ∷ (a → b → Ordering) → NonEmpty a → NonEmpty b → Ordering | |
Read1 NonEmpty | |
Defined in Data.Functor.Classes Methods liftReadsPrec ∷ (Int → ReadS a) → ReadS [a] → Int → ReadS (NonEmpty a) liftReadList ∷ (Int → ReadS a) → ReadS [a] → ReadS [NonEmpty a] liftReadPrec ∷ ReadPrec a → ReadPrec [a] → ReadPrec (NonEmpty a) liftReadListPrec ∷ ReadPrec a → ReadPrec [a] → ReadPrec [NonEmpty a] | |
Show1 NonEmpty | |
Defined in Data.Functor.Classes Methods liftShowsPrec ∷ (Int → a → ShowS) → ([a] → ShowS) → Int → NonEmpty a → ShowS liftShowList ∷ (Int → a → ShowS) → ([a] → ShowS) → [NonEmpty a] → ShowS | |
Traversable NonEmpty | |
Applicative NonEmpty | |
Functor NonEmpty | |
Monad NonEmpty | |
Generic1 NonEmpty | |
Lift a ⇒ Lift (NonEmpty a ∷ Type) | |
Arbitrary a ⇒ Arbitrary (NonEmpty a) Source # | |
Semigroup (NonEmpty a) | |
IsList (NonEmpty a) | |
Generic (NonEmpty a) | |
Read a ⇒ Read (NonEmpty a) | |
Show a ⇒ Show (NonEmpty a) | |
Eq a ⇒ Eq (NonEmpty a) | |
Ord a ⇒ Ord (NonEmpty a) | |
Defined in GHC.Base | |
Pretty a ⇒ Pretty (NonEmpty a) | |
type Rep1 NonEmpty | |
Defined in GHC.Generics type Rep1 NonEmpty = D1 ('MetaData "NonEmpty" "GHC.Base" "base" 'False) (C1 ('MetaCons ":|" ('InfixI 'LeftAssociative 9) 'False) (S1 ('MetaSel ('Nothing ∷ Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) Par1 :*: S1 ('MetaSel ('Nothing ∷ Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec1 []))) | |
type Item (NonEmpty a) | |
type Rep (NonEmpty a) | |
Defined in GHC.Generics type Rep (NonEmpty a) = D1 ('MetaData "NonEmpty" "GHC.Base" "base" 'False) (C1 ('MetaCons ":|" ('InfixI 'LeftAssociative 9) 'False) (S1 ('MetaSel ('Nothing ∷ Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 a) :*: S1 ('MetaSel ('Nothing ∷ Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [a]))) |
unionWithMaybe ∷ (a → a → a) → Maybe a → Maybe a → Maybe a Source #