module Main (main) where import GarnetRs.Wrapped main :: IO () main = do hello "Haskell" helloStruct T{a = True, b = 42} helloStruct T{a = False, b = maxBound} helloShape $ Circle 3.14 helloShape $ Rectangle 10.0 5.0 putStrLn $ "3 + 4 = " <> show (add 3 4) putStrLn $ "Tree sum: " <> show (sumTree (Fork (Fork (Leaf 1) (Fork (Leaf 2) (Leaf 3))) (Leaf 4)))