Advertisement
Guest User

Untitled

a guest
Feb 6th, 2016
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
F# 0.19 KB | None | 0 0
  1. let rec fib x y =                        
  2.     if
  3.         x + y < 4000000 then                                  
  4.             printfn "%d" (x + y)              
  5.             fib (x + y) x
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement