Reputation: 99428
Is :type
part of the Haskell language or a command of GHC?
Does the prefix :
represent something not part of the language, but of GHC?
Thanks.
Upvotes: 0
Views: 144
Reputation: 18249
Commands like :type
, :info
, :load
and so on are just GHCi commands - they're aids to working with Haskell code in an interactive REPL. They have nothing to do with the Haskell language itself.
Upvotes: 7