Skip to content

Commit

Permalink
Better explanation.
Browse files Browse the repository at this point in the history
  • Loading branch information
axch committed May 23, 2013
1 parent 2ac9f38 commit 36f17e1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions patterns.scm
Original file line number Diff line number Diff line change
Expand Up @@ -300,8 +300,9 @@
((y . (b b b b)) (x . (b)))
((y . (b b)) (x . (b b)))
((y . ()) (x . (b b b)))) |#
;;; Nice pattern inspection procedure that will be used by the
;;; pattern-directed invocation system.
;;; Pattern inspection procedure that will be used to make rules.
;;; This does not take into account the possibility of matching
;;; extensions that introduce new variables.

(define (match:pattern-names pattern)
(let loop ((pattern pattern) (names '()))
Expand Down

0 comments on commit 36f17e1

Please sign in to comment.