export Func, default_funcs

type Func
    func::Function
    arity::Integer
end

function default_funcs()
    return [Func(&, 2), Func(|, 2)]
end


export Func, default_funcs

type Func
    func::Function
    arity::Integer
end

const AND = Func(&, 2)
const OR = Func(|, 2)
const XOR = Func($, 2)
const TRUE = Func(() -> 0xf, 0)

function default_funcs()
    return [AND, OR, XOR, TRUE]
end


Add new functions from AHW.
Add new functions from AHW.
