fix first-order->higher-order

svn: r12400
This commit is contained in:
Matthew Flatt 2008-11-12 03:08:15 +00:00
parent 4bb9ef582f
commit fc68840124

View File

@ -132,7 +132,8 @@
(define-syntax (first-order->higher-order stx)
(syntax-case stx ()
[(_ id) (fo:first-order->higher-order #'id)]))
[(_ id) (identifier? #'id) (fo:first-order->higher-order #'id)]
[(_ expr) #'expr]))
(define-syntax (provide-primitive stx)
(syntax-case stx ()