narenarya

fibbonocci one-liner in Julia

May 10th, 2014
307
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. fib(n) = n < 2 ? n : fib(n-1) + fib(n-2)
Advertisement
Add Comment
Please, Sign In to add comment