Open berekuk opened 10 months ago
Good find!
After looking more into the code, there are many parts around empty/non-empty pointsets that might be broken.
For example, truncate on continuous when there are no points left returns a bad error: https://www.squiggle-language.com/playground?v=dev#code=eNqrVkpJTUsszSlxzk9JVbJSCq7M1SvNy0zLL8rVMNYx0VTQtVMoKSrNS04sSfVJTSvRMNVUqgUA6AMRiA%3D%3D
I might fix it before I do other changes to pointsets because this is one of the parts that's easy to break by accident by bigger refactorings.
https://www.squiggle-language.com/playground?v=dev#code=eNqrVkpJTUsszSlxzk9JVbJSSjFUsFXIrdAw1DHSMdaMyUsxQuYr6NoplBSV5iUnlqT6pKaVaBhpKtUCAJ4%2FE3E%3D