Closed maxsnew closed 1 year ago
Addressed in 36465ef327dac845eba90b1344b332289adfbbe7.
Ok but if it's fixed then you should add a testcase to demonstrate it.
I would add a testcase normally but this is our std.zydeco
and I wasn't sure if adding a almost useless double
would be the best practice. But thinking about it now, I believe I can add nand
and nor
to demonstrate this.
Well you added char_eq
which is a very useful stdlib function
Oh indeed. Though if anyone looks into char_eq
, that guy will definitely sniff out that something is off :rofl:
Anyway the patch seems to be in place and doing its job. Maybe we should mark it as completed.
You can define new functions in the stdlib
std.zydeco
but they can't useextern
functions. For instance if you addThen
! double 3
will typecheck but the evaluator crashes with