diff options
author | Marvin Borner | 2024-06-09 23:34:17 +0200 |
---|---|---|
committer | Marvin Borner | 2024-06-09 23:34:17 +0200 |
commit | 0f8c73b9c36ecda45c02f26bbca0730da6fb9c0c (patch) | |
tree | f7ab8a4a8cbb0eb6df4c7a11ff503f544309160f /samples/fun | |
parent | dba4ea41ce332f6945e61f580aee675a50a9b237 (diff) |
Fixed IO function names
Diffstat (limited to 'samples/fun')
-rw-r--r-- | samples/fun/IO.bruijn | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/samples/fun/IO.bruijn b/samples/fun/IO.bruijn index 725e093..06facbd 100644 --- a/samples/fun/IO.bruijn +++ b/samples/fun/IO.bruijn @@ -3,4 +3,6 @@ :import std/IO . -main read-line >>= [read-line >>= [return [0 2 1]]] +main get-line >>= [get-line >>= [return [0 2 1]]] + +:test (main "i love\nmonads\n") ([0 [0 "i love" "monads"] [[0]]]) |