雑感等

音楽,数学,語学,その他に関するメモを記す.

haskellでテトレーションを計算

 x\uparrow \uparrow yを求める関数.

tetration x y= foldr1 (^) $ take y $ repeat x