(simpleParse :: String -> Maybe PkgBuild) fails with Prelude.undefined
> liftM simpleParse $ readFile "PKGBUILD" :: IO (Maybe PkgBuild)
*** Exception: Prelude.undefined
This happens (it seems) for any PKGBUILD -- at least those of pacman and ghc.
GHC 7.0.3
archlinux 1.3