standard library: if, length
stdlib: added implementation of append, reverse, foldr, foldl, map