# Paste: Fibonacci

Author: | Rich |

Mode: | factor |

Date: | Wed, 12 Nov 2008 00:59:34 |

Plain Text |
USE: locals
: fib [| x! [ 0 ]
y! [ 1 ] |
[ x y + y x! y! ] times x . ] ;

Author: | Rich |

Mode: | factor |

Date: | Wed, 12 Nov 2008 01:09:20 |

Plain Text |
USE: locals
: fib 1 + [let | x! [ 0 ]
y! [ 1 ] |
[ x y + y x! y! ] times x ] ;

Author: | Rich |

Mode: | factor |

Date: | Wed, 12 Nov 2008 01:29:03 |

Plain Text |
USE: locals
: fib [let | x! [ 0 ]
y! [ 1 ] |
[ x y + y x! y! ] times y ] ;

## New Annotation