[racket] confusing error with keywords

From: Jon Rafkind (rafkind at cs.utah.edu)
Date: Wed Nov 17 15:55:28 EST 2010

I found this error message confusing. The problem is I forgot to require
racket/contract.

#lang racket/base

(define-struct/contract foo ([a any/c]) #:transparent)

>
application: missing argument expression after keyword at: #:transparent
in: (#%app define-struct/contract foo ((a any/c)) #:transparent)

I was confused because I thought I had a (require racket/contract)
somewhere but apparently I didn't. I don't know if anything at all can
be done about it..


Posted on the users mailing list.