Set3b: make the Integral type class (containing e.g. div) available

This commit is contained in:
Joel Kaasinen
2021-01-12 17:52:54 +02:00
parent 6a495c0951
commit cd484a282a
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1 +1 @@
module Mooc.LimitedPrelude (Int,Integer,Bool(..),Ordering(..),Eq(..),Ord(..),Num(..),Maybe(..),otherwise,undefined) where
module Mooc.LimitedPrelude (Int,Integer,Bool(..),Ordering(..),Eq(..),Ord(..),Num(..),Integral(..),Maybe(..),otherwise,undefined) where
+1 -1
View File
@@ -26,7 +26,7 @@ tests = [(1,"buildList",[imports, ex1_buildList])
-- -- -- -- -- --
imports = $(importsOnly "Set3b" ["GHC.Num", "GHC.Base", "GHC.Classes", "GHC.Types",
imports = $(importsOnly "Set3b" ["GHC.Num", "GHC.Real", "GHC.Base", "GHC.Classes", "GHC.Types",
"Mooc.Todo", "Mooc.LimitedPrelude"])
ex1_buildList = property $ do