Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add methods to Squiggle #3492

Open
berekuk opened this issue Jan 9, 2025 · 0 comments
Open

Add methods to Squiggle #3492

berekuk opened this issue Jan 9, 2025 · 0 comments
Labels
Language Regarding Squiggle language semantics, distributions and function registry

Comments

@berekuk
Copy link
Collaborator

berekuk commented Jan 9, 2025

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)
@berekuk berekuk added the Language Regarding Squiggle language semantics, distributions and function registry label Jan 9, 2025
@github-project-automation github-project-automation bot moved this to 🆕 To prioritize in Overview Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Language Regarding Squiggle language semantics, distributions and function registry
Projects
Status: 🆕 To prioritize
Development

No branches or pull requests

1 participant