Commit graph

36 commits

Author SHA1 Message Date
21638848c5 Add size hint for Empty 2025-12-09 16:49:32 +01:00
a6fda0d9b2 Add size hint for SliceIter 2025-12-09 16:48:52 +01:00
e13cbe2d71 Make use of size hint in Iterator(Inner).toOwnedSlice 2025-12-09 16:47:45 +01:00
deb61d75ff Add size hint support 2025-12-09 16:47:14 +01:00
bb3e7ffc6c Use root.assert instead of std.debug.assert in adapters.Chain 2025-12-09 16:32:04 +01:00
b53bb564c1 Fix indentation in iter unit test 2025-12-08 09:17:17 +01:00
28e110c609 Replace all usages of iter(T).fromSliceOwned with iter(T).fromSlice 2025-12-08 09:09:31 +01:00
617af86052 Replace all usages of iter(T).fromSliceOwned with iter(T).fromSlice 2025-12-08 09:06:57 +01:00
1a671a92ac Remove Iterator(Inner)._Inner 2025-12-08 09:05:51 +01:00
0e6ad0cde9 Add peek and reset methods to Iterator(Inner) 2025-12-08 09:02:42 +01:00
ae512b5ae7 Unify SliceIter, SliceIterConst and SliceIterOwned into SliceIter 2025-12-08 08:49:24 +01:00
fed67e2571 Added README 2025-12-06 23:24:59 +01:00
2c091d9d22 Refactor test to not redeclare std.testing namespace 2025-12-06 18:26:04 +01:00
abaade4cdc Renamed Iter to iter 2025-11-16 14:37:02 +01:00
eb0f258138 Improved Iterator(T).zip unit test 2025-11-04 15:12:16 +01:00
0a797d2995 Added SliceIterOwned 2025-11-04 15:03:48 +01:00
46b7999e10 Removed unnecessary optional unwrap in Iterator(T).zip unit test 2025-11-03 13:29:48 +01:00
1907a41fe5 Changed Iter(T).empty from function with no parameters to constant 2025-11-03 13:17:23 +01:00
075b246858 Renamed many variables/paramaters called gpa to allocator 2025-11-03 13:14:34 +01:00
a440d40797 Added LICENSE to paths in build.zig.zon 2025-11-03 13:11:24 +01:00
6a4bc91d45 Clean up build.zig.zon 2025-11-03 13:10:54 +01:00
6e870b9f8b Removed executable module 2025-11-03 12:59:33 +01:00
11b1678e0e Moved Zip and Empty unit tests to Iterator(T).zip and `Iter(T).empty 2025-10-11 09:37:16 +02:00
2f02e13cc3 Refactored out Clean 2025-10-10 20:11:05 +02:00
6122ca7b19 Added Zip(T) and Iterator(T).zip 2025-10-10 20:08:46 +02:00
cb94fae03b Added Empty(T) and Iter(T).empty 2025-10-10 19:58:08 +02:00
3259d0d888 Added Iterator(T).any and Iterator(T).all 2025-10-10 19:19:47 +02:00
4f57df8f72 Added LICENSE 2025-10-10 17:40:42 +02:00
1a6e4b6bba Remove "slices" unit test 2025-10-10 17:37:40 +02:00
1d7ef3ab9d Reformatted Iter example usage 2025-10-10 17:24:35 +02:00
50b1919d03 Added .gitignore 2025-10-10 17:23:59 +02:00
c87b7f9d0b Added explicit return type to Iterator(T).fold 2025-10-10 17:20:28 +02:00
4c80f07498 Renamed iter to Iter 2025-10-10 17:10:05 +02:00
a5d2efdd10 Added example usage for the iter function 2025-10-10 17:09:17 +02:00
27b073b7f8 Fixed "slices" unit test 2025-10-10 16:58:31 +02:00
00426dfef6 Initial commit 2025-10-09 16:51:39 +02:00