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

Wrap useful global JS functions #882

Open
null-a opened this issue Sep 11, 2017 · 0 comments
Open

Wrap useful global JS functions #882

null-a opened this issue Sep 11, 2017 · 0 comments

Comments

@null-a
Copy link
Member

null-a commented Sep 11, 2017

Functions such as parseInt are useful in WebPPL but tricky to call. We could shadow these with WebPPL functions that either delegate to the JS function, or generate an error explaining how to call the JS variant.

(See here for more discussion.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant