Skip to content

Commit

Permalink
Fix spelling in Computation Tour: tyoes -> types (#781)
Browse files Browse the repository at this point in the history
  • Loading branch information
PhictionalOne authored Jan 15, 2025
1 parent 1e58eea commit ccc3cb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/tour/computation.effekt.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Examples of "computation" in Effekt are:
- instances of interfaces (also known as "objects"), and
- regions

Functions (and all other computation tyoes) are _second-class_ in Effekt. To make this difference explicit, we pass values in parentheses (e.g. `f(42)`) and computation in braces (e.g. `f { x => println(x) }`).
Functions (and all other computation types) are _second-class_ in Effekt. To make this difference explicit, we pass values in parentheses (e.g. `f(42)`) and computation in braces (e.g. `f { x => println(x) }`).

```
def myMap[A, B](xs: List[A]) { f: A => B }: List[B] =
Expand Down

0 comments on commit ccc3cb5

Please sign in to comment.