Re: [racket] TLS "atom?" definition for Scheme does not work in DrRacket

2015-03-04 Thread Rufus
Alex Yes, that is what happens. (with BSL) But if I remove the erroneous (define and...) then it again flags pair? as "function not defined". I think maybe it only prints one error msg, the last one found. Sorry for the delay. I am rebuilding the laundry room here at my sister's house during the

Re: [racket] TLS "atom?" definition for Scheme does not work in DrRacket

2015-03-04 Thread Alexander D. Knauth
On Mar 4, 2015, at 1:18 PM, Rufus wrote: > If I then add Alexander's example define so the def file appears as follows: > - > (define rufus 0) > > (define atom? (lambda (arg1) >(and (not (pair? arg1)) > (not (null? arg1) > - > > and h

Re: [racket] TLS "atom?" definition for Scheme does not work in DrRacket

2015-03-04 Thread Matthias Felleisen
On Mar 4, 2015, at 1:18 PM, Rufus wrote: > To All > > Using BSL-Lists: > > Matt't basic test works. > > (define rufus 0) > > Run, then type and execute "rufus" in the I-pane which displays 0 > > > > If I then add Alexander's example define so the def file appears as follows: > - >

Re: [racket] windows-1252 charset decoding

2015-03-04 Thread Sam Tobin-Hochstadt
On Wed, Mar 4, 2015 at 3:06 PM John Clements wrote: > I see that the documentation suggests that (entity-charset) is supposed to > return a symbol. However, it nearly always returns a string. In particular, > it appears to me that it returns a symbol only when it returns its default, > 'us-ascii.

Re: [racket] windows-1252 charset decoding

2015-03-04 Thread John Clements
I see that the documentation suggests that (entity-charset) is supposed to return a symbol. However, it nearly always returns a string. In particular, it appears to me that it returns a symbol only when it returns its default, 'us-ascii. I feel compelled to repair this, but there are two ways to f

Re: [racket] TLS "atom?" definition for Scheme does not work in DrRacket

2015-03-04 Thread Rufus
To All Using BSL-Lists: Matt't basic test works. (define rufus 0) Run, then type and execute "rufus" in the I-pane which displays 0 If I then add Alexander's example define so the def file appears as follows: - (define rufus 0) (define atom? (lambda (arg1) (and (not

Re: [racket] TLS "atom?" definition for Scheme does not work in DrRacket

2015-03-04 Thread Matthias Felleisen
All of this should work out of the box, w/o any problem. 1. Please report on the following experiment. In the Definitions pane, type (define rufus 0) 2. Click Run 3. In the Interactions pane, type > rufus 4. Please report the response of DrRacket. Racket Users lis

Re: [racket] Is this function typeable in Typed Racket?

2015-03-04 Thread Alexander D. Knauth
I wonder if something like this could bring it closer to being possible?: https://github.com/plt/racket/pull/564 On Mar 4, 2015, at 3:18 AM, Alexis King wrote: > Disclaimer: this question is both a real question and me trying to push the > type system to its limits, so I’m not really expectin

[racket] Is this function typeable in Typed Racket?

2015-03-04 Thread Alexis King
Disclaimer: this question is both a real question and me trying to push the type system to its limits, so I’m not really expecting to get a satisfactory answer. I posted a question on Stack Overflow here , but I’m guessing that this is unfortunately