Safe Haskell | None |
---|---|
Language | Haskell2010 |
Inj
instances for types from base
.
Orphan instances
Real p => Inj p Double Source # | Injective only if the number is representable as |
Real p => Inj p Float Source # | Injective only if the number is representable as |
Integral p => Inj p WordPtr Source # | |
Integral p => Inj p IntPtr Source # | |
Integral p => Inj p Word64 Source # | |
Integral p => Inj p Word32 Source # | |
Integral p => Inj p Word16 Source # | |
Integral p => Inj p Word8 Source # | |
Integral p => Inj p Word Source # | |
Integral p => Inj p Int64 Source # | |
Integral p => Inj p Int32 Source # | |
Integral p => Inj p Int16 Source # | |
Integral p => Inj p Int8 Source # | |
Integral p => Inj p Int Source # | |
Integral p => Inj p Natural Source # | Throws |
Integral p => Inj p Integer Source # | |
Inj p a => Inj p (Par1 a) Source # | |
Inj p a => Inj p (Min a) Source # | |
Inj p a => Inj p (Max a) Source # | |
Inj p a => Inj p (First a) Source # | |
Inj p a => Inj p (Last a) Source # | |
Inj p a => Inj p (Option a) Source # | |
Inj p a => Inj p (ZipList a) Source # | |
Inj p a => Inj p (Identity a) Source # | |
Inj p a => Inj p (STM a) Source # | |
Inj p a => Inj p (First a) Source # | |
Inj p a => Inj p (Last a) Source # | |
Inj p a => Inj p (Dual a) Source # | |
Inj p a => Inj p (Sum a) Source # | |
Inj p a => Inj p (Product a) Source # | |
Inj p a => Inj p (Down a) Source # | |
Inj p a => Inj p (ReadPrec a) Source # | |
Inj p a => Inj p (ReadP a) Source # | |
Inj p a => Inj p (NonEmpty a) Source # | |
Inj p a => Inj p (IO a) Source # | |
Inj p a => Inj p (Maybe a) Source # | |
Inj p a => Inj p [a] Source # | |
(Num a, Inj p a) => Inj p (Complex a) Source # | |
(HasResolution res, Real p) => Inj p (Fixed res) Source # | Throws |
(Inj Integer a, Real p) => Inj p (Ratio a) Source # | |
Inj p a => Inj p (r -> a) Source # | |
Inj p a => Inj p (ST s a) Source # | |
(TypeError ((((((Text "Refusing to decide whether to inject " :<>: ShowType p) :<>: Text " into 'fst' ") :<>: ShowType x) :<>: Text " or 'snd' ") :<>: ShowType y) :$$: (((Text "in the " :<>: ShowType Inj) :<>: Text " instance for ") :<>: ShowType (,))) :: Constraint) => Inj p (x, y) Source # | |
(TypeError ((((((Text "Refusing to decide whether to inject " :<>: ShowType p) :<>: Text " into 'Left' ") :<>: ShowType x) :<>: Text " or 'Right' ") :<>: ShowType y) :$$: (((Text "in the " :<>: ShowType Inj) :<>: Text " instance for ") :<>: ShowType Either)) :: Constraint) => Inj p (Either x y) Source # | |
Inj p (f a) => Inj p (Rec1 f a) Source # | |
Inj p a => Inj p (K1 i a x) Source # | |
Inj p (f (g a)) => Inj p ((f :.: g) a) Source # | |
Inj p (f a) => Inj p (M1 i c f a) Source # | |
Inj p (f (g a)) => Inj p (Compose f g a) Source # | |