Skip to content

Commit

Permalink
Update mexpr-tutorial.md
Browse files Browse the repository at this point in the history
  • Loading branch information
david-broman committed Feb 21, 2024
1 parent ec0ad9a commit 58d57be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/tutorials/mexpr-tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ utest double 5 with 10 in
()
```

Types can be expressed in MCore programs, but they are currently not checked. For instance, the `double` function can be written as
MExpr is statically typed, using a polymorphic type system based on [FreezeML](https://dl.acm.org/doi/10.1145/3385412.3386003). If type annotations are omitted, types will be automatically *inferred*. However, types can also be explicitly expressed in MCore programs. For instance, the `double` function can be written as

```mc
let double = lam x:Int. muli x 2 in
Expand Down

0 comments on commit 58d57be

Please sign in to comment.