Executable sizes

The simplest Haskell program is main = pure (). It does nothing. It can be compiled to an executable file with GHC – for example, with GHC 9.12.2, by commanding: This command will output Main.hi, Main.o and Main.exe – the last being the executable file. We can find its size in bytes by commanding (in […]