Re: [GEN] Random Thoughts, Item 7 FORTH still exists

new topic     » topic index » view thread      » older message » newer message

>scheme looks like this :-
>
>( define ( fib n)
>     (if  ( <= 2 n )
>         1
>         ( + ( fib ( - n 1 ))
>               ( fib ( - n 2 ))
>          )
>       )
>   )
>


tsk tsk.. haven't you been taught to use 'cond' instead of 'if'? :)

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at
http://profiles.msn.com.

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu