summary refs log tree commit diff
path: root/third_party/bazel/rules_haskell/tests/haskell_doctest/Bar.hs
blob: cd82351855c37be8b3ca1120f9dacb61dc8cc6f6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
module Bar (bar) where

import Foo (foo)
import Numeric

-- |
-- >>> bar
-- 9
-- >>> showInt bar "" ++ "!"
-- "9!"

bar :: Int
bar = 4 + foo