Skip to content

Commit

Permalink
error
Browse files Browse the repository at this point in the history
  • Loading branch information
dhlorenz committed May 18, 2024
1 parent af86e74 commit edad33f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Material/Tutorials/sml/errors.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ fun f (a:{s: int, r: int}) = {s: (#s a), r: (#r a)};
```
<!-- .element: data-thebe-executable-sml data-language="text/x-ocaml" -->

NOTE: `:` denotes type, we need to use `=` in the returned expression to denote a value. another common error: `{{(#s a), (#r a)}`
NOTE: `:` denotes type, we need to use `=` in the returned expression to denote a value. another common error: `{(#s a), (#r a)}`

<!--vert-->

Expand Down

0 comments on commit edad33f

Please sign in to comment.