This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (defmacro match-record | |
| ([matches expr] | |
| `(match-record ~matches ~expr nil)) | |
| ([[record in] expr fail-expr] | |
| (println "Multimethods "(methods record-matcher) " class " (class record)) | |
| (println "Record matcher " (record-matcher record) " class record " (class record)) | |
| `(if-match [~(record-matcher record) ~in] ~expr ~fail-expr))) | |
| (match-record [(new-baz {:bar ?e} ) nil] | |
| (some #(match-record [(new-baz {:bar false}) %] true) e)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Debugger entered--Lisp error: (wrong-type-argument char-or-string-p nil) | |
| slime-one-line-ify(nil) | |
| slime-insert-xrefs((("(No location)" nil))) | |
| slime-show-xref-buffer((("(No location)" nil)) :calls "function1" "namespace1") | |
| slime-show-xrefs((("(No location)" nil)) :calls "function1" "namespace1") | |
NewerOlder