Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Language

Haskell

Compiler

ghc 8.4.2

Options
Warnings

noname-1

$ ghc prog.hs -o prog.exe -Wall
[1 of 1] Compiling Main             ( prog.hs, prog.o )

prog.hs:5:14: warning: [-Wunused-foralls]
    Unused quantified type variable ‘(x :: Void)’
    In the type ‘forall (x :: Void). String’
  |
5 | hw :: forall (x :: Void). String
  |              ^^^^^^^^^^^
Linking prog.exe ...
Hello, world!
Exit Code:
0