garnet/haskell/exe/Main.hs
2026-02-19 16:29:52 +00:00

12 lines
239 B
Haskell

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