1
0
mirror of https://github.com/janet-lang/janet synced 2024-06-26 07:03:16 +00:00
janet/test
Ian Shehadeh bbb3e16fd1 int/to-bytes: return a buffer instead of a tuple
Buffers make more sense for this function because one of their primary
use cases is working with bytes.
The tuple implementation was an array of floats,  which is less
performant and ergonomic for common operations. (i.e: bit manipulation)

Buffers also have the advantage they are mutable, meaning the user
can write ints to an existing buffer.
2022-03-05 08:21:53 -05:00
..
amalg Update copyright dates. 2021-05-31 13:46:02 -05:00
fuzzers Make janet_equals and janet_compare non recursive 2020-04-24 16:18:31 -05:00
helper.janet Tweaks on redef feature branch. 2022-01-06 20:38:15 -06:00
suite0001.janet test nested '& destructure and empty rest array 2022-01-20 08:54:56 -05:00
suite0002.janet Update copyright dates. 2021-05-31 13:46:02 -05:00
suite0003.janet Update copyright dates. 2021-05-31 13:46:02 -05:00
suite0004.janet Update copyright dates. 2021-05-31 13:46:02 -05:00
suite0005.janet Fix fiber aware combinators to use general iteration instead of fiber 2021-08-06 16:17:47 -05:00
suite0006.janet int/to-bytes: return a buffer instead of a tuple 2022-03-05 08:21:53 -05:00
suite0007.janet Support using functions with :out dynamic binding 2021-11-13 01:42:44 +09:00
suite0008.janet add support for & _ to match macro 2022-01-19 13:29:34 -05:00
suite0009.janet Consolidate related tests 2022-01-21 13:02:56 +09:00
suite0010.janet Add test case for missing struct proto 2021-11-23 23:17:24 -06:00
suite0011.janet Fix #919 - strange quasiquote behavior. 2022-02-09 20:31:10 -06:00
suite0000.janet Fix formating on master. 2022-01-21 16:44:11 -06:00