stefankoegel / clickyEvaluation

Visual tool for stepwise evaluation of simple Haskell expressions
MIT License
20 stars 4 forks source link

Hardcoded "div" and "mod" #28

Closed starkstark closed 8 years ago

starkstark commented 8 years ago

"div" and "mod" are hardcoded, can be used like ordinary function but are evaluated with the div- and mod- function of purescript in one step, if both arguments are atoms

div and mod are no longer Operators of the Op-Type and are parsed as follows (example for div): Binary (InfixOp "div") expr1 expr2 App (Atom (Name "div")) args

stefankoegel commented 8 years ago

Thanks!