add error message with the right form name
original commit: 431a520ed867cf82947a00650ef64dedaafbec51
This commit is contained in:
parent
3eae0d34bd
commit
6721cf7f42
|
@ -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