Some introductory solutions in several functional languages