use haskell-src-exts to parse view patterns