hpc-codecov-0.6.0.0: test/data/ith01/TH01.hs
{-# LANGUAGE TemplateHaskell #-}
module TH01 where
import Language.Haskell.TH
fooDecl :: Q [Dec]
fooDecl = [d| foo = 42; foo :: Int |]
barDecl :: Q [Dec]
barDecl = [d| bar :: Int; bar = 42 |]
{-# LANGUAGE TemplateHaskell #-}
module TH01 where
import Language.Haskell.TH
fooDecl :: Q [Dec]
fooDecl = [d| foo = 42; foo :: Int |]
barDecl :: Q [Dec]
barDecl = [d| bar :: Int; bar = 42 |]