#, what do I do about the #lang racket line?
A: Oops—instead of searching my solution I'd only eyeballed it, and overlooked the # in #lang!
I'm going to stick with my restrictions and use this an opportunity to show you something new.
The #lang line is actually a shorthand for a module declaration,
so for ruler.rkt, just use the module special form instead. Your ruler.rkt
should look something like this:
% cat ruler.rkt
(module ruler racket
(provide ruler)
(define (ruler n)
...forms for ruler...)
)
unary.rkt:
decimal->unary is non-negative.
unary-sub had "If a > b ..." rather than "If a >= b ...".