packages feed

ghc-exactprint-0.5.1.0: tests/examples/ghc8/T10971c.hs

{-# LANGUAGE MonomorphismRestriction, ExtendedDefaultRules #-}
module T10971c where

import Data.Traversable (fmapDefault)

f = \x -> length x
g = \f x -> fmapDefault f x
h = \f x -> (fmapDefault f x, length x)