Finished higher order functions in LYSE