Ross Paterson [Sat, 11 Nov 2006 11:32:48 +0000 (11:32 +0000)]
hide Data.Array.IO.Internals
It's hidden from haddock, and everything it exports is re-exported by
Data.Array.IO.
Malcolm.Wallace@cs.york.ac.uk [Fri, 10 Nov 2006 14:27:10 +0000 (14:27 +0000)]
add Data.Function
Ross Paterson [Fri, 10 Nov 2006 14:13:54 +0000 (14:13 +0000)]
add Data.Function
Ross Paterson [Fri, 10 Nov 2006 14:13:26 +0000 (14:13 +0000)]
whitespace only
Ross Paterson [Fri, 10 Nov 2006 14:11:20 +0000 (14:11 +0000)]
move fix to Data.Function
Ross Paterson [Fri, 10 Nov 2006 14:04:45 +0000 (14:04 +0000)]
import Prelude
Nils Anders Danielsson [Fri, 10 Nov 2006 12:25:03 +0000 (12:25 +0000)]
Added Data.Function (Trac ticket #979).
+ A module with simple combinators working solely on and with
functions.
+ The only new function is "on".
+ Some functions from the Prelude are re-exported.
Malcolm.Wallace@cs.york.ac.uk [Fri, 10 Nov 2006 11:32:22 +0000 (11:32 +0000)]
__hscore_long_path_size is not portable beyond GHC
Ross Paterson [Tue, 7 Nov 2006 14:03:59 +0000 (14:03 +0000)]
redefine writeFile and appendFile using withFile
Ross Paterson [Tue, 7 Nov 2006 13:45:10 +0000 (13:45 +0000)]
add withFile and withBinaryFile (#966)
Malcolm.Wallace@cs.york.ac.uk [Wed, 8 Nov 2006 11:12:15 +0000 (11:12 +0000)]
remove conflicting import for nhc98
Josef Svenningsson [Thu, 2 Nov 2006 12:20:52 +0000 (12:20 +0000)]
Add intercalate to Data.List (ticket #971)
Ross Paterson [Tue, 7 Nov 2006 13:39:02 +0000 (13:39 +0000)]
non-GHC: fix canonicalizeFilePath
I've also removed the #ifdef __GLASGOW_HASKELL__ from the proper
Windows versions of a few functions. These will need testing with
Hugs on Windows.
Simon Marlow [Tue, 7 Nov 2006 12:11:41 +0000 (12:11 +0000)]
enable canonicalizePath for non-GHC platforms
Simon Marlow [Tue, 7 Nov 2006 11:14:30 +0000 (11:14 +0000)]
Update documentation for hWaitForInput
See #972
Merge to 6.6 branch.
Samuel Bronson [Thu, 12 Oct 2006 12:55:53 +0000 (12:55 +0000)]
Use unchecked shifts to implement Data.Bits.rotate
This should get rid of those cases, maybe lower the size enough that the inliner will like it?
Ross Paterson [Mon, 6 Nov 2006 12:41:40 +0000 (12:41 +0000)]
fix Haddock module headers
Ross Paterson [Mon, 6 Nov 2006 11:56:28 +0000 (11:56 +0000)]
fix example in docs
Josef Svenningsson [Tue, 24 Oct 2006 17:23:57 +0000 (17:23 +0000)]
Add intercalate and split to Data.List
Ross Paterson [Thu, 2 Nov 2006 11:17:36 +0000 (11:17 +0000)]
Data.Generics.Basics is GHC-only
Malcolm.Wallace@cs.york.ac.uk [Thu, 2 Nov 2006 10:34:45 +0000 (10:34 +0000)]
#ifdef around non-portable Data.Generics.Basics
simonpj@microsoft [Wed, 1 Nov 2006 10:20:59 +0000 (10:20 +0000)]
Add deriving Data to Complex
Ross Paterson [Mon, 30 Oct 2006 23:08:42 +0000 (23:08 +0000)]
minor clarification of RandomGen doc
Ross Paterson [Mon, 30 Oct 2006 16:12:23 +0000 (16:12 +0000)]
rearrange docs a bit
Josef Svenningsson [Tue, 24 Oct 2006 17:23:57 +0000 (17:23 +0000)]
Add intercalate and split to Data.List
Simon Marlow [Fri, 27 Oct 2006 15:01:41 +0000 (15:01 +0000)]
Export pseq from Control.Parallel, and use it in Control.Parallel.Strategies
Simon Marlow [Fri, 27 Oct 2006 13:08:00 +0000 (13:08 +0000)]
`par` should be infixr 0
Alas, I didn't spot this due to lack of testing, and the symptom is
that an expression like x `par` y `seq z will have exactly the wrong
parallelism properties. The workaround is to add parantheses.
I think we could push this to the 6.6 branch.
Ross Paterson [Mon, 23 Oct 2006 16:39:25 +0000 (16:39 +0000)]
fix example in comment
simonpj@microsoft [Thu, 19 Oct 2006 16:04:08 +0000 (16:04 +0000)]
Use the new Any type for dynamics (GHC only)
Malcolm.Wallace@cs.york.ac.uk [Thu, 12 Oct 2006 13:52:00 +0000 (13:52 +0000)]
add Data.Sequence to nhc98 build
Malcolm.Wallace@cs.york.ac.uk [Thu, 12 Oct 2006 09:56:05 +0000 (09:56 +0000)]
Remove Data.FiniteMap, add Control.Applicative, Data.Traversable, and
Data.Foldable to the nhc98 build.
tharris@microsoft.com [Sat, 7 Oct 2006 12:32:53 +0000 (12:32 +0000)]
STM invariants
Samuel Bronson [Mon, 9 Oct 2006 02:09:06 +0000 (02:09 +0000)]
Inline shift in GHC's Bits instances for {Int,Word}{,8,16,32,64}
Ian Lynagh [Wed, 4 Oct 2006 16:53:55 +0000 (16:53 +0000)]
Don't create GHC.Prim when bootstrapping; we can't, and we don't need it
Don Stewart [Thu, 5 Oct 2006 01:17:03 +0000 (01:17 +0000)]
Data.ByteString: fix lazyness of take, drop & splitAt
ByteString.Lazy's take, drop and splitAt were too strict when demanding
a byte string. Spotted by Einar Karttunen. Thanks to him and to Bertram
Felgenhauer for explaining the problem and the fix.
brianlsmith@gmail.com [Sun, 17 Sep 2006 01:35:30 +0000 (01:35 +0000)]
Fix syntax error that prevents building Haddock documentation on Windows
Ross Paterson [Fri, 29 Sep 2006 10:27:43 +0000 (10:27 +0000)]
Hugs only: unbreak typeRepKey
Simon Marlow [Wed, 27 Sep 2006 14:58:11 +0000 (14:58 +0000)]
make hGetBufNonBlocking do something on Windows w/ -threaded
hGetBufNonBlocking will behave the same as hGetBuf on Windows now, which
is better than just crashing (which it did previously).
Simon Marlow [Wed, 27 Sep 2006 10:03:42 +0000 (10:03 +0000)]
add typeRepKey :: TypeRep -> IO Int
See feature request #880
Ross Paterson [Tue, 26 Sep 2006 13:58:43 +0000 (13:58 +0000)]
fix header comment
jeanphilippe.bernardy@gmail.com [Sun, 10 Sep 2006 16:24:43 +0000 (16:24 +0000)]
Add strict versions of insertWith and insertWithKey (Data.Map)
Ross Paterson [Sun, 10 Sep 2006 11:52:59 +0000 (11:52 +0000)]
doc tweaks, including more precise equations for evaluate
Don Stewart [Sat, 9 Sep 2006 05:01:11 +0000 (05:01 +0000)]
Sync Data.ByteString with stable branch
This patch:
* hides the LPS constructor (its in .Base if you need it)
* adds functions to convert between strict and lazy bytestrings
* and adds readInteger
Ross Paterson [Mon, 4 Sep 2006 23:14:25 +0000 (23:14 +0000)]
Typeable1 instances for STM and TVar
Ross Paterson [Mon, 4 Sep 2006 22:39:44 +0000 (22:39 +0000)]
remove obsolete Hugs stuff
John Goerzen [Fri, 1 Sep 2006 14:36:54 +0000 (14:36 +0000)]
Cleaner isInfixOf suggestion from Ross Paterson
John Goerzen [Thu, 31 Aug 2006 15:15:56 +0000 (15:15 +0000)]
New function isInfixOf that searches a list for a given sublist
Example:
isInfixOf "Haskell" "I really like Haskell." -> True
isInfixOf "Ial" "I really like Haskell." -> False
This function was first implemented in MissingH as MissingH.List.contains
jeanphilippe.bernardy@gmail.com [Sun, 3 Sep 2006 13:34:40 +0000 (13:34 +0000)]
Better doc on Data.Map.lookup: explain what the monad is for
Simon Marlow [Fri, 1 Sep 2006 15:00:16 +0000 (15:00 +0000)]
fix hDuplicateTo on Windows
deja vu - I'm sure I remember fixing this before...
Ross Paterson [Thu, 31 Aug 2006 12:52:19 +0000 (12:52 +0000)]
mark nhc98 import hack
Simon Marlow [Thu, 31 Aug 2006 10:42:00 +0000 (10:42 +0000)]
remove some outdated comments
Malcolm.Wallace@cs.york.ac.uk [Thu, 31 Aug 2006 10:11:05 +0000 (10:11 +0000)]
import Control.Arrow.ArrowZero to help nhc98's type checker
Malcolm.Wallace@cs.york.ac.uk [Thu, 31 Aug 2006 10:10:16 +0000 (10:10 +0000)]
remove Text.Regex(.Posix) from nhc98 build
Ross Paterson [Wed, 30 Aug 2006 16:35:21 +0000 (16:35 +0000)]
add Data.Foldable.{msum,asum}, plus tweaks to comments
Ross Paterson [Wed, 30 Aug 2006 13:41:23 +0000 (13:41 +0000)]
fix doc typo
Ross Paterson [Wed, 30 Aug 2006 13:38:05 +0000 (13:38 +0000)]
add Data.Foldable.{for_,forM_} and Data.Traversable.{for,forM}
generalizing Control.Monad.{forM_,forM}
simonpj@microsoft [Mon, 8 May 2006 14:27:26 +0000 (14:27 +0000)]
Make length a good consumer
Make length into a good consumer. Fixes Trac bug #707.
(Before length simply didn't use foldr.)
Don Stewart [Thu, 24 Aug 2006 08:11:18 +0000 (08:11 +0000)]
Add Control.Monad.forM and forM_
flip mapM_ is more and more common, I find. Several suggestions have
been made to add this, as foreach or something similar. This patch
does just that:
forM :: (Monad m) => [a] -> (a -> m b) -> m [b]
forM_ :: (Monad m) => [a] -> (a -> m b) -> m ()
So we can write:
Prelude Control.Monad> forM_ [1..4] $ \x -> print x
1
2
3
4
Don Stewart [Mon, 28 Aug 2006 01:15:15 +0000 (01:15 +0000)]
Hide internal module from haddock in Data.ByteString
Ross Paterson [Sun, 27 Aug 2006 17:04:07 +0000 (17:04 +0000)]
add advice on avoiding import ambiguities
Ross Paterson [Sun, 27 Aug 2006 16:40:44 +0000 (16:40 +0000)]
expand advice on importing these modules
Ross Paterson [Sun, 27 Aug 2006 11:51:40 +0000 (11:51 +0000)]
add Haddock marker
Don Stewart [Sat, 26 Aug 2006 12:43:46 +0000 (12:43 +0000)]
Clarify how one hides Prelude.catch
User feedback indicated that an example was required, of how to hide
Prelude.catch, so add such an example to the docs
Ian Lynagh [Fri, 25 Aug 2006 13:49:36 +0000 (13:49 +0000)]
Workaround for OSes that don't have intmax_t and uintmax_t
OpenBSD (and possibly others) do not have intmax_t and uintmax_t types:
http://www.mail-archive.com/haskell-prime@haskell.org/msg01548.html
so substitute (unsigned) long long if we have them, otherwise
(unsigned) long.
Simon Marlow [Fri, 25 Aug 2006 11:06:10 +0000 (11:06 +0000)]
add docs for par
Ross Paterson [Thu, 24 Aug 2006 14:05:04 +0000 (14:05 +0000)]
document minimal complete definition for Bits
Simon Marlow [Thu, 24 Aug 2006 13:23:11 +0000 (13:23 +0000)]
C regex library bits have moved to the regex-posix package
Esa Ilari Vuokko [Wed, 23 Aug 2006 00:31:26 +0000 (00:31 +0000)]
Add shared Typeable support (ghc only)
Simon Marlow [Thu, 24 Aug 2006 12:12:23 +0000 (12:12 +0000)]
this should have been removed with the previous patch
Simon Marlow [Thu, 24 Aug 2006 09:46:15 +0000 (09:46 +0000)]
remove Text.Regx & Text.Regex.Posix
These are subsumed by the new regex-base, regex-posix and regex-compat
packages.
Don Stewart [Thu, 24 Aug 2006 04:13:26 +0000 (04:13 +0000)]
explicitly tag Data.ByteString rules with the FPS prefix.
Don Stewart [Thu, 24 Aug 2006 01:26:11 +0000 (01:26 +0000)]
Add spec rules for sections in Data.ByteString
Don Stewart [Wed, 23 Aug 2006 14:33:38 +0000 (14:33 +0000)]
Sync Data.ByteString with current stable branch, 0.7
Simon Marlow [Wed, 23 Aug 2006 09:50:59 +0000 (09:50 +0000)]
add notes about why copyFile doesn't remove the target
Simon Marlow [Tue, 22 Aug 2006 12:19:09 +0000 (12:19 +0000)]
copyFile: try removing the target file before opening it for writing
Simon Marlow [Tue, 22 Aug 2006 12:19:09 +0000 (12:19 +0000)]
copyFile: try removing the target file before opening it for writing
Ross Paterson [Mon, 21 Aug 2006 15:21:51 +0000 (15:21 +0000)]
add alternative functors and extra instances
* Alternative class, for functors with a monoid
* instances for Const
* instances for arrows
Simon Marlow [Mon, 21 Aug 2006 13:16:12 +0000 (13:16 +0000)]
generate Haddock docs on all platforms
Ross Paterson [Sat, 19 Aug 2006 17:39:54 +0000 (17:39 +0000)]
remove extra comma from import
Ross Paterson [Fri, 18 Aug 2006 17:03:28 +0000 (17:03 +0000)]
fix docs for withC(A)StringLen
Malcolm.Wallace@cs.york.ac.uk [Fri, 18 Aug 2006 13:08:10 +0000 (13:08 +0000)]
use Haskell'98 compliant indentation in do blocks
Malcolm.Wallace@cs.york.ac.uk [Fri, 18 Aug 2006 13:07:14 +0000 (13:07 +0000)]
use correct names of IOArray operations for nhc98
Ross Paterson [Thu, 17 Aug 2006 23:50:41 +0000 (23:50 +0000)]
add mapMaybe and mapEither, plus WithKey variants
Malcolm.Wallace@cs.york.ac.uk [Thu, 17 Aug 2006 13:55:02 +0000 (13:55 +0000)]
remove Text.Html from nhc98 build
Ross Paterson [Tue, 15 Aug 2006 19:06:09 +0000 (19:06 +0000)]
eliminate more HOST_OS tests
Ross Paterson [Sun, 13 Aug 2006 18:44:35 +0000 (18:44 +0000)]
Hugs only: disable unused process primitives
These were the cause of Hugs bug #30, I think, and weren't used by Hugs anyway.
Ross Paterson [Sat, 12 Aug 2006 10:38:35 +0000 (10:38 +0000)]
markup fix to Data.HashTable
Ross Paterson [Sat, 12 Aug 2006 08:27:02 +0000 (08:27 +0000)]
revert removal of ghcconfig.h from package.conf.in
as it's preprocessed with -undef (pointed out by Esa Ilari Vuokko)
Ross Paterson [Fri, 11 Aug 2006 23:15:21 +0000 (23:15 +0000)]
fix Data.HashTable for non-GHC
Simon Marlow [Fri, 11 Aug 2006 15:23:50 +0000 (15:23 +0000)]
remove deprecated 'withObject'
Simon Marlow [Fri, 11 Aug 2006 15:10:24 +0000 (15:10 +0000)]
Jan-Willem Maessen's improved implementation of Data.HashTable
Rather than incrementally enlarging the hash table, this version
just does it in one go when the table gets too full.
sven.panne@aedion.de [Fri, 11 Aug 2006 14:46:29 +0000 (14:46 +0000)]
Warning police: Make some prototypes from the RTS known
sven.panne@aedion.de [Fri, 11 Aug 2006 14:22:08 +0000 (14:22 +0000)]
Warning police: Removed useless catch-all clause
Ross Paterson [Fri, 11 Aug 2006 12:40:30 +0000 (12:40 +0000)]
reduce dependency on ghcconfig.h
The only remaining use is in cbits/dirUtils.h, which tests solaris2_HOST_OS
(Also System.Info uses ghcplatform.h and several modules import MachDeps.h
to get SIZEOF_* and ALIGNMENT_* from ghcautoconf.h)
Ross Paterson [Thu, 10 Aug 2006 18:29:02 +0000 (18:29 +0000)]
(non-GHC only) track MArray interface change
Simon Marlow [Thu, 10 Aug 2006 11:30:17 +0000 (11:30 +0000)]
move Text.Html to a separate package
Simon Marlow [Thu, 10 Aug 2006 11:28:33 +0000 (11:28 +0000)]
bump version to 2.0
Simon Marlow [Wed, 9 Aug 2006 15:38:10 +0000 (15:38 +0000)]
Remove deprecated Data.FiniteMap and Data.Set interfaces
Ross Paterson [Wed, 9 Aug 2006 12:42:59 +0000 (12:42 +0000)]
move altzone test from ghc to base package
Ross Paterson [Wed, 9 Aug 2006 12:38:12 +0000 (12:38 +0000)]
remove unnecessary #include "ghcconfig.h"