Undefined
By: Guest | Date: Feb 15 2014 18:34 | Format: Haskell | Expires: never | Size: 637 B | Hits: 995
- module Ex12_QBF2 where
- import DTC
- import Ex12_QBF1
- data Disjunction a = Disjunction a a
- data ExistQuantor a = ExistQuantor a
- instance EvalBQF Disjunction where
- evalFormula (Disjunction x y) = x || y
- instance EvalBQF ExistQuantor where
- evalFormula (ExistQuantor e) = e
- disj :: (Disjunction :<: f) => Mu f -> Mu f -> Mu f
- disj x y = inject (Disjunction x y)
- exists :: (ExistQuantor :<: f) => Mu f -> Mu f
- exists x = inject (ExistQuantor x)
Latest pastes
1 days ago
2 days ago
5 days ago
6 days ago
6 days ago