License | BSD |
---|---|
Maintainer | sweirich@cis.upenn.edu |
Stability | experimental |
Portability | non-portable |
Safe Haskell | None |
Language | Haskell2010 |
Synopsis
- data R1 ctx a where
- Int1 :: R1 ctx Int
- Char1 :: R1 ctx Char
- Integer1 :: R1 ctx Integer
- Float1 :: R1 ctx Float
- Double1 :: R1 ctx Double
- Rational1 :: R1 ctx Rational
- IOError1 :: R1 ctx IOError
- IO1 :: Rep a => ctx a -> R1 ctx (IO a)
- Arrow1 :: (Rep a, Rep b) => ctx a -> ctx b -> R1 ctx (a -> b)
- Data1 :: DT -> [Con ctx a] -> R1 ctx a
- Abstract1 :: DT -> R1 ctx a
- Equal1 :: (Rep a, Rep b) => ctx a -> ctx b -> R1 ctx (a :~: b)
- class Sat a where
- class Rep a => Rep1 ctx a where
- getRepC :: Rep b => c b -> R b
- toR :: R1 c a -> R a
- rTup2_1 :: forall a b ctx. (Rep a, Rep b) => ctx a -> ctx b -> R1 ctx (a, b)
- rList1 :: forall a ctx. Rep a => ctx a -> ctx [a] -> R1 ctx [a]
Documentation
Int1 :: R1 ctx Int | |
Char1 :: R1 ctx Char | |
Integer1 :: R1 ctx Integer | |
Float1 :: R1 ctx Float | |
Double1 :: R1 ctx Double | |
Rational1 :: R1 ctx Rational | |
IOError1 :: R1 ctx IOError | |
IO1 :: Rep a => ctx a -> R1 ctx (IO a) | |
Arrow1 :: (Rep a, Rep b) => ctx a -> ctx b -> R1 ctx (a -> b) | |
Data1 :: DT -> [Con ctx a] -> R1 ctx a | |
Abstract1 :: DT -> R1 ctx a | |
Equal1 :: (Rep a, Rep b) => ctx a -> ctx b -> R1 ctx (a :~: b) |
Instances
Show a => Sat (ShowD a) Source # | |
Defined in Generics.RepLib.PreludeLib | |
Bounded a => Sat (BoundedD a) Source # | |
Defined in Generics.RepLib.PreludeLib | |
Ord a => Sat (OrdD a) Source # | |
Defined in Generics.RepLib.PreludeLib | |
Eq a => Sat (EqD a) Source # | |
Defined in Generics.RepLib.PreludeLib | |
Shrink a => Sat (ShrinkD a) Source # | |
Defined in Generics.RepLib.Lib | |
Enumerate a => Sat (EnumerateD a) Source # | |
Defined in Generics.RepLib.Lib dict :: EnumerateD a Source # | |
Generate a => Sat (GenerateD a) Source # | |
Defined in Generics.RepLib.Lib | |
Zero a => Sat (ZeroD a) Source # | |
Defined in Generics.RepLib.Lib | |
GSum a => Sat (GSumD a) Source # | |
Defined in Generics.RepLib.Lib | |
Lreduce b a => Sat (LreduceD b a) Source # | |
Defined in Generics.RepLib.Lib | |
Rreduce b a => Sat (RreduceD b a) Source # | |
Defined in Generics.RepLib.Lib | |
(Unify n a b, Subst n a b, Occurs n a b) => Sat (UnifySubD n a b) Source # | |
Defined in Generics.RepLib.Unify |
class Rep a => Rep1 ctx a where Source #
Instances
Rep1 ctx () Source # | |
Defined in Generics.RepLib.R1 | |
Rep1 ctx Rational Source # | |
Rep1 ctx IOError Source # | |
Rep1 ctx Double Source # | |
Rep1 ctx Float Source # | |
Rep1 ctx Integer Source # | |
Rep1 ctx Char Source # | |
Rep1 ctx Int Source # | |
Rep1 ctx Bool Source # | |
Rep1 ctx Ordering Source # | |
(Rep a, Sat (ctx a), Sat (ctx [a])) => Rep1 ctx [a] Source # | |
Defined in Generics.RepLib.R1 | |
(Rep a, Sat (ctx a)) => Rep1 ctx (IO a) Source # | |
(Rep a, Sat (ctx a)) => Rep1 ctx (Maybe a) Source # | |
Rep a => Rep1 ctx (Set a) Source # | |
(Rep a, Sat (ctx a), Rep b, Sat (ctx b)) => Rep1 ctx (a, b) Source # | |
Defined in Generics.RepLib.R1 | |
(Rep a, Rep b, Sat (ctx a), Sat (ctx b)) => Rep1 ctx (a -> b) Source # | |
Defined in Generics.RepLib.R1 | |
(Rep a, Rep b, Sat (ctx a), Sat (ctx b)) => Rep1 ctx (Either a b) Source # | |
(Rep k, Rep a) => Rep1 ctx (Map k a) Source # | |
(Rep a, Rep b, Sat (ctx a), Sat (ctx b)) => Rep1 ctx (a :~: b) Source # | |
(Rep a, Rep b, Rep c, Sat (ctx a), Sat (ctx b), Sat (ctx c)) => Rep1 ctx (a, b, c) Source # | |
Defined in Generics.RepLib.PreludeReps | |
(Rep a, Rep b, Rep c, Rep d, Sat (ctx a), Sat (ctx b), Sat (ctx c), Sat (ctx d)) => Rep1 ctx (a, b, c, d) Source # | |
Defined in Generics.RepLib.PreludeReps | |
(Rep a, Rep b, Rep c, Rep d, Rep e, Sat (ctx a), Sat (ctx b), Sat (ctx c), Sat (ctx d), Sat (ctx e)) => Rep1 ctx (a, b, c, d, e) Source # | |
Defined in Generics.RepLib.PreludeReps | |
(Rep a, Rep b, Rep c, Rep d, Rep e, Rep f, Sat (ctx a), Sat (ctx b), Sat (ctx c), Sat (ctx d), Sat (ctx e), Sat (ctx f)) => Rep1 ctx (a, b, c, d, e, f) Source # | |
Defined in Generics.RepLib.PreludeReps | |
(Rep a, Rep b, Rep c, Rep d, Rep e, Rep f, Rep g, Sat (ctx a), Sat (ctx b), Sat (ctx c), Sat (ctx d), Sat (ctx e), Sat (ctx f), Sat (ctx g)) => Rep1 ctx (a, b, c, d, e, f, g) Source # | |
Defined in Generics.RepLib.PreludeReps |