snix/third_party/bazel/rules_haskell/tests/c-compiles/Main.hs

8 lines
178 B
Haskell

module Main (main) where
import Control.Monad (unless)
import Lib (ten)
main :: IO ()
main = unless (ten == 10)
$ error $ "Incorrect lib value. Got " <> show ten