about summary refs log blame commit diff
path: root/third_party/bazel/rules_haskell/tests/binary-with-lib-dynamic/Main.hs
blob: d88f7c93d66af8a92bf607c07c256d8cbcfb5f3c (plain) (tree)
1
2
3
4
5
6
7






                                                       
module Main where

import Control.Monad (unless)
import Lib           (value)

main = unless (value == 42)
    $ error $ "Incorrect lib value. Got " <> show value