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

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

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