roto 0.10.0

a statically-typed, compiled, embedded scripting language
Documentation
1
2
3
4
5
6
7
filtermap within_range(range: AddrRange, ip: IpAddr) {
    if range.contains(ip) && ip.is_ipv4() {
        accept ip
    } else {
        reject
    }
}