mirror of
https://github.com/roc-lang/roc.git
synced 2024-09-20 23:37:56 +03:00
correcting 2 typos in README.md compiler folder
This commit is contained in:
parent
d67cc883ca
commit
ea742b93d5
@ -53,14 +53,14 @@ The process of evaluation is basically to transform an `Expr` into the simplest
|
||||
|
||||
For example, let's say we had this code:
|
||||
|
||||
"1 + 2 - 3"
|
||||
"1 + 8 - 3"
|
||||
|
||||
The parser will translate this into the following `Expr`:
|
||||
|
||||
BinOp(
|
||||
Int(1),
|
||||
Plus,
|
||||
BinOp(Int(2), Minus, Int(3))
|
||||
BinOp(Int(8), Minus, Int(3))
|
||||
)
|
||||
|
||||
The `eval` function will take this `Expr` and translate it into this much simpler `Expr`:
|
||||
|
Loading…
Reference in New Issue
Block a user