aboutsummaryrefslogtreecommitdiff
path: root/challenge-167/arne-sommer/raku/gamma-function
blob: 8751524d9d0928b172c3a8da25cfaab3131fc592 (plain)
1
2
3
4
5
6
7
#! /usr/bin/env raku

use Math::Libgsl::Function :ALL;

unit sub MAIN (Int :u(:$upto) where $upto > 0 = 10);

say "$_ -> { gamma($_) }" for 1 .. $upto;