reverse method

F reverse(
  1. F fa
)

Implementation

F reverse(F fa) => foldLeft(fa, empty(), prependElement);