summaryrefslogtreecommitdiff
path: root/Utility
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2011-12-20 11:01:50 -0400
committerGravatar Joey Hess <joey@kitenet.net>2011-12-20 11:01:50 -0400
commitdc5ed8d3b677f3c45118f5d5a89ad528ede7b171 (patch)
treefa33333ccfbd28472a09eeacd75bf836a14c49b0 /Utility
parentf0f84dbe48764b043c3373dc0e6a014b3a400b49 (diff)
amusing name
This is both a partial Prelude that conflicts with the real one, and a way to guard against the Prelude's partial functions.
Diffstat (limited to 'Utility')
-rw-r--r--Utility/PartialPrelude.hs (renamed from Utility/BadPrelude.hs)6
1 files changed, 3 insertions, 3 deletions
diff --git a/Utility/BadPrelude.hs b/Utility/PartialPrelude.hs
index 04c9d9b0b..ad857196d 100644
--- a/Utility/BadPrelude.hs
+++ b/Utility/PartialPrelude.hs
@@ -1,11 +1,11 @@
-{- Some stuff from Prelude should not be used, as it tends to be a source
- - of bugs.
+{- Parts of the Prelude are partial functions, which are a common source of
+ - bugs.
-
- This exports functions that conflict with the prelude, which avoids
- them being accidentially used.
-}
-module Utility.BadPrelude where
+module Utility.PartialPrelude where
{- read should be avoided, as it throws an error
- Instead, use: readMaybe -}