1 {-# OPTIONS_GHC -fno-warn-missing-signatures #-}
2 module HUnit.MonoFunctor where
5 import Data.Proxy (Proxy(..))
6 import qualified Data.MonoTraversable as MT
8 import Language.Symantic.Lib
9 import Testing.Compiling
17 , Proxy MT.MonoFunctor
20 (==>) = readTe @() @SS
23 hunits = testGroup "MonoFunctor"
24 [ "omap not (Just True)" ==> Right (tyMaybe tyBool, Just False, "omap (\\x0 -> not x0) (Just True)")
25 , "omap Char.toUpper ['a', 'b', 'c']" ==> Right (tyList tyChar, "ABC", "omap (\\x0 -> Char.toUpper x0) ('a' : 'b' : 'c' : [])" )