• expr@programming.dev
    link
    fedilink
    arrow-up
    1
    ·
    8 months ago

    While it’s conventional and good practice to provide a type signature, Haskell does not require one for main. main = putStrLn "Hello, World!" is sufficient. The type can be inferred.