knave 0.9.13

A small Lisp for humans and agents that infers types and ownership and compiles to readable Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use std::collections::{BTreeMap, HashMap};

impl<Key, Value> Sequence for BTreeMap<Key, Value> {
    fn len(&self) -> usize {
        BTreeMap::len(self)
    }
}

impl<Key, Value> Sequence for HashMap<Key, Value> {
    fn len(&self) -> usize {
        HashMap::len(self)
    }
}