mirror of
https://github.com/iritmaximus/haskell.git
synced 2026-10-12 19:13:39 +03:00
Set3b: make the Integral type class (containing e.g. div) available
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user