summary refs log blame commit diff
path: root/third_party/bazel/rules_haskell/tests/haddock/LibB.hs
blob: b4df1ffcb9a28cd2fbdc272bc2a709f817726ff0 (plain) (tree)




















                                                  
{-# LANGUAGE TemplateHaskell #-}
-- | "LibB" doc.

module LibB where

import LibA.A (a)
import LibA (f)
import LibC (mytype, LibCType)
import TH (foo)

-- | Doc for 'x' using 'f' and 'a' and 'Int'.
x :: Int
x = const f a

-- | This uses a type from an undocumented package
y :: LibCType
y = mytype

-- | A thing generated with TH.
z :: String
z = $foo