blob: 2ecb7671dafbdc75a08b0588b2173075a819b9c7 (
plain)
1
2
3
4
5
6
|
{-# LANGUAGE MonomorphismRestriction, NoExtendedDefaultRules #-}
module T10971b where
import Data.Traversable (fmapDefault)
f = \x -> length x
g = \f x -> fmapDefault f x
h = \f x -> (fmapDefault f x, length x)
|