1 2 3 4 5 6 7 8
module Main (main) where import Control.Monad (unless) import Lib (ten) main :: IO () main = unless (ten == 10) $ error $ "Incorrect lib value. Got " <> show ten