packages feed

haskell-src-exts-1.24.0: tests/examples/PatternSplice.hs.prettyprinter.golden

{-# LANGUAGE TemplateHaskell #-}
module PatternSpliceTest where

foo :: Int -> Bool
foo $( [p| 42 |] ) = True
foo _ = False