[plt-scheme] TypedScheme: alpha release

From: Sam TH (samth at ccs.neu.edu)
Date: Tue Dec 19 13:55:09 EST 2006

On Tue, 2006-12-19 at 07:36 -0800, Gregory Woodhouse wrote:

> Now that I'm not behind a firewall, I get something. I entered
> 
> 
> (module fib (planet "typed-scheme.ss"  ("plt" "typed-scheme.plt" 1))
>   (define: (fib [n : number]) : number
>     (let: ([base? : boolean (or (= 0 n) (= 1 n))])
>       (if base? 1
>           (+ (fib (- n 1) (- n 2)))))))

As others have pointed out, this isn't the correct definition.  The
documentation has been fixed.  

sam th



Posted on the users mailing list.