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

25 Commits

Author SHA1 Message Date
Delyan Angelov
7d57559b70
datatypes: make the out of bounds errors for lists APIs more detailed 2022-11-22 13:42:29 +02:00
yuyi
017ace6ea7
vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
Alexander di Chiara
e3379bca97
datatypes: add quadtree, add its demo to examples/ (#16087) 2022-10-18 18:02:44 +03:00
Delyan Angelov
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
flopetautschnig
391ac12fe2
datatypes: adding ringbuffer (#15818) 2022-09-21 19:42:59 +03:00
Swastik Baranwal
44137e07b0
datatypes: use generic op overloading for difference and equal (#15530) 2022-08-26 07:03:23 +03:00
shove
723b3d74ee
datatypes: add array() method for LinkedList, DoublyLinkedList, Queue, and Stack (#15524) (#15525) 2022-08-25 14:12:39 +03:00
yuyi
c662431cfd
checker: check unsafe array assign (fix #9651) (#15515) 2022-08-25 08:52:13 +03:00
yuyi
6d501b073a
datatypes: make Set's methods public (#15489) 2022-08-22 10:16:59 +03:00
Vladimir Myshkovski
9b9115471f
datatypes: Set implementation (#14853) 2022-08-16 20:23:48 +03:00
Alexander Medvednikov
9099594a49 all: wrap up unsafe { nil } (p. 3) 2022-07-21 21:01:30 +03:00
Alexander Medvednikov
caa0c2f153 vfmt: voidptr(0) => unsafe { nil } (p.1) 2022-07-21 20:46:01 +03:00
Alexander Medvednikov
e76f74fd73 checker: unsafe 0 for references (default value) 2022-06-26 06:40:40 +03:00
Vincenzo Palazzo
17bba712bd
checker: ban unsafe pointer/fn comparison (#14462) 2022-05-20 18:30:16 +03:00
Daniel Däschle
d679146a80
fmt: remove space in front of ? and ! (#14366) 2022-05-13 06:56:21 +03:00
David 'Epper' Marshall
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
Mihai Galos
9495aacf3e
datatypes.fsm: add a fsm_graph.v tool (#13723) 2022-03-13 11:40:03 +02:00
Mihai Galos
d5b087de10
vlib: add a datatypes.fsm module (#13668) 2022-03-09 12:14:54 +02:00
Vincenzo Palazzo
6a876d4170
datatypes: small fix for the BST node constructor (#13569) 2022-02-22 15:41:30 +02:00
Vincenzo Palazzo
7bd8503170
datatypes: add a binary search tree implementation (#13453) 2022-02-22 10:28:01 +02:00
yuyi
4be3c92640
checker: check generic struct init without type parameter (#13404) 2022-02-09 14:06:45 +02:00
Hunam
db48594bd4
datatypes: add an index method on LinkedList and Queue (#13185) 2022-01-16 19:11:10 +02:00
Hunam
5607cfbd32
datatypes: add a Queue.last() method (#12987) 2021-12-29 08:01:47 +02:00
Delyan Angelov
8a10dbcf27
vlib: rename adt to datatypes 2021-12-26 16:01:36 +02:00