functional programming notes and experiments in actionscript