fold

inline fun <B> fold(fe: (E) -> B, fa: (A) -> B): B