projects
/
ghc-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2e92797
)
IsString is GHC-only (so why is it in the Prelude?)
author
Ross Paterson
<ross@soi.city.ac.uk>
Tue, 23 Jan 2007 18:30:07 +0000
(18:30 +0000)
committer
Ross Paterson
<ross@soi.city.ac.uk>
Tue, 23 Jan 2007 18:30:07 +0000
(18:30 +0000)
Prelude.hs
patch
|
blob
|
history
diff --git
a/Prelude.hs
b/Prelude.hs
index
cae9c25
..
7126561
100644
(file)
--- a/
Prelude.hs
+++ b/
Prelude.hs
@@
-80,8
+80,10
@@
module Prelude (
Functor(fmap),
mapM, mapM_, sequence, sequence_, (=<<),
Functor(fmap),
mapM, mapM_, sequence, sequence_, (=<<),
+#ifdef __GLASGOW_HASKELL__
-- ** String class
IsString(fromString),
-- ** String class
IsString(fromString),
+#endif
-- ** Miscellaneous functions
id, const, (.), flip, ($), until,
-- ** Miscellaneous functions
id, const, (.), flip, ($), until,