1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
Commit Graph

22 Commits

Author SHA1 Message Date
1f26e3fb1b datatypes: add a forward iterator for LinkedList<T>, add forward and backward iterators for DoublyLinkedList<T>. Add tests for both. 2022-09-23 22:29:13 +03:00
391ac12fe2 datatypes: adding ringbuffer (#15818) 2022-09-21 19:42:59 +03:00
44137e07b0 datatypes: use generic op overloading for difference and equal (#15530) 2022-08-26 07:03:23 +03:00
723b3d74ee datatypes: add array() method for LinkedList, DoublyLinkedList, Queue, and Stack (#15524) (#15525) 2022-08-25 14:12:39 +03:00
c662431cfd checker: check unsafe array assign (fix #9651) (#15515) 2022-08-25 08:52:13 +03:00
6d501b073a datatypes: make Set's methods public (#15489) 2022-08-22 10:16:59 +03:00
9b9115471f datatypes: Set implementation (#14853) 2022-08-16 20:23:48 +03:00
9099594a49 all: wrap up unsafe { nil } (p. 3) 2022-07-21 21:01:30 +03:00
caa0c2f153 vfmt: voidptr(0) => unsafe { nil } (p.1) 2022-07-21 20:46:01 +03:00
e76f74fd73 checker: unsafe 0 for references (default value) 2022-06-26 06:40:40 +03:00
17bba712bd checker: ban unsafe pointer/fn comparison (#14462) 2022-05-20 18:30:16 +03:00
d679146a80 fmt: remove space in front of ? and ! (#14366) 2022-05-13 06:56:21 +03:00
a91226c376 docs: cleanup (#14327) 2022-05-07 20:18:42 +03:00
mjh
1546645f63 datatypes: fix bst child access, when .root is 0 (#14080) 2022-04-20 16:49:18 +03:00
9495aacf3e datatypes.fsm: add a fsm_graph.v tool (#13723) 2022-03-13 11:40:03 +02:00
d5b087de10 vlib: add a datatypes.fsm module (#13668) 2022-03-09 12:14:54 +02:00
6a876d4170 datatypes: small fix for the BST node constructor (#13569) 2022-02-22 15:41:30 +02:00
7bd8503170 datatypes: add a binary search tree implementation (#13453) 2022-02-22 10:28:01 +02:00
4be3c92640 checker: check generic struct init without type parameter (#13404) 2022-02-09 14:06:45 +02:00
db48594bd4 datatypes: add an index method on LinkedList and Queue (#13185) 2022-01-16 19:11:10 +02:00
5607cfbd32 datatypes: add a Queue.last() method (#12987) 2021-12-29 08:01:47 +02:00
8a10dbcf27 vlib: rename adt to datatypes 2021-12-26 16:01:36 +02:00