[plt-scheme] Typed Scheme: Expected Number, but got Number

From: Sam Tobin-Hochstadt (samth at ccs.neu.edu)
Date: Tue Jan 26 08:09:27 EST 2010

I'm confused about how you could be getting the rest of what you're
seeing, and I'll investigate.

On Tue, Jan 26, 2010 at 2:53 AM, Noel Welsh <noelwelsh at gmail.com> wrote:
>
> More generally, how do I convert between numeric types? There are a
> bunch of types, like Exact-Rational and Integer, that I don't know how
> to work with. (Like, how do I go Number -> Integer?)

With `exact-integer?'.

-- 
sam th
samth at ccs.neu.edu


Posted on the users mailing list.