summaryrefslogtreecommitdiff
path: root/H5.hs
diff options
context:
space:
mode:
Diffstat (limited to 'H5.hs')
-rw-r--r--H5.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/H5.hs b/H5.hs
new file mode 100644
index 0000000..720eb9f
--- /dev/null
+++ b/H5.hs
@@ -0,0 +1,3 @@
+myReverse :: [a] -> [a]
+
+myReverse = foldl (flip $ (:)) []