On Fri, Aug 12, 2011 at 7:26 AM, Jay McCarthy <[email protected]> wrote: > 2011/8/11 Racket Noob <[email protected]>: >> >> (define-syntax automaton >> (syntax-rules (: -> END) >> [(_ init-state >> (state : transition ...) >> ...) >> (letrec ([curr-state empty] >> [state >> (lambda (symbol) >> (case symbol >> [(process-state transition)] > > The line above here should be a case clause, but it only has one part. > I think you meant [process-state transition] >
That doesn't fix it. He needs the uses of `process-state' to be expanded before the `case' is expanded. _________________________________________________ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

