top-0.2.2: Top (typed oriented protocol) API
Data.Pattern.TH
Description
Convert a Template Haskell pattern to a Pattern
Synopsis
patternQ :: Quasi m => Q Pat -> m IPattern Source #
Template Haskell function to convert an Haskell pattern to an IPattern
IPattern
patternQ [p|_|] :: IO IPattern PName PWild
patternE :: Q Pat -> Q Exp Source #