aboutsummaryrefslogtreecommitdiff
path: root/haddock-test/src/Test/Haddock/Utils.hs
blob: 1d57107f82361e1784687eaa8be9565a4333057d (plain) (blame)
1
2
3
4
5
6
7
8
module Test.Haddock.Utils where


import Data.Maybe


mlast :: [a] -> Maybe a
mlast = listToMaybe . reverse