snix/third_party/bazel/rules_haskell/tests/haskell_doctest/Bar.hs

13 lines
141 B
Haskell

module Bar (bar) where
import Foo (foo)
import Numeric
-- |
-- >>> bar
-- 9
-- >>> showInt bar "" ++ "!"
-- "9!"
bar :: Int
bar = 4 + foo