Skip to content

Commit

Permalink
Add few comments on Main.hs file
Browse files Browse the repository at this point in the history
  • Loading branch information
= committed Sep 11, 2015
1 parent 223c7be commit fbfb8c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ main = do
let operator = InsideOp (4::Int)
let coupleValue = CoupleVal (2::Int) (5::Int)
let boxing = Template coupleValue operator
let condition = Condition "Alaintérieure" boxing
let condition = Condition "Just a simple descriptive label" boxing
let rule = addEvaluable (Rule []) condition
let ruleEngine = addRule (RuleEngine []) rule

print (evalRuleEngine ruleEngine)
print (evalRuleEngine ruleEngine) -- Display "True". Yes 4 is inside the interval [2, 5] :D

0 comments on commit fbfb8c2

Please sign in to comment.