From 02a84743ddf5c8c27a36c4d5a20eaf3cd2a9aff4 Mon Sep 17 00:00:00 2001 From: Shinya Sato Date: Sun, 28 Aug 2022 20:40:57 +0900 Subject: Update for n-queens --- comparison/Haskell/fib-38.hs | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 comparison/Haskell/fib-38.hs (limited to 'comparison/Haskell/fib-38.hs') diff --git a/comparison/Haskell/fib-38.hs b/comparison/Haskell/fib-38.hs new file mode 100644 index 0000000..658d228 --- /dev/null +++ b/comparison/Haskell/fib-38.hs @@ -0,0 +1,6 @@ +fib 0 = 0 +fib 1 = 1 +fib n = fib (n - 2) + fib (n - 1) + + +main = print $ fib 38 -- cgit v1.2.3