aboutsummaryrefslogtreecommitdiff
path: root/html-test/src/Bug745.hs
blob: 01602bb3ba0ad96e45b88c332947954ed823b30a (plain) (blame)
1
2
3
4
5
6
7
8
9
{-# LANGUAGE Haskell2010 #-}
{-# LANGUAGE TemplateHaskell, QuasiQuotes #-}

module Bug574 where
-- See https://github.com/haskell/haddock/issues/574

-- | Something with a spliced type
foo :: Int -> $(let i = [t| Int |] in [t| $i -> $i |])
foo x y = x + y