aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xchallenge-112/feng-chang/raku/ch-2a.raku5
1 files changed, 5 insertions, 0 deletions
diff --git a/challenge-112/feng-chang/raku/ch-2a.raku b/challenge-112/feng-chang/raku/ch-2a.raku
new file mode 100755
index 0000000000..64c1d6e900
--- /dev/null
+++ b/challenge-112/feng-chang/raku/ch-2a.raku
@@ -0,0 +1,5 @@
+#!/bin/env raku
+
+sub MAIN(UInt:D $n) {
+ put (1, 1, *+* ... *)[$n]; # It's Fibonacci!
+}