Add examples in haskell, lisp, scala and sml