tobogganSe connecter

louise

The Louise language: compiler, runtime, std, tooling

Clone avec HTTPS, un jeton personnel en mot de passe, ou avec SSH, une clé ajoutée dans vos paramètres.

3 lignes · 95 octetsBrut · Historique
1fib :: Int -> Int
2fib n = if n < 2 then n else fib (n - 1) + fib (n - 2)
3main = print (fib 35)