Skip to content

v4.0.0

Compare
Choose a tag to compare
@sharkdp sharkdp released this 13 Jun 05:37
· 21 commits to master since this release

Breaking changes

  • fromNumber now returns a Maybe BigInt due to potential failure when passing in Infinity or NaN (@spicydonuts)
  • BigInts now follow PureScripts Int type regarding EuclideanRing laws. This means that div and mod behave differently for negative inputs. For details, see PureScripts Prelude. You can use the new functions quot and rem to get the old behavior.

Changes