diff options
| author | Igor Pashev <pashev.igor@gmail.com> | 2014-01-27 21:49:23 +0400 |
|---|---|---|
| committer | Igor Pashev <pashev.igor@gmail.com> | 2014-01-27 21:49:41 +0400 |
| commit | 449ee465f63e7a0e418342914e9ab1ecaf4d47b1 (patch) | |
| tree | 6c37b4675b46de09943772c432db3333d0ffb628 | |
| parent | f9787e0c62fda6dbc1027776cdf1515622b974a2 (diff) | |
| download | gcd-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.hs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1,4 +1,4 @@ -import System(getArgs) +import System.Environment(getArgs) gcd2 a 0 = a gcd2 a b = gcd2 b (rem b a) |
