On Sat, Jul 16, 2016 at 2:48 PM, William J. Bowman <w...@williamjbowman.com> wrote:
> To address the immediate problem, this `procedure?` test will always return > `#f`, since `#'pred` is a > syntax object and not a procedure. You need to do `(procedure? (syntax->datum > #'pred))`. Similarly > reasoning applies to the `string?` test. > Oh, of course; I should have realized. I was thinking of #' as the "get the value of the syntax object" expression, but that is exactly backwards. It's just the shortcut for (syntax <x>). Thanks! Dave -- 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+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.