From: Robby Findler <ro...@eecs.northwestern.edu>
Date: Tue, 18 Sep 2012 17:23:47 -0500
Local: Tues, Sep 18 2012 6:23 pm
Subject: Re: [racket] What am I doing wrong in this typed racket program?
Can you explain more? Surely TR must know what "Setof" is, because it
translated it to "set/c" and surely it must know what "Any" is, since it turned it into some other contract. That seems like enough information to me. Robby
On Tue, Sep 18, 2012 at 5:00 PM, Sam Tobin-Hochstadt <sa...@ccs.neu.edu> wrote:
____________________
> I'm saying that I don't at the moment know how to avoid giving this > error, given the current behavior of `set/c`. > On Tue, Sep 18, 2012 at 5:57 PM, Robby Findler
>> Robby
>> On Tue, Sep 18, 2012 at 4:53 PM, Sam Tobin-Hochstadt <sa...@ccs.neu.edu> wrote:
>>> It's not obvious to me if this can be detected statically, but you can
>>> Sam
>>> On Tue, Sep 18, 2012 at 5:44 PM, Tony Garnock-Jones <to...@ccs.neu.edu> wrote:
>>>> What could I be doing wrong here?
>>>> #lang typed/racket
>>>> Racket 5.3.0.24 complains about it ("racket problem.rkt"):
>>>> set/c: contract violation
>>>> The complaint vanishes if I comment out the provide, remove the bar
>>>> Tony
>>> --
> --
Racket Users list: http://lists.racket-lang.org/users You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||