aboutsummaryrefslogtreecommitdiffhomepage
path: root/samples/rosetta/a+b.bruijn
blob: e6be6608b76c9acc9921469f1c2ff57ce9d8da05 (plain) (blame)
1
2
3
4
5
6
:import std/Combinator .
:import std/String .
:import std/Number .
:import std/Char C

main (split-by (C.eq? ' ')) → &(add ⋔ string→number)