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


















                                          
-- | "LibA" header
{-# LANGUAGE CPP             #-}
{-# LANGUAGE TemplateHaskell #-}

#include "header.h"

module LibA where

import LibA.A (a)
import Deep (deep_lib)

-- | 'A' declaration.
data A =
  -- | 'A' constructor.
  A

-- | Doc for 'f' using 'a' and 'deep_lib'.
f :: Int
f = const $a deep_lib + MAGIC_NUMBER