A functional-style utils library for as3