Ticket #4189: composition.patch

File composition.patch, 43.2 KB (added by uzytkownik, 3 years ago)

Patch for composition of function in functors

Line 
11 patch for repository http://darcs.haskell.org/packages/base:
2
3Sun Aug  1 15:47:48 CEST 2010  Maciej Piechotka <uzytkownik2@gmail.com>
4  * Add function composition in functor function
5
6New patches:
7
8[Add function composition in functor function
9Maciej Piechotka <uzytkownik2@gmail.com>**20100801134748
10 Ignore-this: 4056cbf21bf6b320bbbfe9c3861d8dae
11] {
12hunk ./Control/Applicative.hs 33
13         -- * Instances
14         Const(..), WrappedMonad(..), WrappedArrow(..), ZipList(..),
15         -- * Utility functions
16-        (<$>), (<$), (<**>),
17+        (<$>), (<$), (<.>), (<**>),
18         liftA, liftA2, liftA3,
19         optional,
20         ) where
21hunk ./Data/Functor.hs 19
22       Functor(fmap),
23       (<$),
24       (<$>),
25+      (<.>),
26     ) where
27 
28 #ifdef __GLASGOW_HASKELL__
29hunk ./Data/Functor.hs 29
30 (<$) =  fmap . const
31 #endif
32 
33-infixl 4 <$>
34+infixl 4 <$>, <.>
35 
36 -- | An infix synonym for 'fmap'.
37 (<$>) :: Functor f => (a -> b) -> f a -> f b
38hunk ./Data/Functor.hs 35
39 (<$>) = fmap
40 
41+-- | Function composition in functor.
42+(<.>) :: Functor f => (b -> c) -> (a -> f b) -> a -> f c
43+(<.>) = (.) . fmap
44+
45}
46
47Context:
48
49[move Monad and MonadFix instances for Either from mtl (proposal #4159)
50Ross Paterson <ross@soi.city.ac.uk>**20100729122449
51 Ignore-this: b0f8cd8643679948d1da43bd7c08c5aa
52 
53 The Monad and MonadFix instances for Either (formerly in the mtl
54 package) are moved to Control.Monad.Instances and Control.Monad.Fix
55 respectively.  The Monad instance is still an orphan, to retain Haskell
56 98 compatibility, but the MonadFix instance is together with its class.
57 The Error constraint is removed from both instances, and the default
58 definition of fail is used.
59]
60[Remove egregious ghc-ish from Foreign.Marshal
61Malcolm.Wallace@me.com**20100722075449]
62[add numSparks :: IO Int (#4167)
63Simon Marlow <marlowsd@gmail.com>**20100720153858
64 Ignore-this: 4543f57a7f137f8cae1c3efc5c023a9b
65]
66[add unsafeLocalState from Haskell 2010, and docs
67Simon Marlow <marlowsd@gmail.com>**20100720082819
68 Ignore-this: dcd79fb546ebe29ddff4df279ec2f38
69]
70[docs: mention that Foreign.unsafePerformIO is deprecated
71Simon Marlow <marlowsd@gmail.com>**20100720082804
72 Ignore-this: 4cfebb8f2a1cddc7d15e94e31b2befa4
73 We can't actually deprecate it without introducing a name clash
74 between Foreign.unsafePerformIO and System.IO.Unsafe.unsafePerformIO
75]
76[doc formatting fix
77Simon Marlow <marlowsd@gmail.com>**20100714151347
78 Ignore-this: 255edef607dcd290e198015240b5d125
79]
80[add module intro from Haskell 2010
81Simon Marlow <marlowsd@gmail.com>**20100714115853
82 Ignore-this: 59b5a07507a059ccccdff2dfb6490a27
83]
84[document exception-overriding behaviour in withFile
85Simon Marlow <marlowsd@gmail.com>**20100714104107
86 Ignore-this: f99e641ea2f46d872cb7420a62fa50dc
87]
88[doc: use "finalizer" consistently
89Simon Marlow <marlowsd@gmail.com>**20100714103649
90 Ignore-this: bdfea40f31dc5045fdbc6e12266dda93
91]
92[clarify meaning of bit
93Simon Marlow <marlowsd@gmail.com>**20100714103310
94 Ignore-this: 521b031f1e83ef34ca03d9aa9273df8a
95]
96[note shortcutting behaviour of any/all/elem
97Simon Marlow <marlowsd@gmail.com>**20100714103304
98 Ignore-this: 1605f362ba0712ad1cea1309636f3ea1
99]
100[add cast{C,U}CharToChar and castCharTo{C,U}Char, from Haskell 2010
101Simon Marlow <marlowsd@gmail.com>**20100713132515
102 Ignore-this: 9b1da827016c7b08668078b45964e9de
103]
104[mention that IntPtr and WordPtr can be marshalled to/from intptr_t and uintptr_t
105Simon Marlow <marlowsd@gmail.com>**20100713132403
106 Ignore-this: dcc112a72746ba117a84fa29e71b6800
107]
108[Partial fix for Trac #4136
109simonpj@microsoft.com**20100707135725
110 Ignore-this: 9548eeb3187d9779d4e5c858a0f35354
111 
112 In 'choose' (which is a library function designed specifically
113 to support derived instances of Read), we must match Symbol
114 as well as Ident, for nullary constructors that (wierdly) are
115 symbols.
116]
117[Fix typo in documentation
118Simon Hengel <simon.hengel@wiktory.org>**20100711141648
119 Ignore-this: c052dd8a681832ef598a323ad55eae3a
120]
121[Remove duplicated word in documentation
122Simon Hengel <simon.hengel@wiktory.org>**20100711072703
123 Ignore-this: fb3732dc57be55f14168792f923433
124]
125[Allow nhc98 to cope with recent changes to Control.Exception.
126Malcolm.Wallace@me.com**20100710170940]
127[ New asynchronous exception control API (base parts)
128Simon Marlow <marlowsd@gmail.com>**20100708152735
129 Ignore-this: 71a4811804f04259f1fe739f8863beaf
130   
131 As discussed on the libraries/haskell-cafe mailing lists
132   http://www.haskell.org/pipermail/libraries/2010-April/013420.html
133 
134 This is a replacement for block/unblock in the asychronous exceptions
135 API to fix a problem whereby a function could unblock asynchronous
136 exceptions even if called within a blocked context.
137 
138 The new terminology is "mask" rather than "block" (to avoid confusion
139 due to overloaded meanings of the latter).
140 
141 The following is the new API; the old API is deprecated but still
142 available for the time being.
143 
144 Control.Exception
145 -----------------
146 
147 mask  :: ((forall a. IO a -> IO a) -> IO b) -> IO b
148 mask_ :: IO a -> IO a
149 
150 uninterruptibleMask :: ((forall a. IO a -> IO a) -> IO b) -> IO b
151 uninterruptibleMask_ :: IO a -> IO
152 
153 getMaskingState :: IO MaskingState
154 
155 data MaskingState
156   = Unmasked
157   | MaskedInterruptible
158   | MaskedUninterruptible
159 
160 
161 Control.Concurrent
162 ------------------
163 
164 forkIOUnmasked :: IO () -> IO ThreadId
165]
166[Async-exception safety, and avoid space leaks
167Simon Marlow <marlowsd@gmail.com>**20100708145819
168 Ignore-this: dbfd0e61551e9e7b4fc1c6fe9b9a83de
169 Patch submitted by: Bas van Dijk <v.dijk.bas@gmail.com>
170 Modified slightly by me to remove non-functional changes.
171]
172[Async-exception safety, and avoid space leaks
173Simon Marlow <marlowsd@gmail.com>**20100708103154
174 Ignore-this: 190c3ac8f6633231624da8cf1316588
175 Patch submitted by: Bas van Dijk <v.dijk.bas@gmail.com>
176 Modified slightly by me to remove non-functional changes.
177]
178[Fix a few places where we forgot to close the text codecs (#4029)
179Simon Marlow <marlowsd@gmail.com>**20100702130210
180 Ignore-this: 2e81a4b4cb343181cef34b0f9e2ded47
181 Each time you invoke :load in GHCi it resets the CAFs, including
182 stdin/stdout/stderr, and each of these was allocating a new iconv_t.
183]
184[remove docs from Monad that belonged on the instance for MonadPlus IO
185Simon Marlow <marlowsd@gmail.com>**20100701154203
186 Ignore-this: 59df02542a7ac9421552a2155d848d27
187]
188[docs: unqualify Prelude.IO
189Simon Marlow <marlowsd@gmail.com>**20100701153817
190 Ignore-this: 73b0202876c827e7a5b4a5ce74e724c4
191]
192[unqualify Float and Double
193Simon Marlow <marlowsd@gmail.com>**20100701142727
194 Ignore-this: cbe89d31a00bf49996a33933324fca17
195]
196[extract information about Data.Time from docs for CTime
197Simon Marlow <marlowsd@gmail.com>**20100701142415
198 Ignore-this: c48c9609b8d36e43e033a7bea81d6f17
199]
200[doc typo
201Simon Marlow <marlowsd@gmail.com>**20100701142354
202 Ignore-this: 17a1fd703831c888975ff63fbfa3a9b2
203]
204[peekArray docs: remove mentions of "this version" and "previous version"
205Simon Marlow <marlowsd@gmail.com>**20100701125333
206 Ignore-this: 39a744874258670bd935ba9e38390939
207]
208[doc typo
209Simon Marlow <marlowsd@gmail.com>**20100701124154
210 Ignore-this: 98f5c286e38c2c34c96b05d5e8bc5ad9
211]
212[doc typo
213Simon Marlow <marlowsd@gmail.com>**20100701124128
214 Ignore-this: 10a4314ec7aed336701fc616fb574ebc
215]
216[doc typo
217Simon Marlow <marlowsd@gmail.com>**20100701123715
218 Ignore-this: c4909a7bf7163460ee5d32f58812041e
219]
220[doc wibble: Haskell 98 I/O Error -> 'IOError'
221Simon Marlow <marlowsd@gmail.com>**20100701123612
222 Ignore-this: bf373df781acbc575e4ffe3b7e6059ae
223]
224[doc typo
225Simon Marlow <marlowsd@gmail.com>**20100701123014
226 Ignore-this: 16aaccae48ef3101adf78ea5b0d5a8fd
227]
228[Haddock hacks to fix whitespace consistency
229Simon Marlow <marlowsd@gmail.com>**20100701121631
230 Ignore-this: 61c58dec52a31fd2d3f331a87d2f903f
231]
232[use '==' consistently rather than '->' in examples
233Simon Marlow <marlowsd@gmail.com>**20100701121616
234 Ignore-this: 472b0a05a85d34d9712186040e1636d9
235]
236[doc wibble: remove confusing mention of "Prelude"
237Simon Marlow <marlowsd@gmail.com>**20100701113308
238 Ignore-this: 232283d0096d01cd45e9b3c5c1e63a6d
239]
240[doc wibble: nonstrict -> non-strict
241Simon Marlow <marlowsd@gmail.com>**20100701113253
242 Ignore-this: 4264f0ab23a0835fc13c6e8601d6b743
243]
244[doc whitespace
245Simon Marlow <marlowsd@gmail.com>**20100701112242
246 Ignore-this: 777a95b1d1140c61d3ab95d5eb5809e7
247]
248[move the doc for 'Char' to its new home in ghc-prim:GHC.Types
249Simon Marlow <marlowsd@gmail.com>**20100629134150
250 Ignore-this: 7687db0077a29498349bfb4b44983985
251]
252[doc wibble
253Simon Marlow <marlowsd@gmail.com>**20100629122608
254 Ignore-this: 9a909e5d015332dc445bd9592e6e386d
255]
256[doc updates in System.IO
257Simon Marlow <marlowsd@gmail.com>**20100629122118
258 Ignore-this: 2257ec1cc4cdb8b7804cfa1f3cf32753
259]
260[doc wibble
261Simon Marlow <marlowsd@gmail.com>**20100625134858
262 Ignore-this: 64c50f29df6c389273b818918fe7033a
263]
264[doc wibbles
265Simon Marlow <marlowsd@gmail.com>**20100624154614
266 Ignore-this: b364aad53beea6e741fee2824459b6e8
267]
268[Fix haddock formatting
269Ian Lynagh <igloo@earth.li>**20100625222623]
270[Give nub's complexity in the haddock docs; fixes #4086
271Ian Lynagh <igloo@earth.li>**20100625222059]
272[correct docs for exitWith: only stdout/stderr are flushed, not all Handles
273Simon Marlow <marlowsd@gmail.com>**20100624130506
274 Ignore-this: 33a938dad8f0bc061572e2ec571cacc7
275]
276[fix docs for isSpace
277Simon Marlow <marlowsd@gmail.com>**20100624130444
278 Ignore-this: b35ff080dbb9833176f08e39dbd9ff6d
279]
280[make the hGetBuf/hPutBuf family work with non-FD Handles (#4144)
281Simon Marlow <marlowsd@gmail.com>**20100624130425
282 Ignore-this: 8200f0208a9b1b1cf4824f343d75819a
283]
284[nit in docs for accumArray
285Simon Marlow <marlowsd@gmail.com>**20100622121131
286 Ignore-this: c066a456c40907e767df10c3990f35ff
287]
288[add doc for the ExitCode type
289Simon Marlow <marlowsd@gmail.com>**20100622120930
290 Ignore-this: 99c34332be7f3565da844528b470054a
291]
292[remove extraneous info from docs for Array
293Simon Marlow <marlowsd@gmail.com>**20100622120921
294 Ignore-this: e2a3f5e84fc23eb7bae911f0680e805e
295]
296[add an INLINE to the list version of traverse, to enable fusion
297Simon Marlow <marlowsd@gmail.com>**20100608082531
298 Ignore-this: ea98cdc3308b406bb04c0f7a38c4424b
299]
300[Don't define the C localeEncoding on Windows
301Ian Lynagh <igloo@earth.li>**20100620202342
302 Ignore-this: c4992f6832a391b0cccc5a9b7d643976
303 (it causes warnings, and isn't used)
304]
305[add Applicative instance for Either (proposal #4095)
306Ross Paterson <ross@soi.city.ac.uk>**20100617225110
307 Ignore-this: 50262ec4700dc16efec5755be5b308c5
308 
309 This is not the only possible instance for Either, but this one is
310 compatible with the usual Monad instance.
311]
312[Use libcharset instead of nl_langinfo(CODESET) if possible.
313pho@cielonegro.org**20100519013112
314 Ignore-this: 4c1e278e022a3d276848afc1dcba4425
315 
316 nl_langinfo(CODESET) doesn't always return standardized variations of the encoding names. Use libcharset if possible, which is shipped together with GNU libiconv.
317]
318[Add a note about the interruptibility of throwTo.
319Simon Marlow <marlowsd@gmail.com>**20100615112720
320 Ignore-this: ae9fabe95310d7c364e95f7784793485
321]
322[docs: note that hGetBufNonBlocking isn't non-blocking on Windows
323Simon Marlow <marlowsd@gmail.com>**20100615112547
324 Ignore-this: 4f3e5213e142149affe08c5123d6efea
325]
326[don't depend on Prelude (#4122)
327Simon Marlow <marlowsd@gmail.com>**20100615105631
328 Ignore-this: 1a3fd49b103fe31cbb453f302c18767f
329]
330[Don't depend on Prelude (#4123)
331Simon Marlow <marlowsd@gmail.com>**20100615105401
332 Ignore-this: cc7616d85a1637bc7621b4f2bc181c0e
333]
334[bump version to 4.3.0.0, added instance MonadPlus STM
335Simon Marlow <marlowsd@gmail.com>**20100601144831
336 Ignore-this: 7c3cf7574499c4267372493f2636dc0
337]
338[Moved MonadPlus instance for STM from Control.Monad.STM to GHC.Conc to avoid an orphaned instance
339Bas van Dijk <v.dijk.bas@gmail.com>**20100516160651
340 Ignore-this: 651b852942b2fae2b93f996e39239b8f
341]
342[Added Applicative and Alternative instances for STM
343Bas van Dijk <v.dijk.bas@gmail.com>**20100516171756
344 Ignore-this: 567003bc4040bc97105cda4d31ebf04a
345]
346[expand Foldable instance for Array
347Ross Paterson <ross@soi.city.ac.uk>**20100602212154
348 Ignore-this: 9bd9e9666a9400431eb92352244fe7e7
349]
350[doc comment illustrating Foldable(foldr)
351Ross Paterson <ross@soi.city.ac.uk>**20100527150833
352 Ignore-this: 8f27d889379803f3ba86d6e928428f3c
353]
354[fix syntax in doc comments
355Ross Paterson <ross@soi.city.ac.uk>**20100527150757
356 Ignore-this: cb78da51d60ff6863dc395f1a892c103
357]
358[export hGetBufSome (#4046)
359Simon Marlow <marlowsd@gmail.com>**20100520093538
360 Ignore-this: f467fad9722e27edfad6b3dd75290e7b
361]
362[hWaitForInput: don't try to read from the device (#4078)
363Simon Marlow <marlowsd@gmail.com>**20100517133741
364 Ignore-this: 55ec33b03397380259b91e4ca62207a6
365 readTextDeviceNonBlocking is not non-blocking on Windows
366]
367[hSetEncoding: change the encoding on both read and write sides (#4066)
368Simon Marlow <marlowsd@gmail.com>**20100514124628
369 Ignore-this: 5b9e9caef06356d0296c584159709ebb
370]
371[Correct haddock formatting.
372Adam Vogt <vogt.adam@gmail.com>**20100423022103
373 Ignore-this: d2622339302048fda48080f7d5ce4a2f
374]
375[Fix for hGetBufSome
376Simon Marlow <marlowsd@gmail.com>**20100505135637
377 Ignore-this: 2019680f8fb223956cacfcf0d046f133
378]
379[improve the documentation for throwTo and killThread (#3884)
380Simon Marlow <marlowsd@gmail.com>**20100505135600
381 Ignore-this: ce881d96ddb729acb6ca09c779975e7d
382]
383[elaborate the docs for unsafePerformIO a bit
384Simon Marlow <marlowsd@gmail.com>**20100505101249
385 Ignore-this: 1cec3f67560b672c64c5a0dcf9a79eb7
386]
387[add Typeable instance
388Simon Marlow <marlowsd@gmail.com>**20100504152815
389 Ignore-this: 6d9cf9d62f0ef17fa459bf213a04098
390]
391[Add hGetBufSome, like hGetBuf but can return short reads
392Simon Marlow <marlowsd@gmail.com>**20100504152759
393 Ignore-this: 195c905b43f8d9505029364e2c5b18e
394]
395[Add swap (#3298)
396Simon Marlow <marlowsd@gmail.com>**20100504095339
397 Ignore-this: 13b007dc4594ce252997ec6fa0bbd976
398]
399[inline allocaArray0, to fix withCString benchmark
400Simon Marlow <marlowsd@gmail.com>**20100423124729
401 Ignore-this: 35c96816acc2f3aaf9dd29f7995fa6f0
402]
403[raise asynchronous exceptions asynchronously (#3997)
404Simon Marlow <marlowsd@gmail.com>**20100421094932
405 Ignore-this: 6d987d93d382c0f69c68c326312abd6b
406]
407[add NOINLINE pragmas for stdin/stdout/stderr
408Simon Marlow <marlowsd@gmail.com>**20100421082041
409 Ignore-this: 3fc130268ec786f28d945858d6690986
410]
411[INLINE alloca and malloc
412Simon Marlow <marlowsd@gmail.com>**20100419135333
413 Ignore-this: b218bd611f18721b1505a8c0b9e6a16a
414 See discussion on glasgow-haskell-users:
415   http://www.haskell.org/pipermail/glasgow-haskell-users/2010-April/018740.html
416]
417[Move comment closer to the offending line
418Matthias Kilian <kili@outback.escape.de>**20100419155421
419 Ignore-this: b34a1d7affd66f67d210df2377b585d9
420]
421[Ignore the return code of c_fcntl_write again
422Matthias Kilian <kili@outback.escape.de>**20100415140452
423 Ignore-this: 266d8ba02cc3cb79c85629b3528261c9
424 
425 The return code has been ignored in the past on purpose, because
426 O_NONBLOCK will fail on BSDs for some special files. This fixes the
427 problem mentioned in
428 http://www.haskell.org/pipermail/glasgow-haskell-users/2010-April/018698.html
429 
430]
431[Fix bitrot in IO debugging code
432Ian Lynagh <igloo@earth.li>**20100413134339
433 Also switched to using Haskell Bools (rather than CPP) to en/disable it,
434 so it shouldn't break again in the future.
435]
436[Tiny code tidy-up
437Ian Lynagh <igloo@earth.li>**20100413011147]
438[remove old/wrong comment
439Simon Marlow <marlowsd@gmail.com>**20100325161403
440 Ignore-this: e6e377d44af48c4162d17d55bdf3f821
441]
442[withThread: block asynchronous exceptions before installing exception handler.
443Bas van Dijk <v.dijk.bas@gmail.com>**20100329131624
444 Ignore-this: be5aeb47dbd73807b5f94df11afbb81c
445 Note that I don't unblock the given io computation. Because AFAICS
446 withThread is only called with 'waitFd' which only performs an FFI
447 call which can't receive asynchronous exceptions anyway.
448]
449[runInUnboundThread: block asynchronous exceptions before installing exception handler
450Bas van Dijk <v.dijk.bas@gmail.com>**20100329131549
451 Ignore-this: a00c5e32fe3981ff87bedd367a69051e
452]
453[fix the deprecation message (GHC.IO.Handle.Base -> GHC.IO.Handle)
454Simon Marlow <marlowsd@gmail.com>**20100330121137
455 Ignore-this: 4ca8500a01ac93454507aa8f9dd001f9
456]
457[Make SampleVar an abstract newtype
458Bas van Dijk <v.dijk.bas@gmail.com>**20100318200349
459 Ignore-this: 27939e2a064b75e71cb146117346be30
460]
461[Fix bugs regarding asynchronous exceptions and laziness in Control.Concurrent.SampleVar
462Bas van Dijk <v.dijk.bas@gmail.com>**20100318200104
463 Ignore-this: 7376b2a3afe155daf233a8f1ddc0a7a
464  - Block asynchronous exceptions at the right places
465  - Force thunks before putting them in a MVar
466]
467[Write the thunk 'next' to the MVar
468Bas van Dijk <v.dijk.bas@gmail.com>**20100319125951
469 Ignore-this: dd25636cf220131385ff2fd32493d456
470]
471[change to use STM, fixing 4 things
472Simon Marlow <marlowsd@gmail.com>**20100318104436
473 Ignore-this: 551d30280a7941c08f5c3b14576bdd70
474   1. there was no async exception protection
475   2. there was a space leak (now new value is strict)
476   3. using atomicModifyIORef would be slightly quicker, but can
477      suffer from adverse scheduling issues (see #3838)
478   4. also, the STM version is faster.
479]
480[Tweak docs
481Ian Lynagh <igloo@earth.li>**20100312214129]
482[Fixed dead links in documentation of forkIO
483Bas van Dijk <v.dijk.bas@gmail.com>**20100308222415
484 Ignore-this: 7deb8fd064c867fbede2a6b2e9da4f15
485]
486[Documentation fixes in Control.Exception
487Bas van Dijk <v.dijk.bas@gmail.com>**20100301220442
488 Ignore-this: 761fcba401cbd1f47276ddfc9b5b80f2
489]
490[Plug two race conditions that could lead to deadlocks in the IO manager
491Simon Marlow <marlowsd@gmail.com>**20100225120255
492 Ignore-this: e6983d6b953104d370278ab3e4617e8b
493]
494[FIX #3866: improve documentation of Data.Data.Constr
495jpm@cs.uu.nl**20100224125506
496 Ignore-this: 3818c5d8fee012a3cf322fb455b6e5dc
497]
498[UNDO: Handle NaN, -Infinity and Infinity in the toRational for Float/Double (#3676)
499Simon Marlow <marlowsd@gmail.com>**20100223101603
500 Ignore-this: 78becb2d39b3cd9a1a473a5811ca7d92
501]
502[Put the complexity in the length docs. Fixes trac #3680
503Ian Lynagh <igloo@earth.li>**20100221191425]
504[nhc98 should build Data.Functor.
505Malcolm.Wallace@cs.york.ac.uk**20100221163218]
506[Update the exitWith docs
507Ian Lynagh <igloo@earth.li>**20100213140004
508 Error pointed out by Volker Wysk <vw@volker-wysk.de>
509]
510[Handle NaN, -Infinity and Infinity in the toRational for Float/Double (#3676)
511Simon Marlow <marlowsd@gmail.com>**20100211101955
512 Ignore-this: 261415363303efca265e80290eac5f28
513]
514[For nhc98, import unsafeInterleaveIO rather than defining it here.
515Malcolm.Wallace@cs.york.ac.uk**20100204171021]
516[Stifle warning about unused return value
517benl@cse.unsw.edu.au**20100203025537]
518[fix #3832: use the locale encoding in openTempFile
519Simon Marlow <marlowsd@gmail.com>**20100120211830
520 Ignore-this: df4f778cc5fefb32290c798db722632c
521 Also while I was here fix an XXX: the Handle contained an
522 uninformative string like <fd: 4> for error messages rather than the
523 real file path.
524]
525[Fix the build: export void, so it doesn't give an unused binding warning
526Ian Lynagh <igloo@earth.li>**20100116174451]
527[hIsEOF: don't do any decoding (#3808)
528Simon Marlow <marlowsd@gmail.com>**20100112230317
529 Ignore-this: 6a384dd2d547ffe3ad3762920e5c1671
530]
531[Control.Monad: +void :: f a -> f ()
532gwern0@gmail.com**20100108214455
533 Ignore-this: 4dc07452315f2d1b4941903ff42fc45f
534 See http://hackage.haskell.org/trac/ghc/ticket/3292
535 Turns m a -> m (). Lets one call functions for their side-effects without
536 having to get rid of their return values with '>> return ()'. Very useful
537 in many contexts (parsing, IO etc.); particularly good for 'forkIO' and 'forM_',
538 as they demand return types of 'IO ()' though most interesting IO functions
539 return non-().
540]
541[Replace the implementation of mergesort with a 2x faster one.
542Malcolm.Wallace@cs.york.ac.uk**20091224152014
543 See ticket http://hackage.haskell.org/trac/ghc/ticket/2143.
544]
545[Restore previous Data.Typeable.typeOf*Default implementations for non-ghc.
546Malcolm.Wallace@cs.york.ac.uk**20091223142625
547 Not all compilers have ScopedTypeVariables.
548]
549[Add comments about double bounds-checking, and fast paths for rectangular arrays
550simonpj@microsoft.com**20091218165655
551 Ignore-this: ea0849419dc00927aba4bd410b1cc58d
552 
553 See Note [Double bounds-checking of index values] for the details.
554 
555 The fast paths omit the doubled checks for cases we know about
556]
557[Fix Trac #3245: memoising typeOf
558simonpj@microsoft.com**20091218155117
559 Ignore-this: 5a178a7f2222293c5ee0c3c43bd1b625
560 
561 The performance bug in #3245 was caused by computing the typeRep
562 once for each call of typeOf, rather than once for each dictionary
563 contruction.  (Computing TypeReps is reasonably expensive, because
564 of the hash-consing machinery.)
565 
566 This is readily fixed by putting the TypeRep construction outside
567 the lambda.  (Arguably GHC might have worked that out itself,
568 but it involves floating something between a type lambda and a
569 value lambda, which GHC doesn't currently do. If it happens a lot
570 we could fix that.)
571]
572[Mark 'index' as INLINE in GHC.Arr
573simonpj@microsoft.com**20091216170441
574 Ignore-this: a4df9d8acf496c8e0e9ce5a520509a2a
575 
576 This makes indexing much faster. See Trac #1216
577]
578[Comment the remaining orphan instance modules
579Ian Lynagh <igloo@earth.li>**20091206125021]
580[De-orphan Eq/Ord Float/Double
581Ian Lynagh <igloo@earth.li>**20091205181238]
582[Add comments to "OPTIONS_GHC -fno-warn-orphans" pragmas
583Ian Lynagh <igloo@earth.li>**20091205165854]
584[Data.Either.partitionEithers was insufficiently lazy.
585Malcolm.Wallace@cs.york.ac.uk**20091202032807
586 Ignore-this: 77e1b3288f66608c71458d8a91bcbe12
587 Spotted by Daniel Fischer.
588]
589[fix the docs regarding finalizer guarantees
590Simon Marlow <marlowsd@gmail.com>**20091130144409
591 Ignore-this: d1ab9532c74a002b8075ff60febcbe2d
592]
593[x86_64 requires more stack
594Malcolm.Wallace@cs.york.ac.uk**20091201033745]
595[check for size < 0 in mallocForeignPtrBytes and friends (#3514)
596Simon Marlow <marlowsd@gmail.com>**20091125143822
597 Ignore-this: 91077d01da2bbe1dfed5155e8b40da9
598]
599[hGetContents: close the handle properly on error
600Simon Marlow <marlowsd@gmail.com>**20091125123435
601 Ignore-this: bc37ff678acc6e547dc390285e056eb9
602 
603 When hGetContents caught an error it was closing the handle and then
604 throwing the exception, without updating the handle with the new
605 closed state.  This lead to a double-closed, which was the cause of
606 
607 *** glibc detected *** ./Setup: double free or corruption
608 
609 when iconv_close was called twice on the decoder.
610 
611 See http://hackage.haskell.org/trac/hackage/ticket/609
612]
613[Fix arities of mapFB and zipFB
614Roman Leshchinskiy <rl@cse.unsw.edu.au>**20091126232219
615 Ignore-this: c4e14cd0a92622549c86e67237a40865
616]
617[Remove an unnecessary -fno-warn-orphans flag
618Ian Lynagh <igloo@earth.li>**20091126123404]
619[Tweak layout to work with alternative layout rule
620Ian Lynagh <igloo@earth.li>**20091125232349]
621[Tweak layout to be accepted by the alternative layout rul
622Ian Lynagh <igloo@earth.li>**20091125194147]
623[Make sure zipWithFB has arity 2
624Roman Leshchinskiy <rl@cse.unsw.edu.au>**20091125010003
625 Ignore-this: 4cf60c55666f03d22a9f5a6e07f52d36
626 
627 It gets 2 arguments in the "zipWith" rule but its arity was higher and the new
628 inliner didn't inline it sometimes, for instance here:
629 
630 mpp ::  [Double] -> [Double] -> [Double] -> [Double] -> [Double]
631 mpp as bs cs ds = zipWith (*) (zipWith (+) as bs) (zipWith (+) cs ds)
632 
633 This was a regression vs. 6.10.
634]
635[Remove an old comment
636Ian Lynagh <igloo@earth.li>**20091124134647]
637[De-orphan the Eq/Ord Integer instances
638Ian Lynagh <igloo@earth.li>**20091124133639]
639[Whitespace only
640Ian Lynagh <igloo@earth.li>**20091124133421]
641[Derive some more instances, rather than writing them by hand
642Ian Lynagh <igloo@earth.li>**20091124011747]
643[We can now derive Ord ()
644Ian Lynagh <igloo@earth.li>**20091124011416]
645[De-orphan tuple Eq/Ord instances
646Ian Lynagh <igloo@earth.li>**20091123233343]
647[Control.Exception.Base no longer has any orphans
648Ian Lynagh <igloo@earth.li>**20091123224905]
649[De-orphan the MonadFix ST instance for GHC
650Ian Lynagh <igloo@earth.li>**20091123223544]
651[Rearrange the contents of Control.Monad.ST; no functionality changes
652Ian Lynagh <igloo@earth.li>**20091123222702]
653[De-orphan the Eq/Ord [a] instances
654Ian Lynagh <igloo@earth.li>**20091123215635]
655[De-orphan the Eq/Ord Char instances
656Ian Lynagh <igloo@earth.li>**20091123202253]
657[De-orphan the Eq/Ord Bool instances
658Ian Lynagh <igloo@earth.li>**20091123201817]
659[Move Eq/Ord Ordering instances to de-orphan them
660Ian Lynagh <igloo@earth.li>**20091123194310]
661[Remove ffi warnings for nhc98.
662Malcolm.Wallace@cs.york.ac.uk**20091123063743]
663[Second attempt to fix #1185 (forkProcess and -threaded)
664Simon Marlow <marlowsd@gmail.com>**20091111151915
665 Ignore-this: fa5f5d5e4e080d4b612a37244f937f9c
666 
667 Patch 2/2: first patch is to ghc
668 
669 This time without dynamic linker hacks, instead I've expanded the
670 existing rts/Globals.c to cache more CAFs, specifically those in
671 GHC.Conc.  We were already using this trick for signal handlers, I
672 should have realised before.
673 
674 It's still quite unsavoury, but we can do away with rts/Globals.c in
675 the future when we switch to a dynamically-linked GHCi.
676]
677[Rollback #1185 fix
678Simon Marlow <marlowsd@gmail.com>**20091106140629
679 Ignore-this: cd5667e8474e37e01ba26a1984274811
680 
681 rolling back:
682 
683 Tue Nov  3 16:05:40 GMT 2009  Simon Marlow <marlowsd@gmail.com>
684   * Fix #1185: restart the IO manager after fork()
685   
686   This is the libraries/base part of the patch; there is a corresponding
687   patch to GHC itself.
688   
689   The main change is that we now keep track of the IO manager's ThreadId
690   in a top-level MVar, and ensureIOManagerIsRunning checks whether a
691   previous IO manager thread is alive before starting one.  In the child
692   of fork(), we can hence call ensureIOManagerIsRunning to restart the
693   IO manager.
694 
695     M ./GHC/Conc.lhs -46 +44
696 
697 Wed Nov  4 17:49:45 GMT 2009  Ian Lynagh <igloo@earth.li>
698   * Fix the build on Windows
699 
700     M ./GHC/Conc.lhs -6 +4
701]
702[Fix the build on Windows
703Ian Lynagh <igloo@earth.li>**20091104174945]
704[Fix #1185: restart the IO manager after fork()
705Simon Marlow <marlowsd@gmail.com>**20091103160540
706 Ignore-this: 6dc05464f1500104554637f4759738cc
707 
708 This is the libraries/base part of the patch; there is a corresponding
709 patch to GHC itself.
710 
711 The main change is that we now keep track of the IO manager's ThreadId
712 in a top-level MVar, and ensureIOManagerIsRunning checks whether a
713 previous IO manager thread is alive before starting one.  In the child
714 of fork(), we can hence call ensureIOManagerIsRunning to restart the
715 IO manager.
716]
717[improve the documentation for throwErrnoIfRetry
718Simon Marlow <marlowsd@gmail.com>**20091016112404
719 Ignore-this: b77275cacf730e15757946027168f63e
720]
721[Don't inline unpackFoldrCString ever
722simonpj@microsoft.com**20091029135350
723 Ignore-this: 85d672649b1b776efc7e97500b05d4f9
724]
725[Inline more default methods
726simonpj@microsoft.com**20091029135330
727 Ignore-this: 289c44b0afd6d5631c2a4e0664275ca9
728 
729 Namely Monad: (>>)
730        Eq:    (==), (/=)
731        Num:   (-), negate
732        Real:  quot, rem, div, mod, recip, (/), truncate
733        Float: (**), logBase, sqrt, tan, tanh
734]
735[Move error messages out of INLINEd default methods
736simonpj@microsoft.com**20091029135118
737 Ignore-this: 9e35dc947f94827a3529eb53a41575fd
738 
739 No need to duplicate the error generation!
740]
741[Exploit now-working default-method INLINE pragmas for Data.Bits
742simonpj@microsoft.com**20091029135041
743 Ignore-this: 8adf225f31ca7a3181ee087e9e4fe535
744 
745 * Add INLINE pragmas to default methods for class Bits
746 
747 * Remove redundant instance methods elsewhere, now that
748   the default method will do the job
749]
750[Tidy up and comment imports
751simonpj@microsoft.com**20091029134414
752 Ignore-this: bf2be31035de975d8995e988933cc940
753]
754[Inline foldr and (.) when applied to two arguments not three
755simonpj@microsoft.com**20091029134335
756 Ignore-this: fccb6f3e90e15f44cb465814be85ede2
757 
758 The new INLINE story is (by design) arity-sensitive, so we must
759 put fewer argument on the LHS for foldr and (.)
760]
761[dirUtils.c no longer available
762Malcolm.Wallace@cs.york.ac.uk**20091013093833]
763[Make hGetContents throw an exception if an error is encountered
764Simon Marlow <marlowsd@gmail.com>**20091012152955
765 Ignore-this: 9f7a7176193eab25c9daaacd9261f2de
766 
767 Strictly speaking this breaks Haskell 98 compatibility, which requires
768 hGetContents to just end the lazy stream silently if an error is
769 encountered.  However, for a few reasons we think it will make
770 everyone's life a bit easier if we make this change
771 
772  1. Errors will be a lot more common in GHC 6.12.1, in the form
773     of Unicode decoding errors.
774 
775  2. When Haskell 98 was designed, we didn't know how to throw
776     exceptions from inside lazy I/O, but now we do.
777 
778  3. If anyone is actually relying on the previous behaviour, their
779     code is arguably broken.
780]
781[Re-instate System.Console.Getopt for nhc98 builds.
782Malcolm.Wallace@cs.york.ac.uk**20091013092843
783 Although it was split out of base a while back, that change was
784 reverted for ghc soon afterwards, but nhc98 never noticed.
785]
786[Roll back "Another instance of nhc98's strange import semantics."
787Ian Lynagh <igloo@earth.li>**20091009185618
788 Fri Oct  9 14:50:51 BST 2009  Malcolm.Wallace@cs.york.ac.uk
789 GHC (correctly) warns about the unused import, which breaks the validate
790 build.
791]
792[Roll back "Cope with nhc98's (occasionally-strange) import semantics"
793Ian Lynagh <igloo@earth.li>**20091009184704
794 Fri Oct  9 14:43:51 BST 2009  Malcolm.Wallace@cs.york.ac.uk
795 GHC (correctly) warns about the unused import, which breaks the validate
796 build.
797]
798[It seems that nhc98 needs defaulting in Data.Fixed.
799Malcolm.Wallace@cs.york.ac.uk**20091009135242]
800[Another instance of nhc98's strange import semantics.
801Malcolm.Wallace@cs.york.ac.uk**20091009135051]
802[Make Data.Functor compatible with non-GHC compilers.
803Malcolm.Wallace@cs.york.ac.uk**20091009134821]
804[Cope with nhc98's (occasionally-strange) import semantics.
805Malcolm.Wallace@cs.york.ac.uk**20091009134351]
806[Fix gratuitous breakage of nhc98 in System.IO.
807Malcolm.Wallace@cs.york.ac.uk**20091009134001]
808[Fix gratuitous breakage of nhc98 in Control.Exception.Base.
809Malcolm.Wallace@cs.york.ac.uk**20091009133615]
810[Fix gratuitous breakage of non-GHC in Data.Fixed.
811Malcolm.Wallace@cs.york.ac.uk**20091009133330]
812[Fix gratuitous breakage for non-GHC in Data.Bits.
813Malcolm.Wallace@cs.york.ac.uk**20091009133257]
814[Use UTF-32LE instead of UTF32LE
815Simon Marlow <marlowsd@gmail.com>**20091006100207
816 Ignore-this: 7f881e36543d250ef848c9f60d67655a
817 The latter is not recognised by some iconv implementations.
818]
819[Strip any Byte Order Mark (BOM) from the front of decoded streams.
820Ben.Lippmeier@anu.edu.au*-20090930084229
821 Ignore-this: d0d0c3ae87b31d71ef1627c8e1786445
822 When decoding to UTF-32, Solaris iconv inserts a BOM at the front
823 of the stream, but Linux iconv doesn't.
824]
825[use UTF32BE/UTF32LE instead of UCS-4/UCS-4LE
826Simon Marlow <marlowsd@gmail.com>**20091005101554
827 Ignore-this: 2aef5e9bec421e714953b7aa1bdfc1b3
828]
829[Strip any Byte Order Mark (BOM) from the front of decoded streams.
830Ben.Lippmeier@anu.edu.au**20090930084229
831 Ignore-this: d0d0c3ae87b31d71ef1627c8e1786445
832 When decoding to UTF-32, Solaris iconv inserts a BOM at the front
833 of the stream, but Linux iconv doesn't.
834]
835[Add traceEvent :: String -> IO ()
836Simon Marlow <marlowsd@gmail.com>**20090925141257
837 Ignore-this: 8b1888bbf9682ffba13f815b6000e4b1
838 For emitting an event via the RTS tracing framework
839]
840[Fix the error message when flushing the read buffer of a non-seekable Handle
841Simon Marlow <marlowsd@gmail.com>**20090923090536
842 Ignore-this: 4342026df93759d99480f4e13f80a492
843]
844[Fix #3534: No need to flush the byte buffer when setting binary mode
845Simon Marlow <marlowsd@gmail.com>**20090923090445
846 Ignore-this: 625817ed7ae2c12291eb993a99dc640a
847]
848[Use let !y = x in .. x .. instead of seq in $! and evaluate (#2273)
849Simon Marlow <marlowsd@gmail.com>**20090916140454]
850[make some Applicative functions into methods, and split off Data.Functor (proposal #3335)
851Ross Paterson <ross@soi.city.ac.uk>**20090915173109
852 Ignore-this: a0cff4de6dfdbcbd56a66101bc4855a9
853 
854 The following functions
855 
856     (<$) :: Functor f => a -> f b -> f a
857     (*>) :: Applicative f => f a -> f b -> f b
858     (<*) :: Applicative f => f a -> f b -> f a
859     some :: Alternative f => f a -> f [a]
860     many :: Alternative f => f a -> f [a]
861 
862 are moved into the corresponding classes, with the existing implementations
863 as default definitions.  This gives people creating instances the option of
864 defining specialized implementations of these functions, though they should
865 be equivalent to the default definitions.
866 
867 Although (<$) is now a method of the Functor class, it is hidden in the
868 re-export by the Prelude, Control.Monad and Monad.  The new module
869 Data.Functor exposes the full class, plus the function (<$>).  These are
870 also re-exported by Control.Applicative.
871]
872[On Windows, use the console code page for text file encoding/decoding.
873Judah Jacobson <judah.jacobson@gmail.com>**20090913022126
874 Ignore-this: 86c2f2db8ef92b751599795d3195187b
875 
876 We keep all of the code page tables in the module
877 GHC.IO.Encoding.CodePage.Table.  That file was generated automatically
878 by running codepages/MakeTable.hs; more details are in the comments at the
879 start of that script.
880 
881 Storing the lookup tables adds about 40KB to each statically linked executable;
882 this only increases the size of a "hello world" program by about 7%.
883 
884 Currently we do not support double-byte encodings (Chinese/Japanese/Korean), since
885 including those codepages would increase the table size to 400KB.  It will be
886 straightforward to implement them once the work on library DLLs is finished.
887]
888[Fix "init" docs: the input list need not be finite. Fixes trac #3465
889Ian Lynagh <igloo@earth.li>**20090911210437]
890[Bump base version to 4.2.0.0
891Ian Lynagh <igloo@earth.li>**20090911153913]
892[Address #3310
893Simon Marlow <marlowsd@gmail.com>**20090830152850
894 Ignore-this: 40c7f7c171ee299a83092fd360a952b7
895 
896  - Rename BlockedOnDeadMVar   -> BlockedIndefinitelyOnMVar
897  - Rename BlockedIndefinitely -> BlockedIndefinitelyOnSTM
898  - instance Show BlockedIndefinitelyOnMVar is now
899      "blocked indefinitely in an MVar operation"
900  - instance Show BlockedIndefinitelyOnSTM is now
901      "blocked indefinitely in an STM transaction"
902 
903 clients using Control.OldException will be unaffected (the new
904 exceptions are mapped to the old names).  However, for base4-compat
905 we'll need to make a version of catch/try that does a similar
906 mapping.
907]
908[Fix unicode conversion for MSB architectures
909Ben.Lippmeier@anu.edu.au**20090830130028
910 This fixes the SPARC/Solaris build.
911]
912[Fix #3441: detect errors in partial sequences
913Simon Marlow <marlowsd@gmail.com>**20090830075909
914 Ignore-this: d12a75d95e0cae5eb1555266810ec281
915]
916[Fix hWaitForInput
917Simon Marlow <marlowsd@gmail.com>**20090827152116
918 Ignore-this: 2550e911f1a4d4357a5aa8d1764238ce
919 It was erroneously waiting when there were bytes to decode waiting in
920 the byte buffer.
921]
922[fix debugging code
923Simon Marlow <marlowsd@gmail.com>**20090827150628
924 Ignore-this: e1c82fdc19a22e247cd69ff6fa11921d
925]
926[Allow for configurable iconv include and library locations.
927Matthias Kilian <kili@outback.escape.de>**20090826154406
928 Ignore-this: be95fab611a5534cf184b508964ed498
929 This should help to fix the build on OpenBSD.
930]
931[typo in comment
932Simon Marlow <marlowsd@gmail.com>**20090826085252
933 Ignore-this: 1903ee0f354157a6ed3871c100f6b1b9
934]
935[un-hide some modules from the Haddock docs
936Simon Marlow <marlowsd@gmail.com>**20090825152457
937 Ignore-this: dce6606f93cf977fb24ebe99082dfa62
938]
939[Apply fix for #1548, from squadette@gmail.com
940Simon Marlow <marlowsd@gmail.com>**20090819120700
941 Ignore-this: 31c237c46a6445f588ed4b8c51bb6231
942]
943[improvements to Data.Fixed: instances for Typeable and Data, more predefined types
944Ashley Yakeley <ashley@semantic.org>**20090812055058
945 Ignore-this: feeece36d5632f02a05d137d2a39ab78
946]
947[Fix "Cabal check" warnings
948Ian Lynagh <igloo@earth.li>**20090811215856]
949[Add a GHC.Constants module; fixes trac #3094
950Ian Lynagh <igloo@earth.li>**20090809183252]
951[Apply proposal #3393
952Ian Lynagh <igloo@earth.li>**20090809134717
953 Add openTempFileWithDefaultPermissions and
954 openBinaryTempFileWithDefaultPermissions.
955]
956[Add some more C wrappers; patch from Krister Walfridsson
957Ian Lynagh <igloo@earth.li>**20090807200631
958 Fixes 21 testsuite errors on NetBSD 5.99.
959]
960[Fixing configure for autoconf 2.64
961Alexander Dunlap <alexander.dunlap@gmail.com>**20090805060748
962 Ignore-this: 992ab91ae3d68c12dbb265776e33e243
963]
964[add INLINE toList
965Ross Paterson <ross@soi.city.ac.uk>**20090806142853
966 Ignore-this: aba16aabb17d5dca44f15d188945680e
967 
968 In anticipation of the fixing of #2353.
969]
970[fix a copyright
971Simon Marlow <marlowsd@gmail.com>**20090805134045
972 Ignore-this: b0ffbdd38fbba121e8bcba37c4082a60
973]
974[Tweak the BufferedIO class to enable a memory-mapped file implementation
975Simon Marlow <marlowsd@gmail.com>**20090805134036
976 Ignore-this: ec67d7a0a6d977438deaa342503f77e0
977 We have to eliminate the assumption that an empty write buffer can be
978 constructed by setting the buffer pointers to zero: this isn't
979 necessarily the case when the buffer corresponds to a memory-mapped
980 file, or other in-memory device implementation.
981]
982[Deprecate Control.OldException
983Ian Lynagh <igloo@earth.li>**20090804143910]
984[Windows build fix, following RTS tidyup
985Simon Marlow <marlowsd@gmail.com>**20090803131121
986 Ignore-this: ce862fb91c2b234211a8757f98690778
987]
988[Updates to follow the RTS tidyup
989Simon Marlow <marlowsd@gmail.com>**20090801220743
990 Ignore-this: 6e92412df93a66c12d75344053d5634
991 C functions like isDoubleNaN moved here (primFloat.c)
992]
993[Add integer-simple as a build option
994Ian Lynagh <igloo@earth.li>**20090722013151]
995[Use shift[LR]Integer in the Bits Integer instance
996Ian Lynagh <igloo@earth.li>**20090721222440]
997[depend directly on integer-gmp, rather than indirecting through integer
998Ian Lynagh <igloo@earth.li>**20090721185228]
999[Move the instances of Functor and Monad IO to GHC.Base, to avoid orphans
1000Simon Marlow <marlowsd@gmail.com>**20090722102130
1001 Ignore-this: a7d85ac0025d559674249de0108dbcf4
1002]
1003[move "instance Exception Dynamic" so it isn't an orphan
1004Simon Marlow <marlowsd@gmail.com>**20090721093854
1005 Ignore-this: 5ede91ecfec2112c91b699d4de87cd02
1006]
1007[Improve the index checking for array accesses; fixes #2120 #2669
1008Ian Lynagh <igloo@earth.li>**20090719153228
1009 As well as checking that offset we are reading is actually inside the
1010 array, we now also check that it is "in range" as defined by the Ix
1011 instance. This fixes confusing behaviour (#2120) and improves some error
1012 messages (#2669).
1013]
1014[Make chr say what its argument was, if it's a bad argument
1015Ian Lynagh <igloo@earth.li>**20090718151049]
1016[remove unused warning
1017Simon Marlow <marlowsd@gmail.com>**20090715124416
1018 Ignore-this: 31f613654089d0f4a44363946087b41e
1019]
1020[warning fix: -fno-implicit-prelude -> -XNoImplicitPrelude
1021Simon Marlow <marlowsd@gmail.com>**20090715122839
1022 Ignore-this: dc8957249731d5bcb71c01899e5adf2b
1023]
1024[Add hGetEncoding :: Handle -> IO (Maybe TextEncoding)
1025Simon Marlow <marlowsd@gmail.com>**20090715122519
1026 Ignore-this: 14c3eff996db062da1199739781e4708
1027 as suggested during the discussion on the libraries list
1028]
1029[Add more documentation to mkTextEncoding
1030Simon Marlow <marlowsd@gmail.com>**20090715122414
1031 Ignore-this: 97253b2624267df3a246a18121e8ea81
1032 noting that "//IGNORE" and "//TRANSLIT" suffixes can be used with GNU
1033 iconv.
1034]
1035[Add the utf8_bom codec
1036Simon Marlow <marlowsd@gmail.com>**20090715122257
1037 Ignore-this: 1c9396cd805201fe873a39382ced79c7
1038 as suggested during the discussion on the libraries list.
1039]
1040[Export Unicode and newline functionality from System.IO; update Haddock docs
1041Simon Marlow <marlowsd@gmail.com>**20090713113104
1042 Ignore-this: c3f017a555335aa55d106253393f72e2
1043]
1044[add a comment about the non-workingness of CHARBUF_UTF16
1045Simon Marlow <marlowsd@gmail.com>**20090707124406
1046 Ignore-this: 98d00411b68d688b3b4cffc9507b1f35
1047]
1048[Fix build on Windows
1049Ian Lynagh <igloo@earth.li>**20090711004351]
1050[Fix some "warn-unused-do-bind" warnings where we want to ignore the value
1051Ian Lynagh <igloo@earth.li>**20090710204513]
1052[Use throwErrnoIfMinus1_ when calling getrusage
1053Ian Lynagh <igloo@earth.li>**20090710204221]
1054[Remove an unused import
1055Ian Lynagh <igloo@earth.li>**20090710153345]
1056[reportStackOverflow now returns IO ()
1057Ian Lynagh <igloo@earth.li>**20090710153257
1058 It used to do "return undefined" to return IO a.
1059]
1060[GHC.Conc.reportError now returns IO ()
1061Ian Lynagh <igloo@earth.li>**20090710152646
1062 It used to return IO a, by "return undefined".
1063]
1064[Fix some "warn-unused-do-bind" warnings where we want to ignore the value
1065Ian Lynagh <igloo@earth.li>**20090710152526]
1066[Minor SampleVar refactoring
1067Ian Lynagh <igloo@earth.li>**20090710151438]
1068[Fix "warn-unused-do-bind" warnings in GHC/IO/Handle/Text.hs
1069Ian Lynagh <igloo@earth.li>**20090710122905]
1070[Fix some "warn-unused-do-bind" warnings where we just want to ignore the result
1071Ian Lynagh <igloo@earth.li>**20090710005638]
1072[Use the result of writeCharBuf in GHC/IO/Encoding/Latin1.hs too
1073Ian Lynagh <igloo@earth.li>**20090710004032]
1074[Minor code tidyups in GHC.Conc
1075Ian Lynagh <igloo@earth.li>**20090710003801]
1076[Fix "warn-unused-do-bind" warning in GHC.Conc
1077Ian Lynagh <igloo@earth.li>**20090710003530
1078 If we fail to communicate with the IO manager then we print a warning
1079 using debugErrLn from the ghc-prim package.
1080]
1081[Fix "warn-unused-do-bind" warnings in System.Posix.Internals
1082Ian Lynagh <igloo@earth.li>**20090709164546]
1083[Fix "warn-unused-do-bind" warnings where we really do want to ignore the result
1084Ian Lynagh <igloo@earth.li>**20090709163912]
1085[Add back imports needed on Windows
1086Ian Lynagh <igloo@earth.li>**20090707181924]
1087[Remove unused imports
1088Ian Lynagh <igloo@earth.li>**20090707115810]
1089[Remove unused imports from base
1090simonpj@microsoft.com**20090706111842
1091 Ignore-this: f9b5f353e3bb820f787c56d615b28765
1092 
1093 These unused imports are detected by the new unused-import code
1094 
1095]
1096[Use the result of writeCharBuf
1097Simon Marlow <marlowsd@gmail.com>**20090706133303
1098 Ignore-this: 52288dd559bf4c4f313df6197091d935
1099   
1100 This only makes a difference when CHARBUF_UTF16 is in use, which it
1101 normally isn't.  I suspect CHARBUF_UTF16 doesn't currently work for
1102 other reasons (CHARBUF_UTF16 was an experiment before I wrote the
1103 GHC.IO.Encoding.UTF* codecs), but this patch at least makes it
1104 slightly closer to working.
1105]
1106[Remove some cruft from Data.HashTable
1107Ian Lynagh <igloo@earth.li>**20090706181630]
1108[Add 'eof' to Text.ParserCombinators.ReadP
1109simonpj@microsoft.com**20090706111801
1110 Ignore-this: 2aea7b848e00c894761bc4011adaa95d
1111 
1112 Add a ReadP parser that succeeds at the end of input. Very useful!
1113 
1114]
1115[Don't export CLDouble for GHC; fixes trac #2793
1116Ian Lynagh <igloo@earth.li>**20090705155120
1117 We never really supported CLDouble (it was a plain old double underneath),
1118 and pretending that we do does more harm than good.
1119]
1120[a byte between 0x80 and 0xBF is illegal immediately (#3341)
1121Simon Marlow <marlowsd@gmail.com>**20090702081415
1122 Ignore-this: dc19ef59a1a21118d5a7dd38aa2f611c
1123]
1124[avoid a warning
1125Simon Marlow <marlowsd@gmail.com>**20090630084134
1126 Ignore-this: c92a45ee216faf01327feae9fe06d6e2
1127]
1128[Add a wrapper for libiconv.
1129Matthias Kilian <kili@outback.escape.de>**20090629183634
1130 Ignore-this: 23c6047c0d71b745b495cc223574a47f
1131]
1132[#include <sys/times.h> if we have it (should fix build problems)
1133Simon Marlow <marlowsd@gmail.com>**20090629085351
1134 Ignore-this: a35e93b37ca9595c73460243180f4b9d
1135]
1136[set binary mode for existing FDs on Windows (fixes some GHCi test failures)
1137Simon Marlow <marlowsd@gmail.com>**20090626120522
1138 Ignore-this: 580cf636e9c77d8427aff6861d089481
1139]
1140[Move directory-related stuff to the unix package
1141Simon Marlow <marlowsd@gmail.com>**20090625120325
1142 Ignore-this: b997b3cbce0a46ca87ad825bbdc0a411
1143 now that it isn't used on Windows any more.
1144]
1145[TAG 2009-06-25
1146Ian Lynagh <igloo@earth.li>**20090625160056]
1147Patch bundle hash:
114845034656cc397e26d1a35e78ac5d17f12af0f8a1