[plt-scheme] Re: Poacher turned gamekeeper

From: wooks (wookiz at hotmail.com)
Date: Thu Nov 12 06:42:36 EST 2009


On Nov 12, 11:32 am, "Geoffrey S. Knauth" <ge... at knauth.org> wrote:
> On Nov 12, 2009, at 05:44, wooks wrote:
>
> > On Nov 9, 2:50 pm, Matthias Felleisen <matth... at ccs.neu.edu> wrote:
> >> 1. Use HtDP/2e to get started. Then switch.
> > So I'm looking at it and wondering how to explain why (string->number
> > "hello world") returns a boolean.
>
> My documentation for beginner language says:
>
> string->number : (string -> (union number false))
>
> Purpose: to convert a string into a number, produce false if >impossible
>

Yes I saw that. I was hoping be able to give a different answer than
"thats the way it was defined".


Posted on the users mailing list.