Louis Pilfold
27954f55b8
More renaming
2023-10-01 16:51:28 +01:00
Louis Pilfold
28d425a775
Update prelude tests
2023-10-01 16:51:28 +01:00
Dmitrii Maganov
1c5a608cb0
Use .d.mts extension for ts type declarations
2023-09-08 17:47:02 +01:00
BENJAMIN PEINHARDT
6a31e46ec1
throw exception on no Uint8Array construction of BitString
2023-09-04 12:45:00 +01:00
BENJAMIN PEINHARDT
c37ddfec77
added check to contructor to auto convert ArrayBuffer to Uint8Array
2023-09-04 12:45:00 +01:00
Julian Schurhammer
4878f274af
improve handling of custom equals method in js
...
- only use an equals method in the prototype, not the object itself
- wrap in try catch to ensure no runtime errors can occur
- return early if not equal
- add tests
2022-07-28 13:59:51 +01:00
Louis Pilfold
129b1b9f31
JS can inspect null object
...
Closes https://github.com/gleam-lang/gleam/issues/1673
2022-07-01 22:54:52 +01:00
Louis Pilfold
359e927f44
Rename method
2022-05-03 21:32:26 +01:00
Peter
a85f40ce00
test for bitstring matching prelude
2022-05-03 21:23:03 +01:00
Louis Pilfold
2e82b0268f
Revert "Give up on .mjs"
...
This reverts commit c73be22619 .
2021-12-19 15:28:09 +00:00
Louis Pilfold
4c6d184c8b
Give up on .mjs
2021-12-19 15:28:09 +00:00
Louis Pilfold
21acab6c1c
Use node's nonsense extension
2021-12-19 15:28:09 +00:00
Louis Pilfold
7507335b95
Printing functions
2021-09-19 19:36:47 +01:00
Louis Pilfold
6d19a1b4cc
Print JS error messages
2021-09-13 20:43:21 +01:00
Louis Pilfold
2aae329d02
Remove prepend
2021-09-01 20:41:15 +01:00
Louis Pilfold
de7b8247ac
Prelude List.prepend
2021-09-01 20:31:29 +01:00
Louis Pilfold
6db3325ef6
Inspection of JS maps and sets
2021-09-01 20:06:35 +01:00
Matthew McMillan
fb776a5c3a
Implement Javascript set comparison, add tests
2021-09-01 18:53:12 +01:00
Louis Pilfold
98c5d4ca97
Lists implement iterable
2021-08-29 13:13:26 +01:00
Louis Pilfold
541998afa7
Remove variant symbol
2021-08-29 11:43:08 +01:00
Louis Pilfold
e447d5669d
Remove inspect symbol
2021-08-29 11:36:27 +01:00
Louis Pilfold
de62c13a22
Use reference equality for certain JS classes
2021-08-27 17:53:17 +01:00
Louis Pilfold
41e68ae86b
Improve JS object printing
2021-08-27 15:59:33 +01:00
Louis Pilfold
ee83443d4a
Prelude test bitstring length
2021-08-26 19:48:43 +01:00
Louis Pilfold
bd7644ca36
Regex printing
2021-08-26 18:54:58 +01:00
Louis Pilfold
e2fa425250
More concise test output
2021-08-25 16:31:34 +01:00
Louis Pilfold
1880f0a56e
Fix codepointBits
2021-08-25 15:53:51 +01:00
Louis Pilfold
d1d929902e
Record update
2021-08-24 17:09:02 +01:00
Louis Pilfold
99e91f1cdd
Prelude record update
2021-08-24 17:09:02 +01:00
Louis Pilfold
37fed50699
Record -> CustomType
2021-08-24 17:09:02 +01:00
Louis Pilfold
0898e3ce19
Use prelude list
2021-08-15 20:00:45 +01:00
Louis Pilfold
2749ac0f99
Correct prelude equality for arrays
2021-08-15 20:00:45 +01:00
Louis Pilfold
15a34424cc
Use isEqual from prelude
2021-08-15 20:00:45 +01:00
Louis Pilfold
71653cf9c7
Float division prelude
2021-08-15 16:59:29 +01:00
Louis Pilfold
a23552b1b0
Use symbols for inspect
2021-08-14 19:20:25 +01:00
Louis Pilfold
b6668119d2
Test remaining JS prelude methods
2021-08-14 18:39:41 +01:00
Louis Pilfold
b96fa6ada9
Prelude tests project
2021-08-14 18:28:47 +01:00