Squiggle 0.8.6
Calculators, and standard library improvements, and experimental imports
Highlights
Calculators. Make custom forms that wrap Squiggle functions, and send these forms to end-users. See some simple examples here:
https://squigglehub.org/models/ozziegooen/laptop-battery-cost
https://squigglehub.org/models/ozziegooen/cost-of-reading-calculator
In addition to using text inputs, you can also use check boxes, select dropdowns, and text areas.
Many new builtin functions, especially in List.* and in Dist.* (see the full changelog)
Squiggle Hub got support for imports and exports. These are experimental, but you can see a simple example below. We’ll continue to clean up this functionality in future releases.
Also, we've recently added support for picking Squiggle version in the playground and on Squiggle Hub. This means that you don’t need to worry as much about breaking changes, and you can test out models on different versions.
- In the playground, the version is always pinned (unless you pick "Next", which means "Latest unreleased version").
- On Squiggle Hub, we plan to eventually auto-update user models if we can be reasonably sure that new version is backward compatible.
We haven't updated existing Squiggle Hub models to 0.8.6 yet but will do this soon. You can do this manually on any model you own (change the version in editor menu and then save the model).