| Copyright | © Frank Jung 2020 |
|---|---|
| License | GPL-3 |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
MyReverse
Documentation
Reverse a list using foldr.
This is the best performing version.
This pointfree form is the same as:
myRevr xs = foldr (\ x acc -> (x :) >>> acc) id xs []