git.iko.soy
/
Idris-dev
readme
files
commits
refs
on
master
help
sign in
Finds the difference between two Nats
d3badf2
zenntenn
8 years ago
libs/contrib/Data/Nat/Difference.idr
new file
+6
compare with master
unified
split
@@ -0,0 +1,6 @@
1
+
%default total
2
+
3
+
diff : Nat -> Nat -> Nat
4
+
diff k Z = k
5
+
diff Z j = j
6
+
diff (S k) (S j) = diff k j
keys
esc to close
j k
move down, up
enter
open
esc
back, or up a level
1 2 3 4
readme, files, commits, refs
/
filter
y
copy the clone command
c
compare the chosen commit with another (or shift-click both)
?
show or hide this list