not really known
Go to file
Ebmtranceboy 4fe2e1d2ba
making sure NaN is not passed to BigInt constructor
BigInt is exclusively expecting an int
2023-09-22 22:55:26 +02:00
.github/workflows ci 2023-09-16 10:29:16 +01:00
licenses Add licenses 2022-10-15 20:47:55 +01:00
src/JS making sure NaN is not passed to BigInt constructor 2023-09-22 22:55:26 +02:00
test Update Main.purs 2023-09-21 15:00:56 +02:00
.gitignore implements instance EuclideanRing 2022-12-29 00:15:12 +01:00
bower.json Create bower.json 2023-01-12 13:52:40 +00:00
LICENSE Add licenses 2022-10-15 20:47:55 +01:00
package.json add new functions to match Data.Int 2023-01-01 16:40:06 +01:00
packages.dhall Initial commit 2022-10-15 20:44:24 +01:00
README.md Update README.md 2023-01-12 16:08:48 +01:00
spago.dhall Update spago.dhall 2023-01-12 13:52:40 +00:00
test.dhall add failing test 2023-09-16 10:29:16 +01:00

purescript-js-bigints

ffi bindings for JavaScript's BigInt.

Note: There is also purescript-bigints, which wraps the BigInteger.js js library that emulated big integers before the arrival of BigInt and is now basically just a polyfill. purescript-js-bigints on the other hand provides close and direct ffi bindings to the new native BigInt and therefore doesn't require any external npm dependency. This library has been adapted from the original purescript-bigints.

Documentation

Module documentation is published on Pursuit.

Installation

spago install js-bigints