Peter Arthur
Peter Arthur
I've fixed `potion_any_cmp` with the following commit - https://github.com/robotii/potion/commit/8833effbb33ba18a21c2b2830ab569698956c39a I'm not sure if this is the right way to go or not.
That's fine - I can do the check for Lobby. The problem is, that this is called for any user objects that don't explicitly implement `cmp`. This is because Object...
The error with `Error()` can be fixed in internal.c by adding something like ``` c if (e->message == PN_NIL) return potion_str_format(P, "** unspecified error"); ``` into `potion_error_string` This has the...
I had some luck with trying to make the parser GC safe. I can't guarantee that this is the right solution, but it seems to work for me. ``` void...
The following seems to work as well: ``` n = 5, 3 to (n) (i): i string print. # => 345 ``` The issue is that literal values are treated...
We could just pretend everything is wrapped in an implicit Maybe monad?
Hi @rurban This is due to the way the repl works. Each line is executed as its own block/closure, with its own local variables, which go out of scope when...