alist 0.1.0

Association list offering fast lookups while preserving insertion order
Documentation
1
2
3
4
5
6
7
8
9
#[macro_export]
macro_rules! alist {
    () => {
        $crate::AList::new()
    };
    ($($k:expr => $v:expr),+ $(,)?) => {
        $crate::AList::from_iter([$(($k, $v)),+])
    };
}