Safe Haskell | Safe |
---|---|
Language | Haskell98 |
- (@+) :: (Eq t, Eq c, Eq b, ToExpr t c b p, ToExpr t c b q) => p -> q -> Expr t c b
- (@-) :: (Eq t, Eq c, Eq b, ToExpr t c b p, ToExpr t c b q) => p -> q -> Expr t c b
- (@*) :: (Eq t, Eq c, Eq b, ToExpr t c b p, ToExpr t c b q) => p -> q -> Expr t c b
- (@/) :: (Eq t, Eq c, Eq b, ToExpr t c b p, ToExpr t c b q) => p -> q -> Expr t c b
- (@%) :: (Eq t, Eq c, Eq b, ToExpr t c b p, ToExpr t c b q) => p -> q -> Expr t c b
- (@?) :: (Eq t, Eq c, Eq b) => BoolExpr t c b -> (Expr t c b, Expr t c b) -> Expr t c b
- (@??) :: (Eq t, Eq c, Eq b) => BoolExpr t c b -> (BoolExpr t c b, BoolExpr t c b) -> BoolExpr t c b
- (@:) :: ExprRange tt cc bb r => Expr tt cc bb -> r -> BoolExpr tt cc bb
- (!) :: (Eq t, Eq c, Eq b) => ColExpr t c b -> Expr t c b -> Expr t c b
- (@!!) :: (Eq t, Eq c, Eq b) => ColExpr t c b -> Integer -> Expr t c b
- (@++) :: (Eq t, Eq c, Eq b) => ColExpr t c b -> ColExpr t c b -> ColExpr t c b
- (@..) :: (Eq t, Eq c, Eq b) => Expr t c b -> Expr t c b -> ColExpr t c b
- size :: (Eq t, Eq c, Eq b) => ColExpr t c b -> Expr t c b
- slice :: (Eq t, Eq c, Eq b) => ColExpr t c b -> ColExpr t c b -> ColExpr t c b
- xhead :: (Eq t, Eq c, Eq b, ToColExpr t c b p) => p -> Expr t c b
- xtail :: (Eq t, Eq c, Eq b, ToColExpr t c b p) => p -> ColExpr t c b
- xmap :: (Eq t, Eq c, Eq b) => (Expr t c b -> Expr t c b) -> ColExpr t c b -> ColExpr t c b
- xfold :: (Eq t, Eq c, Eq b) => (Expr t c b -> Expr t c b -> Expr t c b) -> Expr t c b -> ColExpr t c b -> Expr t c b
- list :: (Eq t, Eq c, Eq b) => [Expr t c b] -> ColExpr t c b
- channel :: (Eq t, Eq c, Eq b) => BoolExpr t c b -> Expr t c b
- xsum :: (Num (Expr t c b), Eq t, Eq c, Eq b) => ColExpr t c b -> Expr t c b
- (@||) :: (ToBoolExpr s c b1 b3, ToBoolExpr s c b1 b2, Eq b1, Eq c, Eq s) => b2 -> b3 -> BoolExpr s c b1
- (@&&) :: (ToBoolExpr s c b1 b3, ToBoolExpr s c b1 b2, Eq b1, Eq c, Eq s) => b2 -> b3 -> BoolExpr s c b1
- inv :: (Eq t, Eq c, Eq b, ToBoolExpr t c b p) => p -> BoolExpr t c b
- (@/=) :: ExprClass tt cc bb a => a -> a -> BoolExpr tt cc bb
- (@>) :: (Eq t, Eq c, Eq b) => Expr t c b -> Expr t c b -> BoolExpr t c b
- (@<) :: (Eq t, Eq c, Eq b) => Expr t c b -> Expr t c b -> BoolExpr t c b
- (@>=) :: (Eq t, Eq c, Eq b) => Expr t c b -> Expr t c b -> BoolExpr t c b
- (@<=) :: (Eq t, Eq c, Eq b) => Expr t c b -> Expr t c b -> BoolExpr t c b
- (@=) :: ExprClass tt cc bb a => a -> a -> BoolExpr tt cc bb
- loopall :: (Eq t, Eq c, Eq b) => (Expr t c b, Expr t c b) -> (Expr t c b -> BoolExpr t c b) -> BoolExpr t c b
- loopany :: (Eq t, Eq c, Eq b) => (Expr t c b, Expr t c b) -> (Expr t c b -> BoolExpr t c b) -> BoolExpr t c b
- forall :: (Eq t, Eq c, Eq b) => ColExpr t c b -> (Expr t c b -> BoolExpr t c b) -> BoolExpr t c b
- forany :: (Eq t, Eq c, Eq b) => ColExpr t c b -> (Expr t c b -> BoolExpr t c b) -> BoolExpr t c b
- data Expr t c b
- data ColExpr t c b
- data BoolExpr t c b
- class ToExpr tt cc bb t where
- class ToColExpr tt cc bb c where
- class ToBoolExpr tt cc bb b where
- sorted :: (Eq b, Eq c, Eq s) => ColExpr s c b -> BoolExpr s c b
- sSorted :: (Eq b, Eq c, Eq s) => ColExpr s c b -> BoolExpr s c b
- allDiff :: (Eq b, Eq c, Eq s) => ColExpr s c b -> BoolExpr s c b
- allDiffD :: (Eq b, Eq c, Eq s) => ColExpr s c b -> BoolExpr s c b
- class (Eq tt, Eq cc, Eq bb) => ExprClass tt cc bb a where
- class (Eq tt, Eq cc, Eq bb) => ExprRange tt cc bb r where
Documentation
(@+) :: (Eq t, Eq c, Eq b, ToExpr t c b p, ToExpr t c b q) => p -> q -> Expr t c b infixl 6 Source #
integer operators/functions | --
(@-) :: (Eq t, Eq c, Eq b, ToExpr t c b p, ToExpr t c b q) => p -> q -> Expr t c b infixl 6 Source #
(@*) :: (Eq t, Eq c, Eq b, ToExpr t c b p, ToExpr t c b q) => p -> q -> Expr t c b infixl 7 Source #
(@/) :: (Eq t, Eq c, Eq b, ToExpr t c b p, ToExpr t c b q) => p -> q -> Expr t c b infixl 7 Source #
(@%) :: (Eq t, Eq c, Eq b, ToExpr t c b p, ToExpr t c b q) => p -> q -> Expr t c b infixl 7 Source #
(@?) :: (Eq t, Eq c, Eq b) => BoolExpr t c b -> (Expr t c b, Expr t c b) -> Expr t c b infix 4 Source #
(@??) :: (Eq t, Eq c, Eq b) => BoolExpr t c b -> (BoolExpr t c b, BoolExpr t c b) -> BoolExpr t c b infix 4 Source #
(!) :: (Eq t, Eq c, Eq b) => ColExpr t c b -> Expr t c b -> Expr t c b infix 9 Source #
list operators/functions | --
xfold :: (Eq t, Eq c, Eq b) => (Expr t c b -> Expr t c b -> Expr t c b) -> Expr t c b -> ColExpr t c b -> Expr t c b Source #
(@||) :: (ToBoolExpr s c b1 b3, ToBoolExpr s c b1 b2, Eq b1, Eq c, Eq s) => b2 -> b3 -> BoolExpr s c b1 infixr 2 Source #
(@&&) :: (ToBoolExpr s c b1 b3, ToBoolExpr s c b1 b2, Eq b1, Eq c, Eq s) => b2 -> b3 -> BoolExpr s c b1 infixr 3 Source #
inv :: (Eq t, Eq c, Eq b, ToBoolExpr t c b p) => p -> BoolExpr t c b Source #
boolean operators/functions | --
loopall :: (Eq t, Eq c, Eq b) => (Expr t c b, Expr t c b) -> (Expr t c b -> BoolExpr t c b) -> BoolExpr t c b Source #
loopany :: (Eq t, Eq c, Eq b) => (Expr t c b, Expr t c b) -> (Expr t c b -> BoolExpr t c b) -> BoolExpr t c b Source #
forall :: (Eq t, Eq c, Eq b) => ColExpr t c b -> (Expr t c b -> BoolExpr t c b) -> BoolExpr t c b Source #
forany :: (Eq t, Eq c, Eq b) => ColExpr t c b -> (Expr t c b -> BoolExpr t c b) -> BoolExpr t c b Source #
Data types | --
ModelTermType ModelInt Source # | |
(Eq b, Eq a, Eq t) => ToColExpr t a b [Expr t a b] Source # | |
(Eq t, Eq c, Eq b) => ExprRange t c b (Expr t c b, Expr t c b) Source # | |
(Eq t, Eq c, Eq b) => ExprClass t c b (Expr t c b) Source # | relational operators/functions | -- |
(Eq t, Eq a, Eq b) => ToColExpr t a b (Expr t a b) Source # | |
ToExpr t a b (Expr t a b) Source # | |
FDSolver s => Term (FDInstance s) ModelInt Source # | |
(FDSolver s, EnumTerm s (FDIntTerm s)) => EnumTerm (FDInstance s) ModelInt Source # | |
Eq (EGPar -> EGPar) # | |
Ord (EGPar -> EGPar) # | |
Show (EGPar -> EGPar) # | |
(Eq t, Eq c, Eq b) => Eq (Expr t c b) Source # | |
(Ord s, Ord c, Ord b) => Ord (Expr s c b) Source # | |
(Show t, Show c, Show b) => Show (Expr t c b) Source # | |
type Help (FDInstance s) ModelInt Source # | |
type TermBaseType (FDInstance s) ModelInt Source # | |
ModelTermType ModelCol Source # | |
(Eq t, Eq c, Eq b) => ExprRange t c b (ColExpr t c b) Source # | |
(Eq t, Eq c, Eq b) => ExprClass t c b (ColExpr t c b) Source # | |
ToColExpr t a b (ColExpr t a b) Source # | |
FDSolver s => Term (FDInstance s) ModelCol Source # | |
(Eq t, Eq c, Eq b) => Eq (ColExpr t c b) Source # | |
(Ord s, Ord c, Ord b) => Ord (ColExpr s c b) Source # | |
(Show t, Show c, Show b) => Show (ColExpr t c b) Source # | |
type Help (FDInstance s) ModelCol Source # | |
ModelTermType ModelBool Source # | |
(Eq t, Eq c, Eq b) => ExprClass t c b (BoolExpr t c b) Source # | |
ToBoolExpr t a b (BoolExpr t a b) Source # | |
(Eq t, Eq a, Eq b) => ToExpr t a b (BoolExpr t a b) Source # | |
FDSolver s => Term (FDInstance s) ModelBool Source # | |
(FDSolver s, EnumTerm s (FDBoolTerm s)) => EnumTerm (FDInstance s) ModelBool Source # | |
(Eq t, Eq c, Eq b) => Eq (BoolExpr t c b) Source # | |
(Ord s, Ord c, Ord b) => Ord (BoolExpr s c b) Source # | |
(Show t, Show c, Show b) => Show (BoolExpr t c b) Source # | |
type Help (FDInstance s) ModelBool Source # | |
type TermBaseType (FDInstance s) ModelBool Source # | |
class ToBoolExpr tt cc bb b where Source #
toBoolExpr :: b -> BoolExpr tt cc bb Source #
ToBoolExpr t a b b Source # | |
ToBoolExpr tt cc bb Bool Source # | |
ToBoolExpr t a b (BoolExpr t a b) Source # | |
Orphan instances
(Eq s, Eq c, Eq b) => Enum (Expr s c b) Source # | |
(Ord s, Ord c, Ord b, Eq s, Eq c, Eq b, Show s, Show c, Show b) => Integral (Expr s c b) Source # | |
(Eq s, Eq c, Eq b, Show s, Show c, Show b) => Num (Expr s c b) Source # | Built-in class instances | -- |
(Ord s, Ord c, Ord b, Eq s, Eq c, Eq b, Show s, Show c, Show b) => Real (Expr s c b) Source # | |