Can I find the GHC version from inside GHCi?

Viewed 166
λ> 

What do I type within GHCi to discover which GHC version it is using?

1 Answers
> import System.Info
> :browse
arch :: String
compilerName :: String
compilerVersion :: Data.Version.Version
os :: String
> compilerVersion
Version {versionBranch = [8,10], versionTags = []}
> compilerName
"ghc"

On top of that, GHCi prints its version on startup:

GHCi, version 8.10.3: https://www.haskell.org/ghc/  :? for help
Related