For example, if I have these weird types:
{-# LANGUAGE TypeFamilies #-}
type family WeirdFamily a
type instance WeirdFamily () = Int
type instance WeirdFamily (a, b) = (a, WeirdFamily b)
Can I display (e.g. in GHCi) the result of WeirdFamily (Bool, (Char, ()))
by typing something like:
:t WeirdFamily (Bool, (Char, ()))
into GHCi?
kind!
it says "also print the normalised type" - is there some documentation for what a "normalised type" is somewhere? – Pence