add error message with the right form name
This commit is contained in:
parent
506566ac6a
commit
431a520ed8
|
@ -67,4 +67,9 @@
|
||||||
[y (in-range 1 num-of-rows)])
|
[y (in-range 1 num-of-rows)])
|
||||||
#`[(#,(hash-ref coord-to-content (list x 0))
|
#`[(#,(hash-ref coord-to-content (list x 0))
|
||||||
#,(hash-ref coord-to-content (list 0 y)))
|
#,(hash-ref coord-to-content (list 0 y)))
|
||||||
(let () #,@(hash-ref coord-to-content (list x y)))]))))]))
|
(let () #,@(hash-ref coord-to-content (list x y)))])
|
||||||
|
[(_ _)
|
||||||
|
(2dmatch-error #,@main-args)])))]))
|
||||||
|
|
||||||
|
(define (2dmatch-error a b)
|
||||||
|
(error '2dmatch "no matching clauses for ~e and ~e" a b))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user