Racket koans module language bug

Sage Gerard <[email protected]>
Newsgroups gmane.comp.lang.racket.user,gmane.lisp.scheme.plt
Message-ID <CAMHoVxD2rGMF_i9=9r42MrzBR3ieGxyFM6z_YH1v_GQ+13_sCw@mail.gmail.com>
Hello all,

First crack at a module language and stuck on a "expected only a `module'
declaration; found an extra form" error. This is not a duplicate of this
question <https://stackoverflow.com/q/37952163/394397> since the error is
slightly different and the error reproduces in the REPL.

Here's my WIP implementation:
https://gist.github.com/zyrolasting/716aa9b09dd9f2436374428068a68aed

I'm not sure what I'm missing since my reader does provide a single module
declaration via the datums->module shown in the gist, and AFAIK I'm running
an implied module below.

What was my mistake? Apologies if I just went blind on a simple error.

#lang reader "racket-koans-lang.rkt"
(require rackunit)

(struct _____)
(struct _____)
(let ([p _____])
  (check-pred racketeer? p)
  (check-pred programmer? p)
  (check-pred struct? p)
  (check-pred procedure? set-programmer-salary!)
  (check-equal? (programmer-confusion-level p) 10)
  (check-equal? (racketeer-desire-for-racket-jobs p) 9001))

-- 
You received this message because you are subscribed to the Google Groups "Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
For more options, visit https://groups.google.com/d/optout.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.