From 787dc13c837f0955fbd85b8f26a05d720d361333 Mon Sep 17 00:00:00 2001 From: Shinya Sato Date: Sun, 24 Oct 2021 23:04:45 +0900 Subject: Upload the comparison directory --- comparison/SML/bsort-40000.sml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 comparison/SML/bsort-40000.sml (limited to 'comparison/SML/bsort-40000.sml') diff --git a/comparison/SML/bsort-40000.sml b/comparison/SML/bsort-40000.sml new file mode 100644 index 0000000..48c3eb4 --- /dev/null +++ b/comparison/SML/bsort-40000.sml @@ -0,0 +1,30 @@ +(* +https://gist.github.com/masquerade0324/68f4f3fd3ab897fbe1ad +*) + +fun bs xs 0 = xs + | bs (x::y::ys) n = + if (x