0.8.6
Published Nov 4, 2023
@quri/squiggle-lang (opens in a new tab)
-
Added Calculators (opens in a new tab), useful for presenting functions to end-users (#2265 (opens in a new tab), #2343 (opens in a new tab))
-
Added
title
to all plots (opens in a new tab), and to scales for labeling x and y axes. Added validation fortickFormat
. (#2337 (opens in a new tab)) -
Improved mixture() (opens in a new tab) typing, but limited to 5 parameters maximum (#2334 (opens in a new tab))
-
Added Dict.pick (opens in a new tab), Dict.omit (opens in a new tab) (#2376 (opens in a new tab))
-
sum (opens in a new tab), product (opens in a new tab), sort (opens in a new tab), cumsum (opens in a new tab), cumprod (opens in a new tab) all accept lists with 0 elements (#2351 (opens in a new tab))
-
Added Dist.sum (opens in a new tab), Dist.product (opens in a new tab), Dist.cumsum (opens in a new tab), Dist.cumprod (opens in a new tab), Dist.diff (opens in a new tab) (#2356 (opens in a new tab))
-
Added List.slice (opens in a new tab), Danger.combinations (opens in a new tab), Danger.allCombinations (opens in a new tab) (#2347 (opens in a new tab))
-
Added more standard library functions: typeOf (opens in a new tab), List.every (opens in a new tab), List.some (opens in a new tab), List.find (opens in a new tab), List.findIndex (opens in a new tab), List.zip (opens in a new tab), List.unzip (opens in a new tab), List.shuffle (opens in a new tab), List.uniq (opens in a new tab) (works with more types now), List.uniqBy (opens in a new tab), Dist.make (opens in a new tab), PointSet.fromNumber (opens in a new tab), PointSet.make (opens in a new tab), SampleSet.fromNumber (opens in a new tab), SampleSet.make (opens in a new tab), String.make (opens in a new tab), String.split (opens in a new tab) (#2290 (opens in a new tab))
-
Expanded equality comparisons to include all distributions, dates, time durations, scales, domains, arrays, and dictionaries.
@quri/squiggle-components (opens in a new tab)
-
Added Calculators (opens in a new tab), useful for presenting functions to end-users (#2265 (opens in a new tab), #2343 (opens in a new tab))
-
Added
title
to all plots (opens in a new tab), and to scales for labeling x and y axes. Added validation fortickFormat
. (#2337 (opens in a new tab)) -
Highlight multiline strings correctly (#2302 (opens in a new tab))
@quri/prettier-plugin-squiggle (opens in a new tab)
-
Improve package.json exports (#2329 (opens in a new tab))
-
Don't quote new lines in strings (#2293 (opens in a new tab))
vscode-squiggle (opens in a new tab)
Use 0.8.6 Squiggle. No extension-specific changes.