Zoltan Somogyi
ec20b1ed0a
Make sparse_bitset.m operate on uints.
...
NEWS:
Mention all the user-visible changes below.
library/enum.m:
Add the typeclass uenum, which is a version of the existing enum typeclass
that maps items to uints, not ints. It also uses a semidet predicate,
not a semidet function, to get back to the item from the uint.
library/sparse_bitset.m:
library/fat_sparse_bitset.m:
Make these modules operate on uints, which means requiring the items
in the sets to be instances of uenum, not enum.
If a few places, improve loops by doing previously-repeated conversions
of [u]ints into <offset, bit-to-set> pairs just once.
library/counter.m:
Define ucounters, which allocate uints. Improve documentation.
library/digraph.m:
Change digraph_keys from ints to uints, since we put them into
sparse_bitsets.
library/int.m:
Make int an instance of the uenum typeclass. This can help users
who currently put ints into sparse_bitsets.
library/pprint.m:
Prettyprint sparse_bitsets as lists of uints.
library/term.m:
Make vars instances of uenum as well as enum.
library/uint.m:
Make uint an instance of the uenum typeclass.
Add the ubits_per_uint function, which allows some casts to be avoided.
compiler/make.deps_set.m:
Change the indexes we put into sparse_bitsets from ints to uints.
compiler/make.make_info.m:
Change the source of those indexes from ints to uints.
compiler/make.top_level.m:
compiler/make.util.m:
Conform to the changes above.
compiler/pre_quantification.m:
Change zones from ints to uints, since we put them into sparse_bitsets.
tests/hard_coded/int_uenum.{m,exp}:
tests/hard_coded/Mmakefile:
Enable the new test case.
tests/valid/use_import_only_for_instance.m:
Update this extract from library/digraph.m the same way as
library/digraph.m itself.
2022-12-05 09:45:11 +11:00
..
2015-02-16 12:32:18 +11:00
2021-07-27 19:29:21 +10:00
2022-04-14 20:25:10 +10:00
2021-07-28 01:32:43 +10:00
2021-07-27 19:29:21 +10:00
2021-07-27 19:29:21 +10:00
2015-02-16 12:32:18 +11:00
2021-07-27 19:29:21 +10:00
2021-07-27 19:29:21 +10:00
2021-07-27 19:29:21 +10:00
2015-02-16 12:32:18 +11:00
2016-01-02 00:58:59 +11:00
2018-02-07 05:03:46 +11:00
2020-10-27 11:10:11 +11:00
2016-06-23 14:45:03 +10:00
2019-07-26 01:29:53 +02:00
2019-07-26 01:29:53 +02:00
2021-07-27 19:29:21 +10:00
2021-07-27 19:29:21 +10:00
2015-02-16 12:32:18 +11:00
2021-07-27 19:29:21 +10:00
2015-02-16 12:32:18 +11:00
2015-02-16 12:32:18 +11:00
2015-02-16 12:32:18 +11:00
2015-02-16 12:32:18 +11:00
2015-02-16 12:32:18 +11:00
2015-02-16 12:32:18 +11:00
2016-04-19 18:05:39 +10:00
2015-02-16 12:32:18 +11:00
2015-11-11 14:28:57 +11:00
2021-07-27 19:29:21 +10:00
2019-07-26 01:29:53 +02:00
2021-07-27 19:29:21 +10:00
2019-07-10 02:50:46 +02:00
2016-01-02 20:48:57 +11:00
2019-07-26 01:29:53 +02:00
2017-01-20 00:28:19 +11:00
2021-07-27 19:29:21 +10:00
2019-08-05 13:08:20 +02:00
2019-08-07 14:59:40 +02:00
2019-08-20 10:29:04 +10:00
2019-09-02 18:25:23 +10:00
2019-09-29 12:16:30 +10:00
2019-09-29 13:26:44 +10:00
2019-09-29 13:26:44 +10:00
2020-01-22 22:10:43 +11:00
2022-01-25 22:13:16 +11:00
2020-06-19 17:29:29 +10:00
2020-06-19 17:29:29 +10:00
2020-10-23 01:38:58 +11:00
2021-09-13 05:44:10 +10:00
2021-10-12 02:07:22 +11:00
2022-02-07 17:30:32 +11:00
2021-07-27 19:29:21 +10:00
2021-07-27 19:29:21 +10:00
2021-07-27 19:29:21 +10:00
2021-07-27 19:29:21 +10:00
2018-04-05 20:03:02 +10:00
2018-04-05 20:03:02 +10:00
2015-02-16 12:32:18 +11:00
2021-07-27 19:29:21 +10:00
2015-07-21 04:06:52 +10:00
2015-02-16 12:32:18 +11:00
2021-07-27 19:29:21 +10:00
2015-02-16 12:32:18 +11:00
2015-02-16 12:32:18 +11:00
2022-04-14 20:25:10 +10:00
2015-02-16 12:32:18 +11:00
2019-06-30 20:16:07 +02:00
2016-03-13 01:11:05 +11:00
2015-11-11 14:28:57 +11:00
2022-04-14 20:25:10 +10:00
2021-07-27 19:29:21 +10:00
2015-02-16 12:32:18 +11:00
2015-02-16 12:32:18 +11:00
2015-02-16 12:32:18 +11:00
2016-01-13 02:03:16 +11:00
2016-04-29 14:44:20 +10:00
2015-02-16 12:32:18 +11:00
2021-07-27 19:29:21 +10:00
2015-02-16 12:32:18 +11:00
2015-07-21 04:06:52 +10:00
2015-02-16 12:32:18 +11:00
2017-08-05 18:49:14 +02:00
2015-02-16 12:32:18 +11:00
2015-02-16 12:32:18 +11:00
2015-07-21 04:06:52 +10:00
2021-07-27 19:29:21 +10:00
2015-02-16 12:32:18 +11:00
2015-02-16 12:32:18 +11:00
2015-02-16 12:32:18 +11:00
2015-02-16 12:32:18 +11:00
2015-02-16 12:32:18 +11:00
2015-02-16 12:32:18 +11:00
2015-02-16 12:32:18 +11:00
2021-07-27 19:29:21 +10:00
2015-02-16 12:32:18 +11:00
2021-07-27 19:29:21 +10:00
2021-07-27 19:29:21 +10:00
2015-02-16 12:32:18 +11:00
2021-07-27 19:29:21 +10:00
2015-02-16 12:32:18 +11:00
2021-07-27 19:29:21 +10:00
2021-07-27 19:29:21 +10:00
2021-07-27 19:29:21 +10:00
2015-02-16 12:32:18 +11:00
2015-02-16 12:32:18 +11:00
2021-07-27 19:29:21 +10:00
2015-12-03 05:06:28 +11:00
2015-02-16 12:32:18 +11:00
2019-07-21 01:11:49 +02:00
2020-05-17 01:12:39 +10:00
2021-08-20 20:05:38 +10:00
2018-10-01 06:54:00 +10:00
2018-10-01 06:54:00 +10:00
2021-07-27 19:29:21 +10:00
2021-07-27 19:29:21 +10:00
2021-07-27 19:29:21 +10:00
2021-07-27 19:29:21 +10:00
2021-07-27 19:29:21 +10:00
2022-07-04 11:01:13 +10:00
2015-02-16 12:32:18 +11:00
2021-07-27 19:29:21 +10:00
2015-02-16 12:32:18 +11:00
2020-10-27 11:10:11 +11:00
2015-02-16 12:32:18 +11:00
2021-07-27 19:29:21 +10:00
2021-07-27 19:29:21 +10:00
2015-02-16 12:32:18 +11:00
2015-02-16 12:32:18 +11:00
2021-07-27 19:29:21 +10:00
2015-02-16 12:32:18 +11:00
2015-07-21 04:06:52 +10:00
2021-07-27 19:29:21 +10:00
2021-07-27 19:29:21 +10:00
2015-07-21 04:06:52 +10:00
2015-02-16 12:32:18 +11:00
2021-07-27 19:29:21 +10:00
2022-04-07 12:55:38 +10:00
2022-01-15 00:14:19 +11:00
2022-01-15 00:14:19 +11:00
2015-02-16 12:32:18 +11:00
2015-02-16 12:32:18 +11:00
2015-02-16 12:32:18 +11:00
2015-02-16 12:32:18 +11:00
2021-07-27 19:29:21 +10:00
2021-07-27 19:29:21 +10:00
2020-09-27 16:49:14 +10:00
2015-02-16 12:32:18 +11:00
2015-02-16 12:32:18 +11:00
2021-07-27 19:29:21 +10:00
2021-07-27 19:29:21 +10:00
2022-04-14 20:25:10 +10:00
2015-02-16 12:32:18 +11:00
2022-04-14 20:25:10 +10:00
2021-07-27 19:29:21 +10:00
2021-07-27 19:29:21 +10:00
2021-07-27 19:29:21 +10:00
2021-07-27 19:29:21 +10:00
2015-02-16 12:32:18 +11:00
2015-08-29 13:07:01 +10:00
2021-07-27 19:29:21 +10:00
2015-02-16 12:32:18 +11:00
2021-07-27 19:29:21 +10:00
2021-07-27 19:29:21 +10:00
2015-02-16 12:32:18 +11:00
2015-02-16 12:32:18 +11:00
2015-02-16 12:32:18 +11:00
2021-07-27 19:29:21 +10:00
2015-02-16 12:32:18 +11:00
2021-07-27 19:29:21 +10:00
2015-01-08 22:07:29 +11:00
2015-02-16 12:32:18 +11:00
2021-07-27 19:29:21 +10:00
2015-02-16 12:32:18 +11:00
2021-07-27 19:29:21 +10:00
2022-04-14 20:25:10 +10:00
2015-02-16 12:32:18 +11:00
2022-03-05 15:14:27 +11:00
2022-11-23 16:15:59 +11:00
2015-02-16 12:32:18 +11:00
2021-07-27 19:29:21 +10:00
2021-07-27 19:29:21 +10:00
2022-11-23 16:15:59 +11:00
2022-11-23 16:15:59 +11:00
2019-06-18 11:13:08 +02:00
2021-07-27 19:29:21 +10:00
2022-07-04 11:01:13 +10:00
2015-02-16 12:32:18 +11:00
2015-02-16 12:32:18 +11:00
2015-02-16 12:32:18 +11:00
2021-07-27 19:29:21 +10:00
2015-02-16 12:32:18 +11:00
2022-04-14 20:25:10 +10:00
2015-02-16 12:32:18 +11:00
2015-02-16 12:32:18 +11:00
2021-07-27 19:29:21 +10:00
2021-07-27 19:29:21 +10:00
2017-04-12 08:37:08 +10:00
2015-07-21 04:06:52 +10:00
2021-07-27 19:29:21 +10:00
2021-07-27 19:29:21 +10:00
2021-07-27 19:29:21 +10:00
2015-02-16 12:32:18 +11:00
2015-02-16 12:32:18 +11:00
2021-07-27 19:29:21 +10:00
2015-02-16 12:32:18 +11:00
2015-02-16 12:32:18 +11:00
2015-02-16 12:32:18 +11:00
2015-02-16 12:32:18 +11:00
2020-10-27 11:10:11 +11:00
2021-07-27 19:29:21 +10:00
2016-09-01 07:09:34 +10:00
2015-02-16 12:32:18 +11:00
2021-12-07 17:04:03 +11:00
2015-02-16 12:32:18 +11:00
2021-07-27 19:29:21 +10:00
2015-02-16 12:32:18 +11:00
2015-02-16 12:32:18 +11:00
2022-04-14 20:25:10 +10:00
2015-02-16 12:32:18 +11:00
2015-02-16 12:32:18 +11:00
2015-02-16 12:32:18 +11:00
2015-02-16 12:32:18 +11:00
2015-02-16 12:32:18 +11:00
2015-02-16 12:32:18 +11:00
2019-07-26 01:29:53 +02:00
2019-07-26 01:29:53 +02:00
2019-07-26 01:29:53 +02:00
2016-04-20 12:34:33 +10:00
2015-02-16 12:32:18 +11:00
2015-02-16 12:32:18 +11:00
2015-11-11 14:28:57 +11:00
2019-06-18 00:08:10 +02:00
2021-07-27 19:29:21 +10:00
2021-07-27 19:29:21 +10:00
2015-02-16 12:32:18 +11:00
2021-07-27 19:29:21 +10:00
2021-07-27 19:29:21 +10:00
2015-02-16 12:32:18 +11:00
2021-07-27 19:29:21 +10:00
2021-07-27 19:29:21 +10:00
2015-02-16 12:32:18 +11:00
2015-02-16 12:32:18 +11:00
2021-07-27 19:29:21 +10:00
2015-12-03 05:06:28 +11:00
2021-07-27 19:29:21 +10:00
2015-12-03 05:06:28 +11:00
2019-05-28 23:05:20 +02:00
2019-05-28 23:04:35 +02:00
2022-04-13 23:39:23 +10:00
2022-07-04 11:01:13 +10:00
2021-07-27 19:29:21 +10:00
2021-07-27 19:29:21 +10:00
2021-07-27 19:29:21 +10:00
2021-07-27 19:29:21 +10:00
2022-04-14 20:25:10 +10:00
2014-12-23 00:42:42 +11:00
2021-03-15 11:16:31 +11:00
2021-07-27 19:29:21 +10:00
2015-02-16 12:32:18 +11:00
2015-02-16 12:32:18 +11:00
2021-07-27 19:29:21 +10:00
2021-07-27 19:29:21 +10:00
2015-07-21 04:06:52 +10:00
2015-02-16 12:32:18 +11:00
2015-02-16 12:32:18 +11:00
2021-07-27 19:29:21 +10:00
2021-07-27 19:29:21 +10:00
2021-07-27 19:29:21 +10:00
2015-02-16 12:32:18 +11:00
2016-01-01 20:22:28 +11:00
2021-07-27 19:29:21 +10:00
2020-10-27 11:10:11 +11:00
2021-07-27 19:29:21 +10:00
2015-02-16 12:32:18 +11:00
2016-01-13 02:03:16 +11:00
2015-02-16 12:32:18 +11:00
2021-07-27 19:29:21 +10:00
2015-02-16 12:32:18 +11:00
2021-07-27 19:29:21 +10:00
2015-02-16 12:32:18 +11:00
2015-02-16 12:32:18 +11:00
2022-04-14 20:25:10 +10:00
2021-07-27 19:29:21 +10:00
2021-07-27 19:29:21 +10:00
2015-02-16 12:32:18 +11:00
2020-07-29 01:39:42 +10:00
2018-01-11 23:09:08 -05:00
2015-02-16 12:32:18 +11:00
2019-06-18 11:13:08 +02:00
2020-07-14 00:51:50 +10:00
2021-07-27 19:29:21 +10:00
2021-07-27 19:29:21 +10:00
2020-04-05 19:09:31 +10:00
2015-02-16 12:32:18 +11:00
2015-02-16 12:32:18 +11:00
2022-12-05 09:45:11 +11:00
2022-04-14 20:25:10 +10:00
2015-02-16 12:32:18 +11:00
2015-02-16 12:32:18 +11:00