From 449ee465f63e7a0e418342914e9ab1ecaf4d47b1 Mon Sep 17 00:00:00 2001 From: Igor Pashev Date: Mon, 27 Jan 2014 21:49:23 +0400 Subject: getArgs is in System.Environment by default in GHC gcd.hs:1:8: Could not find module `System' It is a member of the hidden package `haskell98-2.0.0.2'. Use -v to see a list of the files searched for. --- gcd.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcd.hs b/gcd.hs index c326115..078563d 100644 --- a/gcd.hs +++ b/gcd.hs @@ -1,4 +1,4 @@ -import System(getArgs) +import System.Environment(getArgs) gcd2 a 0 = a gcd2 a b = gcd2 b (rem b a) -- cgit v1.2.3