diff options
Diffstat (limited to 'samples/rosetta/a+b.bruijn')
-rw-r--r-- | samples/rosetta/a+b.bruijn | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/samples/rosetta/a+b.bruijn b/samples/rosetta/a+b.bruijn new file mode 100644 index 0000000..e6be660 --- /dev/null +++ b/samples/rosetta/a+b.bruijn @@ -0,0 +1,6 @@ +:import std/Combinator . +:import std/String . +:import std/Number . +:import std/Char C + +main (split-by (C.eq? ' ')) → &(add ⋔ string→number) |