Crates.io | llist |
lib.rs | llist |
version | 0.7.3 |
source | src |
created_at | 2024-03-12 12:23:56.23604 |
updated_at | 2024-03-24 11:19:45.447605 |
description | Lisp-style singly-linked list |
homepage | |
repository | https://codeberg.org/veer66/llist |
max_upload_size | |
id | 1170583 |
size | 23,798 |
llist is a Lisp-style singly-linked list library for Rust
Experimental
let llist = LList::new();
let lst = llist.cons(10, &list![llist; 20, 30, 40]);
let mut v = vec![];
dolist!((i &lst) {
v.push(*i.car());
});