[racket] compilation error in dherman/parameter

From: John Clements (clements at brinckerhoff.org)
Date: Mon Dec 26 11:12:37 EST 2011

On Dec 24, 2011, at 3:43 AM, Răzvan Rotaru wrote:

> Hi,
> 
> I stumbled upon a compilation in parameter.plt:
> 
> . ../../../../.racket/planet/300/5.1.3/cache/dherman/parameter.plt/1/3/main.ss:26:17: compile: unbound identifier in module in: flat-get
> 
> The broken code is following:
> ;; I had to copy this from collects/scheme/private/contract-guts.ss
> ;; because it isn't provided from scheme/contract.
> (define (flat-proj ctc)
>   (let ([pred? ((flat-get ctc) ctc)])
>     (λ (pos neg src-info orig-str)
>       (λ (val)
>         (if (pred? val)
>             val
>             (raise-contract-error
>              val
>              src-info
>              pos
>              orig-str
>              "expected <~a>, given: ~e"
>              ((name-get ctc) ctc)
>              val))))))
> 
> 
> I raised a ticket on this but so far no response. Anybody had the same problem and knows how to fix it?

I'm going to ask a meta-question: what do you need this for? It looks to me like the utilities provided by this package can mostly be written-around. Are you compiling something bigger that depends on this package?

John

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4624 bytes
Desc: not available
URL: <http://lists.racket-lang.org/users/archive/attachments/20111226/0e124842/attachment.p7s>

Posted on the users mailing list.