From d13c0b3ddc348c772ead6e41063c1ba2f2d604a6 Mon Sep 17 00:00:00 2001 From: "C. Guy Yarvin" Date: Sat, 6 Sep 2014 15:43:54 -0700 Subject: [PATCH] Moar test. --- main/bin/easy0.hoon | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 main/bin/easy0.hoon diff --git a/main/bin/easy0.hoon b/main/bin/easy0.hoon new file mode 100644 index 000000000..ed7ef4cac --- /dev/null +++ b/main/bin/easy0.hoon @@ -0,0 +1,27 @@ +!: +:: /=main=/bin/solid/hoon +:: +=> .(- `[who=@p how=path]`-) +|= [est=time eny=@uw] +|= arg=~ +=+ ^= cor + =< |= [x=@ y=@] + (add x y) + => %164 + |% + ++ add + |= [a=@ b=@] + ^- @ + ?: =(0 a) b + $(a (dec a), b +(b)) + :: + ++ dec + |= a=@ + ?< =(0 a) + =+ b=0 + |- ^- @ + ?: =(a +(b)) b + $(b +(b)) + -- +:_ ~ :_ ~ +[%xx %sage [%easy0 %pill ~] cor]