Add some more named patterns.
authorChris Hanson <org/chris-hanson/cph>
Mon, 14 Jun 2010 04:05:08 +0000 (21:05 -0700)
committerChris Hanson <org/chris-hanson/cph>
Mon, 14 Jun 2010 04:05:08 +0000 (21:05 -0700)
src/runtime/syntax-check.scm

index b819ad616dad890084be344b7eb9b74c5f116410..bf59fbe7be819ae18d5f87c377a873468bae29ef 100644 (file)
@@ -48,6 +48,9 @@ USA.
             ((DATUM EXPRESSION FORM) #t)
             ((R4RS-BVL) (r4rs-lambda-list? object))
             ((MIT-BVL) (mit-lambda-list? object))
+            ((STRING) (string? object))
+            ((CHAR) (char? object))
+            ((URI) (->uri object #f))
             (else (match-error))))
          ((pair? pattern)
           (case (car pattern)