MicroHs-0.17.4.0 / tests / Bounded.hs
module Bounded whereimport Data.Intimport Data.WordprintBounds :: forall a. (Bounded a, Show a) => IO ()printBounds = print (minBound @a, maxBound @a)main :: IO ()main = do printBounds @Int8 printBounds @Int16 printBounds @Int32 printBounds @Word8 printBounds @Word16 printBounds @Word32