aabc53f2b0ccb100e87f10c68d1867c45ce464142ba725a5af565b5838632da1Created: 2023-12-19 03:40:10.302489 UTC
Size: 1502
Preview (limited to 512 bytes)
"module Data.Foldable.OrphansSpec (main, spec) where\n\nimport Test.Hspec\n\nimport Control.Applicative\nimport Data.Foldable as F\nimport Data.Monoid\nimport Data.Orphans ()\nimport Prelude\n\nmain :: IO ()\nmain = hspec spec\n\nspec :: Spec\nspec = do\n describe \"Either Foldable Instance\" $ do\n it \"foldMap returns mempty for a Left value\" $\n foldMap (`mappend` \"+\") (Left \"abc\" :: Either String String) `shouldBe` mempty\n it \"foldMap returns the result of the function on the Right value\" $\n foldMap (`mappe"
Casa is a service provided by the Haskell Foundation │ Originally developed by FP Complete