Skip to content

Commit

Permalink
Merge pull request #7 from rogierslag/master
Browse files Browse the repository at this point in the history
fixed incorrect type
  • Loading branch information
Guido Wachsmuth authored and Guido Wachsmuth committed Nov 21, 2013
2 parents 23fb529 + aaecb1c commit 0bfbf92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion milestone2-analysis/day8.md
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ You should define the following rules:
2. One `create-type-task` rule for `BinExp`.
3. A rule `type-of-op` for each unary and binary operator, which rewrites the operator to a tuple.
This tuple should consist of the expected types of subexpressions and the type of the operator itself.
For example, the following rule states that `Length` requires a subexpression of type `int`and yields an expression of type `int`:
For example, the following rule states that `Length` requires a subexpression of type `intArray` and yields an expression of type `int`:

type-of-op: Length() -> (IntArray(), Int())

Expand Down

0 comments on commit 0bfbf92

Please sign in to comment.