Skip to content

Commit

Permalink
Fix typo in interlude-1-haskell.md (#245)
Browse files Browse the repository at this point in the history
  • Loading branch information
j-mie6 authored Nov 21, 2024
2 parents c6643b3 + 5bbd8f7 commit fda7179
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/tutorial/interlude-1-haskell.md
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ Here we can see a whole bunch of interesting things! Firstly, up to this point w
seeing `Ops` in our precedence, where here we are using `SOps` and the `Levels` list. This is
important, because our AST is far more strongly typed. If we made each layer of the tree the same
`(Expr, Expr) => Expr` shape, then we could use `Ops` as we've been used to in other pages.
However, sine I opted to make a more strongly typed tree using subtyping, we have to use the more
However, since I opted to make a more strongly typed tree using subtyping, we have to use the more
complex and general `SOps` precedence architecture. This has some really nice consequences:

1) if, say, I removed `SOps(InfixR)(Exp <# "^")` from the list, it would no longer compile
Expand Down

0 comments on commit fda7179

Please sign in to comment.