486bd7439e2fce914f391a8c86a156c57a92b9f2712a4047a0d0dc78bc31e3d8

Download raw

Created: 2023-12-19 03:40:10.302489 UTC

Size: 436

Preview (limited to 512 bytes)

"module Data.Monoid.OrphansSpec (main, spec) where\n\nimport Test.Hspec\nimport Data.Monoid\nimport Data.Orphans ()\n\nmain :: IO ()\nmain = hspec spec\n\nspec :: Spec\nspec = do\n describe \"Num (Sum a) instance\" $\n it \"allows a Sum value to be created from a number\" $\n 1 `shouldBe` Sum (1 :: Int)\n describe \"Num (Product a) instance\" $\n it \"allows a Product value to be created from a number\" $\n 1 `shouldBe` Product (1 :: Int)\n"


Casa is a service provided by the Haskell Foundation │ Originally developed by FP Complete