add simple $eval implementation
add $apply implementation