22 releases (6 breaking)

0.7.3 Mar 24, 2024
0.7.2 Mar 16, 2024
0.6.3 Mar 15, 2024
0.5.0 Mar 13, 2024
0.1.2 Mar 12, 2024

#1421 in Data structures

Download history 4/week @ 2024-07-23 2/week @ 2024-09-17 45/week @ 2024-09-24

1,115 downloads per month

Apache-2.0

14KB
280 lines

llist

llist is a Lisp-style singly-linked list library for Rust

Status

Experimental

Example

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());
});

lib.rs:

A Lisp-style singly linked list implementation with a bump allocator for efficient memory management.

Dependencies

~185–250KB