aboutsummaryrefslogtreecommitdiffhomepage
path: root/samples/io/reverse.bruijn
diff options
context:
space:
mode:
authorMarvin Borner2023-03-05 14:44:40 +0100
committerMarvin Borner2023-03-05 14:45:16 +0100
commitca808bc09373f123514bf865a4518bebac3bbbc3 (patch)
treec57c4620cd603a8fccc1228ce2aed246ea7c3ac6 /samples/io/reverse.bruijn
parent6b7eb467fef16141760e8eb8a151fecb508675e1 (diff)
Monadic list/io interface
Diffstat (limited to 'samples/io/reverse.bruijn')
-rw-r--r--samples/io/reverse.bruijn2
1 files changed, 2 insertions, 0 deletions
diff --git a/samples/io/reverse.bruijn b/samples/io/reverse.bruijn
index 7a3553f..d5a0597 100644
--- a/samples/io/reverse.bruijn
+++ b/samples/io/reverse.bruijn
@@ -1,6 +1,8 @@
# "echo tacocat | bruijn reverse.bruijn"
:import std/List .
+:import std/Combinator .
+:import std/Monad .
# stdin is encoded as binary numbers in a list
# reversing the list reverses the input!