blob: b4df1ffcb9a28cd2fbdc272bc2a709f817726ff0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
{-# 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
|