summaryrefslogtreecommitdiff
path: root/1-10/5.hs
blob: b18724c62cb84b33106cab57cad659ba456fee98 (plain) (blame)
1
2
3
4
myReverse l = f l []
    where
        f [] b = b
        f (x:xs) b = f xs (x:b)