Fibonacci sequence: Difference between revisions

imported>Polarit
imported>Polarit
Line 5,714:
 
=={{header|Elm}}==
 
Naïve recursive implementation.
<syntaxhighlight lang="haskell">fibonacci : Int -> Int
Line 5,724 ⟶ 5,725:
==={{header|version 2}}===
<syntaxhighlight lang=”elm">fib : Int -> number
fib : Int -> number
fib n =
case n of
Anonymous user