Skip to content

Commit

Permalink
fixed incorrect type
Browse files Browse the repository at this point in the history
  • Loading branch information
rogierslag committed Nov 21, 2013
1 parent eaf6a93 commit aaecb1c
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 aaecb1c

Please sign in to comment.