Yes, in GHCi you can use :info:
Prelude> :info String
type String = [Char] -- Defined in ‘GHC.Base’
Prelude>
EDIT and other examples, including an example with an alias:
Prelude> :info Rational
type Rational = GHC.Real.Ratio Integer -- Defined in ‘GHC.Real’
Prelude> :i Double
data Double = GHC.Types.D
-- Defined in ‘GHC.Types’
source
share