This commit is contained in:
Gimgim 2022-09-21 15:45:33 +05:30 committed by GitHub
parent a0e810ca4b
commit dabcdd913d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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/):
```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) {
ask limit = IO.prompt "Enter limit:"
for x in (List.range limit) {