Closed skx closed 6 years ago
Almost there :)
Next obvious thing to change is that the builtin-functions return:
object.Object, error
Since object.Object can now return an error (as result of #22) the second parameter is redundant. Drop it.
Fix the tests tomorrow, then it's a go I think.
This will allow us to handle recursive calls to built-ins in the future, so for example:
The first RND will take the result of the second RND as argument. Similarly we can use this in goserver: