squiggle
squiggle copied to clipboard
Add methods to Squiggle
We've discussed this before: many builtin functions could be methods.
This would be useful, among other things, for:
- error reporting
- auto-completion
- sometimes for performance (multi-dispatch lookups are more expensive, unless we do clever optimizations on the order in which we compare signatures, or succeed at type inference)