summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2014-01-27 21:49:23 +0400
committerIgor Pashev <pashev.igor@gmail.com>2014-01-27 21:49:41 +0400
commit449ee465f63e7a0e418342914e9ab1ecaf4d47b1 (patch)
tree6c37b4675b46de09943772c432db3333d0ffb628
parentf9787e0c62fda6dbc1027776cdf1515622b974a2 (diff)
downloadgcd-449ee465f63e7a0e418342914e9ab1ecaf4d47b1.tar.gz
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.
-rw-r--r--gcd.hs2
1 files changed, 1 insertions, 1 deletions
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)