base: Update doctest outputs and setups
This PR updates the outputs of the various doctests in the base
and ghc-internal
for the docspec:base
rule to pass.
Moreover, some extraneous examples in Data.Functor have been removed because they are a duplicate of the fmap
method's documentation.
Closes #24832 (closed)
Edited by Hécate Kleidukos