mirror of
https://github.com/Kindelia/Kind2.git
synced 2024-09-11 07:15:45 +03:00
Fix typo
This commit is contained in:
parent
a0e810ca4b
commit
dabcdd913d
@ -28,7 +28,7 @@ map a b (Cons head tail) f = Cons (f x) (map tail f)
|
|||||||
Side-effective programs are written via monadic monads, resembling [Rust](https://www.rust-lang.org/) and [TypeScript](https://www.typescriptlang.org/):
|
Side-effective programs are written via monadic monads, resembling [Rust](https://www.rust-lang.org/) and [TypeScript](https://www.typescriptlang.org/):
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
// Prints the double of every numbet up to a limit
|
// Prints the double of every number up to a limit
|
||||||
Main : IO (Result () String) {
|
Main : IO (Result () String) {
|
||||||
ask limit = IO.prompt "Enter limit:"
|
ask limit = IO.prompt "Enter limit:"
|
||||||
for x in (List.range limit) {
|
for x in (List.range limit) {
|
||||||
|
Loading…
Reference in New Issue
Block a user