test for number literals.
Initial support for polymorphic variants
unneeded clause removed
Handle call
Handle anon functions.
Remove badrecordb clause
Handle cons and nil
apply is used to make recursive calls in lists:map, and had to be handled separately.