aboutsummaryrefslogtreecommitdiff
path: root/fib_ltI.icl
blob: 9b9e879556c5e0a11cf13801ccf6b9529346e92d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
module fib_ltI

import StdEnv

fib :: !Int -> Int
fib n
	| n < 2
		= 1
		= fib (n-2) + fib (n-1)

Start = fib 43