feat(third_party/bazel): Check in rules_haskell from Tweag
This commit is contained in:
parent
2eb1dc26e4
commit
f723b8b878
479 changed files with 51484 additions and 0 deletions
19
third_party/bazel/rules_haskell/tests/haddock/LibA.hs
vendored
Normal file
19
third_party/bazel/rules_haskell/tests/haddock/LibA.hs
vendored
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
-- | "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
|
||||
Loading…
Add table
Add a link
Reference in a new issue