diff --git a/spl/std.spl b/spl/std.spl index 9b1befe..3b516a5 100644 --- a/spl/std.spl +++ b/spl/std.spl @@ -648,7 +648,7 @@ func times { | with amount callable ; } func check-match { bool | with input output ; - output gettype "func" eq if { + output gettype "func" eq input null eq not and if { 1 2 stop } input output eq if { @@ -686,7 +686,7 @@ func match-unchecked { | with input output ; } func match { bool | with input output ; - output gettype "func" eq if { + output gettype "func" eq input null eq not and if { input output call 1 2 stop }