Ticket #4925: explicit_language_extensions.dpatch

File explicit_language_extensions.dpatch, 106.8 KB (added by basvandijk, 4 years ago)
Line 
11 patch for repository http://darcs.haskell.org/packages/base:
2
3Thu Jan 27 17:34:01 CET 2011  Bas van Dijk <[email protected]>
4  * Use explicit language extensions & remove extension fields from base.cabal
5
6New patches:
7
8[Use explicit language extensions & remove extension fields from base.cabal
9Bas van Dijk <[email protected]>**20110127163401
10 Ignore-this: e14cbc08a970b589ba70501763f27d04
11] {
12hunk ./Control/Applicative.hs 1
13+{-# LANGUAGE CPP #-}
14+
15 -----------------------------------------------------------------------------
16 -- |
17 -- Module      :  Control.Applicative
18hunk ./Control/Category.hs 1
19+{-# LANGUAGE CPP #-}
20+
21 -----------------------------------------------------------------------------
22 -- |
23 -- Module      :  Control.Category
24hunk ./Control/Concurrent.hs 1
25+{-# LANGUAGE CPP
26+           , ForeignFunctionInterface
27+           , MagicHash
28+           , UnboxedTuples
29+           , ScopedTypeVariables
30+  #-}
31 {-# OPTIONS_GHC -fno-warn-unused-imports #-}
32hunk ./Control/Concurrent.hs 8
33+
34 -----------------------------------------------------------------------------
35 -- |
36 -- Module      :  Control.Concurrent
37hunk ./Control/Concurrent/Chan.hs 1
38+{-# LANGUAGE CPP #-}
39+
40 -----------------------------------------------------------------------------
41 -- |
42 -- Module      :  Control.Concurrent.Chan
43hunk ./Control/Concurrent/MVar.hs 1
44-{-# OPTIONS_GHC -XNoImplicitPrelude #-}
45+{-# LANGUAGE CPP, NoImplicitPrelude #-}
46+
47 -----------------------------------------------------------------------------
48 -- |
49 -- Module      :  Control.Concurrent.MVar
50hunk ./Control/Concurrent/QSem.hs 1
51+{-# LANGUAGE CPP #-}
52+
53 -----------------------------------------------------------------------------
54 -- |
55 -- Module      :  Control.Concurrent.QSem
56hunk ./Control/Concurrent/QSemN.hs 1
57+{-# LANGUAGE CPP #-}
58+
59 -----------------------------------------------------------------------------
60 -- |
61 -- Module      :  Control.Concurrent.QSemN
62hunk ./Control/Concurrent/SampleVar.hs 1
63+{-# LANGUAGE CPP #-}
64+
65 -----------------------------------------------------------------------------
66 -- |
67 -- Module      :  Control.Concurrent.SampleVar
68hunk ./Control/Exception.hs 1
69-{-# OPTIONS_GHC -XNoImplicitPrelude #-}
70+{-# LANGUAGE CPP, NoImplicitPrelude, ExistentialQuantification #-}
71 
72 -----------------------------------------------------------------------------
73 -- |
74hunk ./Control/Exception/Base.hs 1
75-{-# OPTIONS_GHC -XNoImplicitPrelude #-}
76+{-# LANGUAGE CPP, NoImplicitPrelude, MagicHash #-}
77 
78 #include "Typeable.h"
79 
80hunk ./Control/Monad.hs 1
81-{-# OPTIONS_GHC -XNoImplicitPrelude #-}
82+{-# LANGUAGE CPP, NoImplicitPrelude #-}
83+
84 -----------------------------------------------------------------------------
85 -- |
86 -- Module      :  Control.Monad
87hunk ./Control/Monad/Fix.hs 1
88+{-# LANGUAGE CPP #-}
89+
90 -----------------------------------------------------------------------------
91 -- |
92 -- Module      :  Control.Monad.Fix
93hunk ./Control/Monad/ST.hs 1
94+{-# LANGUAGE CPP #-}
95+
96 -----------------------------------------------------------------------------
97 -- |
98 -- Module      :  Control.Monad.ST
99hunk ./Control/Monad/ST/Lazy.hs 1
100+{-# LANGUAGE CPP, MagicHash, UnboxedTuples, Rank2Types #-}
101+
102 -----------------------------------------------------------------------------
103 -- |
104 -- Module      :  Control.Monad.ST.Lazy
105hunk ./Control/OldException.hs 1
106-{-# OPTIONS_GHC -XNoImplicitPrelude #-}
107+{-# LANGUAGE CPP
108+           , NoImplicitPrelude
109+           , ForeignFunctionInterface
110+           , ExistentialQuantification
111+  #-}
112 
113 #include "Typeable.h"
114 
115hunk ./Data/Bits.hs 1
116-{-# LANGUAGE BangPatterns #-}
117-{-# OPTIONS_GHC -XNoImplicitPrelude #-}
118+{-# LANGUAGE CPP, NoImplicitPrelude, BangPatterns, MagicHash #-}
119+
120 -----------------------------------------------------------------------------
121 -- |
122 -- Module      :  Data.Bits
123hunk ./Data/Bool.hs 1
124-{-# OPTIONS_GHC -XNoImplicitPrelude #-}
125+{-# LANGUAGE CPP, NoImplicitPrelude #-}
126+
127 -----------------------------------------------------------------------------
128 -- |
129 -- Module      :  Data.Bool
130hunk ./Data/Char.hs 1
131-{-# OPTIONS_GHC -XNoImplicitPrelude #-}
132+{-# LANGUAGE CPP, NoImplicitPrelude #-}
133+
134 -----------------------------------------------------------------------------
135 -- |
136 -- Module      :  Data.Char
137hunk ./Data/Complex.hs 1
138+{-# LANGUAGE CPP, DeriveDataTypeable #-}
139+
140 -----------------------------------------------------------------------------
141 -- |
142 -- Module      :  Data.Complex
143hunk ./Data/Data.hs 1
144+{-# LANGUAGE CPP, Rank2Types, ScopedTypeVariables #-}
145+
146 -----------------------------------------------------------------------------
147 -- |
148 -- Module      :  Data.Data
149hunk ./Data/Dynamic.hs 1
150-{-# OPTIONS_GHC -XNoImplicitPrelude #-}
151+{-# LANGUAGE CPP, NoImplicitPrelude #-}
152+
153 -----------------------------------------------------------------------------
154 -- |
155 -- Module      :  Data.Dynamic
156hunk ./Data/Either.hs 1
157-{-# OPTIONS_GHC -XNoImplicitPrelude #-}
158+{-# LANGUAGE CPP, NoImplicitPrelude #-}
159+
160 -----------------------------------------------------------------------------
161 -- |
162 -- Module      :  Data.Either
163hunk ./Data/Eq.hs 1
164-{-# OPTIONS_GHC -XNoImplicitPrelude #-}
165+{-# LANGUAGE CPP, NoImplicitPrelude #-}
166+
167 -----------------------------------------------------------------------------
168 -- |
169 -- Module      :  Data.Eq
170hunk ./Data/Fixed.hs 1
171+{-# LANGUAGE CPP #-}
172 {-# OPTIONS -Wall -fno-warn-unused-binds #-}
173 
174hunk ./Data/Fixed.hs 4
175+#ifndef __NHC__
176+{-# LANGUAGE DeriveDataTypeable #-}
177+#endif
178 -----------------------------------------------------------------------------
179 -- |
180 -- Module      :  Data.Fixed
181hunk ./Data/Foldable.hs 1
182+{-# LANGUAGE CPP #-}
183+
184 -----------------------------------------------------------------------------
185 -- |
186 -- Module      :  Data.Foldable
187hunk ./Data/Functor.hs 1
188+{-# LANGUAGE CPP #-}
189+
190 -----------------------------------------------------------------------------
191 -- |
192 -- Module      :  Data.Functor
193hunk ./Data/HashTable.hs 1
194-{-# OPTIONS_GHC -XNoImplicitPrelude -funbox-strict-fields -fno-warn-name-shadowing #-}
195+{-# LANGUAGE CPP, NoImplicitPrelude #-}
196+{-# OPTIONS_GHC -funbox-strict-fields -fno-warn-name-shadowing #-}
197 
198 -----------------------------------------------------------------------------
199 -- |
200hunk ./Data/IORef.hs 1
201-{-# OPTIONS_GHC -XNoImplicitPrelude #-}
202+{-# LANGUAGE CPP, NoImplicitPrelude, MagicHash, UnboxedTuples #-}
203+
204 -----------------------------------------------------------------------------
205 -- |
206 -- Module      :  Data.IORef
207hunk ./Data/Int.hs 1
208-{-# OPTIONS_GHC -XNoImplicitPrelude #-}
209+{-# LANGUAGE CPP, NoImplicitPrelude #-}
210+
211 -----------------------------------------------------------------------------
212 -- |
213 -- Module      :  Data.Int
214hunk ./Data/Ix.hs 1
215+{-# LANGUAGE CPP #-}
216+
217 -----------------------------------------------------------------------------
218 -- |
219 -- Module      :  Data.Ix
220hunk ./Data/List.hs 1
221-{-# OPTIONS_GHC -XNoImplicitPrelude #-}
222+{-# LANGUAGE CPP, NoImplicitPrelude, MagicHash #-}
223+
224 -----------------------------------------------------------------------------
225 -- |
226 -- Module      :  Data.List
227hunk ./Data/Maybe.hs 1
228-{-# OPTIONS_GHC -XNoImplicitPrelude #-}
229+{-# LANGUAGE CPP, NoImplicitPrelude #-}
230+
231 -----------------------------------------------------------------------------
232 -- |
233 -- Module      :  Data.Maybe
234hunk ./Data/Monoid.hs 1
235-{-# OPTIONS_GHC -XNoImplicitPrelude #-}
236+{-# LANGUAGE CPP, NoImplicitPrelude #-}
237+
238 -----------------------------------------------------------------------------
239 -- |
240 -- Module      :  Data.Monoid
241hunk ./Data/Ord.hs 1
242-{-# OPTIONS_GHC -XNoImplicitPrelude #-}
243+{-# LANGUAGE CPP, NoImplicitPrelude #-}
244+
245 -----------------------------------------------------------------------------
246 -- |
247 -- Module      :  Data.Ord
248hunk ./Data/Ratio.hs 1
249+{-# LANGUAGE CPP #-}
250+
251 -----------------------------------------------------------------------------
252 -- |
253 -- Module      :  Data.Ratio
254hunk ./Data/STRef.hs 1
255+{-# LANGUAGE CPP #-}
256+
257 -----------------------------------------------------------------------------
258 -- |
259 -- Module      :  Data.STRef
260hunk ./Data/String.hs 1
261-{-# OPTIONS_GHC -XNoImplicitPrelude #-}
262+{-# LANGUAGE CPP, NoImplicitPrelude, FlexibleInstances #-}
263+
264 -----------------------------------------------------------------------------
265 -- |
266 -- Module      :  Data.String
267hunk ./Data/Traversable.hs 1
268+{-# LANGUAGE CPP #-}
269+
270 -----------------------------------------------------------------------------
271 -- |
272 -- Module      :  Data.Traversable
273hunk ./Data/Tuple.hs 1
274-{-# OPTIONS_GHC -XNoImplicitPrelude #-}
275+{-# LANGUAGE CPP, NoImplicitPrelude #-}
276 {-# OPTIONS_GHC -fno-warn-unused-imports #-}
277 -- XXX -fno-warn-unused-imports needed for the GHC.Tuple import below. Sigh.
278 -----------------------------------------------------------------------------
279hunk ./Data/Typeable.hs 1
280-{-# OPTIONS_GHC -XNoImplicitPrelude -XOverlappingInstances -funbox-strict-fields #-}
281+{-# LANGUAGE CPP
282+           , NoImplicitPrelude
283+           , OverlappingInstances
284+           , ScopedTypeVariables
285+           , ForeignFunctionInterface
286+           , FlexibleInstances
287+  #-}
288+{-# OPTIONS_GHC -funbox-strict-fields #-}
289 
290 -- The -XOverlappingInstances flag allows the user to over-ride
291 -- the instances for Typeable given here.  In particular, we provide an instance
292hunk ./Data/Typeable.hs-boot 1
293-
294-{-# OPTIONS_GHC -XNoImplicitPrelude #-}
295+{-# LANGUAGE NoImplicitPrelude #-}
296 
297 module Data.Typeable where
298 
299hunk ./Data/Unique.hs 1
300+{-# LANGUAGE CPP #-}
301+
302+#ifdef __GLASGOW_HASKELL__
303+{-# LANGUAGE MagicHash, DeriveDataTypeable #-}
304+#endif
305+
306 -----------------------------------------------------------------------------
307 -- |
308 -- Module      :  Data.Unique
309hunk ./Data/Version.hs 1
310+{-# LANGUAGE CPP, DeriveDataTypeable #-}
311+
312 -----------------------------------------------------------------------------
313 -- |
314 -- Module      :  Data.Version
315hunk ./Data/Word.hs 1
316-{-# OPTIONS_GHC -XNoImplicitPrelude #-}
317+{-# LANGUAGE CPP, NoImplicitPrelude #-}
318+
319 -----------------------------------------------------------------------------
320 -- |
321 -- Module      :  Data.Word
322hunk ./Debug/Trace.hs 1
323+{-# LANGUAGE CPP, ForeignFunctionInterface #-}
324+
325 -----------------------------------------------------------------------------
326 -- |
327 -- Module      :  Debug.Trace
328hunk ./Foreign.hs 1
329-{-# OPTIONS_GHC -XNoImplicitPrelude #-}
330+{-# LANGUAGE NoImplicitPrelude #-}
331+
332 -----------------------------------------------------------------------------
333 -- |
334 -- Module      :  Foreign
335hunk ./Foreign/C.hs 1
336-{-# OPTIONS_GHC -XNoImplicitPrelude #-}
337+{-# LANGUAGE NoImplicitPrelude #-}
338+
339 -----------------------------------------------------------------------------
340 -- |
341 -- Module      :  Foreign.C
342hunk ./Foreign/C/Error.hs 1
343-{-# OPTIONS_GHC -XNoImplicitPrelude -#include "HsBase.h" #-}
344+{-# LANGUAGE CPP, NoImplicitPrelude, ForeignFunctionInterface #-}
345+{-# OPTIONS_GHC -#include "HsBase.h" #-}
346+
347 -----------------------------------------------------------------------------
348 -- |
349 -- Module      :  Foreign.C.Error
350hunk ./Foreign/C/String.hs 1
351-{-# OPTIONS_GHC -XNoImplicitPrelude #-}
352+{-# LANGUAGE CPP, NoImplicitPrelude #-}
353+
354 -----------------------------------------------------------------------------
355 -- |
356 -- Module      :  Foreign.C.String
357hunk ./Foreign/C/Types.hs 1
358-{-# OPTIONS_GHC -XNoImplicitPrelude #-}
359+{-# LANGUAGE CPP
360+           , NoImplicitPrelude
361+           , MagicHash
362+           , GeneralizedNewtypeDeriving
363+  #-}
364 {-# OPTIONS_GHC -fno-warn-unused-binds #-}
365 -- XXX -fno-warn-unused-binds stops us warning about unused constructors,
366 -- but really we should just remove them if we don't want them
367hunk ./Foreign/C/Types.hs 9
368+
369 -----------------------------------------------------------------------------
370 -- |
371 -- Module      :  Foreign.C.Types
372hunk ./Foreign/Concurrent.hs 1
373-{-# OPTIONS_GHC -XNoImplicitPrelude #-}
374+{-# LANGUAGE CPP, NoImplicitPrelude #-}
375+
376 -----------------------------------------------------------------------------
377 -- |
378 -- Module      :  Foreign.Concurrent
379hunk ./Foreign/ForeignPtr.hs 1
380-{-# OPTIONS_GHC -XNoImplicitPrelude #-}
381+{-# LANGUAGE CPP, NoImplicitPrelude #-}
382+
383 -----------------------------------------------------------------------------
384 -- |
385 -- Module      :  Foreign.ForeignPtr
386hunk ./Foreign/Marshal.hs 1
387-{-# OPTIONS_GHC -XNoImplicitPrelude #-}
388+{-# LANGUAGE CPP, NoImplicitPrelude #-}
389+
390 -----------------------------------------------------------------------------
391 -- |
392 -- Module      :  Foreign.Marshal
393hunk ./Foreign/Marshal/Alloc.hs 1
394-{-# OPTIONS_GHC -XNoImplicitPrelude #-}
395+{-# LANGUAGE CPP
396+           , NoImplicitPrelude
397+           , MagicHash
398+           , UnboxedTuples
399+           , ForeignFunctionInterface
400+  #-}
401+
402 -----------------------------------------------------------------------------
403 -- |
404 -- Module      :  Foreign.Marshal.Alloc
405hunk ./Foreign/Marshal/Array.hs 1
406-{-# OPTIONS_GHC -XNoImplicitPrelude #-}
407+{-# LANGUAGE CPP, NoImplicitPrelude, MagicHash #-}
408+
409 -----------------------------------------------------------------------------
410 -- |
411 -- Module      :  Foreign.Marshal.Array
412hunk ./Foreign/Marshal/Error.hs 1
413-{-# OPTIONS_GHC -XNoImplicitPrelude #-}
414+{-# LANGUAGE CPP, NoImplicitPrelude #-}
415+
416 -----------------------------------------------------------------------------
417 -- |
418 -- Module      :  Foreign.Marshal.Error
419hunk ./Foreign/Marshal/Pool.hs 1
420-{-# OPTIONS_GHC -XNoImplicitPrelude #-}
421+{-# LANGUAGE CPP, NoImplicitPrelude #-}
422+
423 --------------------------------------------------------------------------------
424 -- |
425 -- Module      :  Foreign.Marshal.Pool
426hunk ./Foreign/Marshal/Utils.hs 1
427-{-# OPTIONS_GHC -XNoImplicitPrelude #-}
428+{-# LANGUAGE CPP, NoImplicitPrelude, ForeignFunctionInterface #-}
429+
430 -----------------------------------------------------------------------------
431 -- |
432 -- Module      :  Foreign.Marshal.Utils
433hunk ./Foreign/Ptr.hs 1
434-{-# OPTIONS_GHC -XNoImplicitPrelude #-}
435+{-# LANGUAGE CPP
436+           , NoImplicitPrelude
437+           , ForeignFunctionInterface
438+           , MagicHash
439+           , GeneralizedNewtypeDeriving
440+  #-}
441+
442 -----------------------------------------------------------------------------
443 -- |
444 -- Module      :  Foreign.Ptr
445hunk ./Foreign/StablePtr.hs 1
446-{-# OPTIONS_GHC -XNoImplicitPrelude #-}
447+{-# LANGUAGE CPP, NoImplicitPrelude #-}
448+
449 -----------------------------------------------------------------------------
450 -- |
451 -- Module      :  Foreign.StablePtr
452hunk ./Foreign/Storable.hs 1
453-{-# OPTIONS_GHC -XNoImplicitPrelude #-}
454+{-# LANGUAGE CPP, NoImplicitPrelude, ScopedTypeVariables #-}
455+
456 -----------------------------------------------------------------------------
457 -- |
458 -- Module      :  Foreign.Storable
459hunk ./GHC/Arr.lhs 2
460 \begin{code}
461+{-# LANGUAGE NoImplicitPrelude, NoBangPatterns, MagicHash, UnboxedTuples #-}
462 {-# OPTIONS_GHC -funbox-strict-fields #-}
463hunk ./GHC/Arr.lhs 4
464-{-# LANGUAGE NoImplicitPrelude, NoBangPatterns #-}
465 {-# OPTIONS_HADDOCK hide #-}
466hunk ./GHC/Arr.lhs 5
467+
468 -----------------------------------------------------------------------------
469 -- |
470 -- Module      :  GHC.Arr
471hunk ./GHC/Base.lhs 65
472 Other Prelude modules are much easier with fewer complex dependencies.
473 
474 \begin{code}
475-{-# LANGUAGE BangPatterns #-}
476-{-# OPTIONS_GHC -XNoImplicitPrelude #-}
477+{-# LANGUAGE CPP
478+           , NoImplicitPrelude
479+           , BangPatterns
480+           , ExplicitForAll
481+           , MagicHash
482+           , UnboxedTuples
483+           , ExistentialQuantification
484+           , Rank2Types
485+  #-}
486 -- -fno-warn-orphans is needed for things like:
487 -- Orphan rule: "x# -# x#" ALWAYS forall x# :: Int# -# x# x# = 0
488 {-# OPTIONS_GHC -fno-warn-orphans #-}
489hunk ./GHC/Base.lhs 78
490 {-# OPTIONS_HADDOCK hide #-}
491+
492 -----------------------------------------------------------------------------
493 -- |
494 -- Module      :  GHC.Base
495hunk ./GHC/Classes.hs 2
496 
497-{-# OPTIONS_GHC -XNoImplicitPrelude #-}
498+{-# LANGUAGE NoImplicitPrelude, MagicHash, StandaloneDeriving #-}
499 {-# OPTIONS_GHC -fno-warn-unused-imports #-}
500 -- XXX -fno-warn-unused-imports needed for the GHC.Tuple import below. Sigh.
501 {-# OPTIONS_HADDOCK hide #-}
502hunk ./GHC/Conc.lhs 2
503 \begin{code}
504-{-# OPTIONS_GHC -XNoImplicitPrelude #-}
505+{-# LANGUAGE CPP, NoImplicitPrelude #-}
506 {-# OPTIONS_GHC -fno-warn-missing-signatures #-}
507 {-# OPTIONS_HADDOCK not-home #-}
508hunk ./GHC/Conc.lhs 5
509+
510 -----------------------------------------------------------------------------
511 -- |
512 -- Module      :  GHC.Conc
513hunk ./GHC/Conc/IO.hs 1
514-{-# OPTIONS_GHC -XNoImplicitPrelude #-}
515+{-# LANGUAGE CPP
516+           , NoImplicitPrelude
517+           , MagicHash
518+           , UnboxedTuples
519+           , ForeignFunctionInterface
520+  #-}
521 {-# OPTIONS_GHC -fno-warn-missing-signatures #-}
522 {-# OPTIONS_HADDOCK not-home #-}
523hunk ./GHC/Conc/IO.hs 9
524+
525 -----------------------------------------------------------------------------
526 -- |
527 -- Module      :  GHC.Conc.IO
528hunk ./GHC/Conc/Signal.hs 1
529-{-# LANGUAGE NoImplicitPrelude #-}
530+{-# LANGUAGE NoImplicitPrelude, ForeignFunctionInterface #-}
531 
532 module GHC.Conc.Signal
533         ( Signal
534hunk ./GHC/Conc/Sync.lhs 2
535 \begin{code}
536-{-# LANGUAGE BangPatterns #-}
537-{-# OPTIONS_GHC -XNoImplicitPrelude #-}
538+{-# LANGUAGE CPP
539+           , NoImplicitPrelude
540+           , BangPatterns
541+           , MagicHash
542+           , UnboxedTuples
543+           , UnliftedFFITypes
544+           , ForeignFunctionInterface
545+           , DeriveDataTypeable
546+  #-}
547 {-# OPTIONS_GHC -fno-warn-missing-signatures #-}
548 {-# OPTIONS_HADDOCK not-home #-}
549hunk ./GHC/Conc/Sync.lhs 13
550+
551 -----------------------------------------------------------------------------
552 -- |
553 -- Module      :  GHC.Conc.Sync
554hunk ./GHC/Conc/Windows.hs 1
555-{-# OPTIONS_GHC -XNoImplicitPrelude #-}
556+{-# LANGUAGE NoImplicitPrelude #-}
557 {-# OPTIONS_GHC -fno-warn-missing-signatures #-}
558 {-# OPTIONS_HADDOCK not-home #-}
559hunk ./GHC/Conc/Windows.hs 4
560+
561 -----------------------------------------------------------------------------
562 -- |
563 -- Module      :  GHC.Conc.Windows
564hunk ./GHC/ConsoleHandler.hs 1
565-{-# OPTIONS_GHC -cpp #-}
566+{-# LANGUAGE CPP #-}
567+
568 -----------------------------------------------------------------------------
569 -- |
570 -- Module      :  GHC.ConsoleHandler
571hunk ./GHC/Constants.hs 1
572+{-# LANGUAGE CPP #-}
573 
574 module GHC.Constants where
575 
576hunk ./GHC/Desugar.hs 1
577+{-# LANGUAGE CPP
578+           , NoImplicitPrelude
579+           , Rank2Types
580+           , ExistentialQuantification
581+  #-}
582+
583 -----------------------------------------------------------------------------
584 -- |
585 -- Module      :  GHC.Desugar
586hunk ./GHC/Enum.lhs 2
587 \begin{code}
588-{-# LANGUAGE BangPatterns #-}
589-{-# OPTIONS_GHC -XNoImplicitPrelude #-}
590+{-# LANGUAGE NoImplicitPrelude, BangPatterns, MagicHash #-}
591 {-# OPTIONS_HADDOCK hide #-}
592 -----------------------------------------------------------------------------
593 -- |
594hunk ./GHC/Environment.hs 1
595+{-# LANGUAGE ForeignFunctionInterface #-}
596 
597 module GHC.Environment (getFullArgs) where
598 
599hunk ./GHC/Err.lhs 2
600 \begin{code}
601-{-# OPTIONS_GHC -XNoImplicitPrelude #-}
602+{-# LANGUAGE CPP, NoImplicitPrelude #-}
603 {-# OPTIONS_HADDOCK hide #-}
604hunk ./GHC/Err.lhs 4
605+
606 -----------------------------------------------------------------------------
607 -- |
608 -- Module      :  GHC.Err
609hunk ./GHC/Err.lhs-boot 2
610 \begin{code}
611-{-# OPTIONS_GHC -XNoImplicitPrelude #-}
612+{-# LANGUAGE NoImplicitPrelude #-}
613+
614 ---------------------------------------------------------------------------
615 --                  Ghc.Err.hs-boot
616 ---------------------------------------------------------------------------
617hunk ./GHC/Exception.lhs 2
618 \begin{code}
619-{-# OPTIONS_GHC -XNoImplicitPrelude #-}
620+{-# LANGUAGE NoImplicitPrelude
621+           , ExistentialQuantification
622+           , MagicHash
623+           , DeriveDataTypeable
624+  #-}
625 {-# OPTIONS_HADDOCK hide #-}
626 -----------------------------------------------------------------------------
627 -- |
628hunk ./GHC/Exts.hs 1
629+{-# LANGUAGE MagicHash, UnboxedTuples, DeriveDataTypeable #-}
630+
631 -----------------------------------------------------------------------------
632 -- |
633 -- Module      :  GHC.Exts
634hunk ./GHC/Float.lhs 2
635 \begin{code}
636-{-# OPTIONS_GHC -XNoImplicitPrelude #-}
637+{-# LANGUAGE CPP
638+           , NoImplicitPrelude
639+           , MagicHash
640+           , UnboxedTuples
641+           , ForeignFunctionInterface
642+  #-}
643 -- We believe we could deorphan this module, by moving lots of things
644 -- around, but we haven't got there yet:
645 {-# OPTIONS_GHC -fno-warn-orphans #-}
646hunk ./GHC/Float.lhs 12
647 {-# OPTIONS_HADDOCK hide #-}
648+
649 -----------------------------------------------------------------------------
650 -- |
651 -- Module      :  GHC.Float
652hunk ./GHC/ForeignPtr.hs 1
653-{-# LANGUAGE BangPatterns #-}
654-{-# OPTIONS_GHC -XNoImplicitPrelude #-}
655+{-# LANGUAGE CPP
656+           , NoImplicitPrelude
657+           , BangPatterns
658+           , MagicHash
659+           , UnboxedTuples
660+  #-}
661 {-# OPTIONS_HADDOCK hide #-}
662hunk ./GHC/ForeignPtr.hs 8
663+
664 -----------------------------------------------------------------------------
665 -- |
666 -- Module      :  GHC.ForeignPtr
667hunk ./GHC/IO.hs 1
668+{-# LANGUAGE NoImplicitPrelude
669+           , BangPatterns
670+           , RankNTypes
671+           , MagicHash
672+           , UnboxedTuples
673+  #-}
674 {-# OPTIONS_GHC -funbox-strict-fields #-}
675hunk ./GHC/IO.hs 8
676-{-# LANGUAGE NoImplicitPrelude, BangPatterns, RankNTypes #-}
677 {-# OPTIONS_HADDOCK hide #-}
678 -----------------------------------------------------------------------------
679 -- |
680hunk ./GHC/IO.hs-boot 1
681+{-# LANGUAGE NoImplicitPrelude #-}
682+
683 module GHC.IO where
684 
685 import GHC.Types
686hunk ./GHC/IO/Buffer.hs 1
687-{-# OPTIONS_GHC  -XNoImplicitPrelude -funbox-strict-fields #-}
688+{-# LANGUAGE CPP, NoImplicitPrelude, ForeignFunctionInterface #-}
689+{-# OPTIONS_GHC -funbox-strict-fields #-}
690+
691 -----------------------------------------------------------------------------
692 -- |
693 -- Module      :  GHC.IO.Buffer
694hunk ./GHC/IO/BufferedIO.hs 1
695-{-# OPTIONS_GHC  -XNoImplicitPrelude -funbox-strict-fields #-}
696+{-# LANGUAGE NoImplicitPrelude #-}
697+{-# OPTIONS_GHC -funbox-strict-fields #-}
698+
699 -----------------------------------------------------------------------------
700 -- |
701 -- Module      :  GHC.IO.BufferedIO
702hunk ./GHC/IO/Device.hs 1
703-{-# OPTIONS_GHC -XNoImplicitPrelude -XBangPatterns #-}
704+{-# LANGUAGE CPP, NoImplicitPrelude, BangPatterns #-}
705+
706 -----------------------------------------------------------------------------
707 -- |
708 -- Module      :  GHC.IO.Device
709hunk ./GHC/IO/Encoding.hs 1
710-{-# OPTIONS_GHC -XNoImplicitPrelude -funbox-strict-fields #-}
711+{-# LANGUAGE CPP, NoImplicitPrelude #-}
712+{-# OPTIONS_GHC -funbox-strict-fields #-}
713+
714 -----------------------------------------------------------------------------
715 -- |
716 -- Module      :  GHC.IO.Encoding
717hunk ./GHC/IO/Encoding/CodePage.hs 1
718-{-# LANGUAGE BangPatterns #-}
719+{-# LANGUAGE CPP, BangPatterns #-}
720 module GHC.IO.Encoding.CodePage(
721 #if !defined(mingw32_HOST_OS)
722  ) where
723hunk ./GHC/IO/Encoding/Iconv.hs 1
724-{-# OPTIONS_GHC -XNoImplicitPrelude #-}
725+{-# LANGUAGE CPP
726+           , NoImplicitPrelude
727+           , ForeignFunctionInterface
728+           , NondecreasingIndentation
729+  #-}
730+
731 -----------------------------------------------------------------------------
732 -- |
733 -- Module      :  GHC.IO.Encoding.Iconv
734hunk ./GHC/IO/Encoding/Latin1.hs 1
735-{-# OPTIONS_GHC  -XNoImplicitPrelude -funbox-strict-fields #-}
736-{-# LANGUAGE BangPatterns #-}
737+{-# LANGUAGE NoImplicitPrelude
738+           , BangPatterns
739+           , NondecreasingIndentation
740+  #-}
741+{-# OPTIONS_GHC  -funbox-strict-fields #-}
742+
743 -----------------------------------------------------------------------------
744 -- |
745 -- Module      :  GHC.IO.Encoding.Latin1
746hunk ./GHC/IO/Encoding/Types.hs 1
747-{-# OPTIONS_GHC -XNoImplicitPrelude -funbox-strict-fields #-}
748+{-# LANGUAGE NoImplicitPrelude, ExistentialQuantification #-}
749+{-# OPTIONS_GHC -funbox-strict-fields #-}
750+
751 -----------------------------------------------------------------------------
752 -- |
753 -- Module      :  GHC.IO.Encoding.Types
754hunk ./GHC/IO/Encoding/UTF16.hs 1
755-{-# OPTIONS_GHC  -XNoImplicitPrelude -funbox-strict-fields #-}
756-{-# LANGUAGE BangPatterns #-}
757+{-# LANGUAGE CPP
758+           , NoImplicitPrelude
759+           , BangPatterns
760+           , NondecreasingIndentation
761+           , MagicHash
762+  #-}
763+{-# OPTIONS_GHC  -funbox-strict-fields #-}
764+
765 -----------------------------------------------------------------------------
766 -- |
767 -- Module      :  GHC.IO.Encoding.UTF16
768hunk ./GHC/IO/Encoding/UTF32.hs 1
769-{-# OPTIONS_GHC  -XNoImplicitPrelude -funbox-strict-fields #-}
770-{-# LANGUAGE BangPatterns #-}
771+{-# LANGUAGE NoImplicitPrelude
772+           , BangPatterns
773+           , NondecreasingIndentation
774+           , MagicHash
775+  #-}
776+{-# OPTIONS_GHC  -funbox-strict-fields #-}
777+
778 -----------------------------------------------------------------------------
779 -- |
780 -- Module      :  GHC.IO.Encoding.UTF32
781hunk ./GHC/IO/Encoding/UTF8.hs 1
782-{-# OPTIONS_GHC  -XNoImplicitPrelude -funbox-strict-fields #-}
783-{-# LANGUAGE BangPatterns #-}
784+{-# LANGUAGE NoImplicitPrelude
785+           , BangPatterns
786+           , NondecreasingIndentation
787+           , MagicHash
788+  #-}
789+{-# OPTIONS_GHC -funbox-strict-fields #-}
790+
791 -----------------------------------------------------------------------------
792 -- |
793 -- Module      :  GHC.IO.Encoding.UTF8
794hunk ./GHC/IO/Exception.hs 1
795-{-# OPTIONS_GHC -XNoImplicitPrelude -funbox-strict-fields #-}
796+{-# LANGUAGE NoImplicitPrelude, DeriveDataTypeable, MagicHash #-}
797+{-# OPTIONS_GHC -funbox-strict-fields #-}
798 {-# OPTIONS_HADDOCK hide #-}
799 -----------------------------------------------------------------------------
800 -- |
801hunk ./GHC/IO/Exception.hs-boot 1
802-{-# OPTIONS -fno-implicit-prelude #-}
803+{-# LANGUAGE NoImplicitPrelude #-}
804 module GHC.IO.Exception where
805 
806 import GHC.Base
807hunk ./GHC/IO/FD.hs 1
808-{-# OPTIONS_GHC -XNoImplicitPrelude -XBangPatterns -fno-warn-identities #-}
809+{-# LANGUAGE CPP
810+           , NoImplicitPrelude
811+           , BangPatterns
812+           , ForeignFunctionInterface
813+           , DeriveDataTypeable
814+  #-}
815+{-# OPTIONS_GH -fno-warn-identities #-}
816 -- Whether there are identities depends on the platform
817 {-# OPTIONS_HADDOCK hide #-}
818hunk ./GHC/IO/FD.hs 10
819+
820 -----------------------------------------------------------------------------
821 -- |
822 -- Module      :  GHC.IO.FD
823hunk ./GHC/IO/Handle.hs 1
824+{-# LANGUAGE CPP
825+           , NoImplicitPrelude
826+           , RecordWildCards
827+           , NondecreasingIndentation
828+  #-}
829 {-# OPTIONS_GHC -fno-warn-unused-matches #-}
830hunk ./GHC/IO/Handle.hs 7
831-{-# LANGUAGE NoImplicitPrelude, RecordWildCards #-}
832 
833 -----------------------------------------------------------------------------
834 -- |
835hunk ./GHC/IO/Handle.hs-boot 1
836-{-# OPTIONS_GHC -XNoImplicitPrelude #-}
837+{-# LANGUAGE NoImplicitPrelude #-}
838 
839 module GHC.IO.Handle where
840 
841hunk ./GHC/IO/Handle/FD.hs 1
842-{-# OPTIONS_GHC -XNoImplicitPrelude #-}
843+{-# LANGUAGE CPP, NoImplicitPrelude #-}
844+
845 -----------------------------------------------------------------------------
846 -- |
847 -- Module      :  GHC.IO.Handle.FD
848hunk ./GHC/IO/Handle/FD.hs-boot 1
849-{-# OPTIONS_GHC -XNoImplicitPrelude #-}
850+{-# LANGUAGE NoImplicitPrelude #-}
851 module GHC.IO.Handle.FD where
852 
853 import GHC.IO.Handle.Types
854hunk ./GHC/IO/Handle/Internals.hs 1
855+{-# LANGUAGE NoImplicitPrelude
856+           , RecordWildCards
857+           , BangPatterns
858+           , PatternGuards
859+           , NondecreasingIndentation
860+           , Rank2Types
861+  #-}
862 {-# OPTIONS_GHC -fno-warn-unused-matches #-}
863 {-# OPTIONS_GHC -fno-warn-name-shadowing #-}
864 {-# OPTIONS_HADDOCK hide #-}
865hunk ./GHC/IO/Handle/Internals.hs 11
866-{-# LANGUAGE NoImplicitPrelude, RecordWildCards, BangPatterns #-}
867 
868 -----------------------------------------------------------------------------
869 -- |
870hunk ./GHC/IO/Handle/Text.hs 1
871+{-# LANGUAGE CPP
872+           , NoImplicitPrelude
873+           , RecordWildCards
874+           , BangPatterns
875+           , NondecreasingIndentation
876+           , MagicHash
877+           , ForeignFunctionInterface
878+  #-}
879 {-# OPTIONS_GHC -fno-warn-name-shadowing #-}
880 {-# OPTIONS_GHC -fno-warn-unused-matches #-}
881 {-# OPTIONS_HADDOCK hide #-}
882hunk ./GHC/IO/Handle/Text.hs 12
883-{-# LANGUAGE NoImplicitPrelude, RecordWildCards, BangPatterns #-}
884 
885 -----------------------------------------------------------------------------
886 -- |
887hunk ./GHC/IO/Handle/Types.hs 1
888-{-# OPTIONS_GHC  -XNoImplicitPrelude -funbox-strict-fields #-}
889+{-# LANGUAGE CPP
890+           , NoImplicitPrelude
891+           , ExistentialQuantification
892+           , DeriveDataTypeable
893+  #-}
894+{-# OPTIONS_GHC -funbox-strict-fields #-}
895 {-# OPTIONS_HADDOCK hide #-}
896hunk ./GHC/IO/Handle/Types.hs 8
897+
898 -----------------------------------------------------------------------------
899 -- |
900 -- Module      :  GHC.IO.Handle.Types
901hunk ./GHC/IO/IOMode.hs 1
902-{-# OPTIONS_GHC -XNoImplicitPrelude #-}
903+{-# LANGUAGE NoImplicitPrelude #-}
904 {-# OPTIONS_HADDOCK hide #-}
905 -----------------------------------------------------------------------------
906 -- |
907hunk ./GHC/IOArray.hs 1
908-{-# OPTIONS_GHC -XNoImplicitPrelude -funbox-strict-fields #-}
909+{-# LANGUAGE NoImplicitPrelude #-}
910+{-# OPTIONS_GHC -funbox-strict-fields #-}
911 {-# OPTIONS_HADDOCK hide #-}
912 -----------------------------------------------------------------------------
913 -- |
914hunk ./GHC/IOBase.hs 1
915+{-# LANGUAGE DeriveDataTypeable #-}
916 {-# OPTIONS_HADDOCK hide #-}
917hunk ./GHC/IOBase.hs 3
918+
919 -----------------------------------------------------------------------------
920 -- |
921 -- Module      :  GHC.IOBase
922hunk ./GHC/IORef.hs 1
923-{-# OPTIONS_GHC -XNoImplicitPrelude -funbox-strict-fields #-}
924+{-# LANGUAGE NoImplicitPrelude, MagicHash #-}
925+{-# OPTIONS_GHC -funbox-strict-fields #-}
926 {-# OPTIONS_HADDOCK hide #-}
927hunk ./GHC/IORef.hs 4
928+
929 -----------------------------------------------------------------------------
930 -- |
931 -- Module      :  GHC.IORef
932hunk ./GHC/Int.hs 1
933-{-# LANGUAGE BangPatterns #-}
934-{-# OPTIONS_GHC -XNoImplicitPrelude #-}
935+{-# LANGUAGE CPP, NoImplicitPrelude, BangPatterns, MagicHash #-}
936 {-# OPTIONS_HADDOCK hide #-}
937 -----------------------------------------------------------------------------
938 -- |
939hunk ./GHC/List.lhs 2
940 \begin{code}
941-{-# OPTIONS_GHC -XNoImplicitPrelude #-}
942+{-# LANGUAGE CPP, NoImplicitPrelude, MagicHash #-}
943 {-# OPTIONS_HADDOCK hide #-}
944hunk ./GHC/List.lhs 4
945+
946 -----------------------------------------------------------------------------
947 -- |
948 -- Module      :  GHC.List
949hunk ./GHC/MVar.hs 1
950-{-# OPTIONS_GHC -XNoImplicitPrelude -funbox-strict-fields #-}
951+{-# LANGUAGE NoImplicitPrelude, MagicHash, UnboxedTuples #-}
952+{-# OPTIONS_GHC -funbox-strict-fields #-}
953 {-# OPTIONS_HADDOCK hide #-}
954hunk ./GHC/MVar.hs 4
955+
956 -----------------------------------------------------------------------------
957 -- |
958 -- Module      :  GHC.MVar
959hunk ./GHC/Num.lhs 2
960 \begin{code}
961-{-# OPTIONS_GHC -XNoImplicitPrelude #-}
962+{-# LANGUAGE CPP, NoImplicitPrelude, MagicHash, UnboxedTuples #-}
963 -- We believe we could deorphan this module, by moving lots of things
964 -- around, but we haven't got there yet:
965 {-# OPTIONS_GHC -fno-warn-orphans #-}
966hunk ./GHC/PArr.hs 1
967+{-# LANGUAGE CPP, ParallelArrays, MagicHash, UnboxedTuples #-}
968 {-# OPTIONS_GHC -funbox-strict-fields #-}
969 {-# OPTIONS_GHC -fno-warn-incomplete-patterns #-}
970hunk ./GHC/PArr.hs 4
971-{-# LANGUAGE ParallelArrays #-}
972 
973 -----------------------------------------------------------------------------
974 -- |
975hunk ./GHC/Pack.lhs 2
976 \begin{code}
977-{-# OPTIONS_GHC -XNoImplicitPrelude #-}
978+{-# LANGUAGE NoImplicitPrelude, MagicHash, UnboxedTuples #-}
979 {-# OPTIONS_HADDOCK hide #-}
980hunk ./GHC/Pack.lhs 4
981+
982 -----------------------------------------------------------------------------
983 -- |
984 -- Module      :  GHC.Pack
985hunk ./GHC/Ptr.lhs 2
986 \begin{code}
987-{-# OPTIONS_GHC -XNoImplicitPrelude #-}
988+{-# LANGUAGE CPP, NoImplicitPrelude, MagicHash #-}
989 {-# OPTIONS_HADDOCK hide #-}
990hunk ./GHC/Ptr.lhs 4
991+
992 -----------------------------------------------------------------------------
993 -- |
994 -- Module      :  GHC.Ptr
995hunk ./GHC/Read.lhs 2
996 \begin{code}
997-{-# OPTIONS_GHC -XNoImplicitPrelude #-}
998+{-# LANGUAGE CPP, NoImplicitPrelude #-}
999 {-# OPTIONS_HADDOCK hide #-}
1000hunk ./GHC/Read.lhs 4
1001+
1002 -----------------------------------------------------------------------------
1003 -- |
1004 -- Module      :  GHC.Read
1005hunk ./GHC/Real.lhs 2
1006 \begin{code}
1007-{-# OPTIONS_GHC -XNoImplicitPrelude #-}
1008+{-# LANGUAGE CPP, NoImplicitPrelude, MagicHash, UnboxedTuples #-}
1009 {-# OPTIONS_HADDOCK hide #-}
1010 -----------------------------------------------------------------------------
1011 -- |
1012hunk ./GHC/ST.lhs 2
1013 \begin{code}
1014-{-# OPTIONS_GHC -XNoImplicitPrelude #-}
1015+{-# LANGUAGE NoImplicitPrelude, MagicHash, UnboxedTuples, Rank2Types #-}
1016 {-# OPTIONS_HADDOCK hide #-}
1017 -----------------------------------------------------------------------------
1018 -- |
1019hunk ./GHC/STRef.lhs 2
1020 \begin{code}
1021-{-# OPTIONS_GHC -XNoImplicitPrelude #-}
1022+{-# LANGUAGE NoImplicitPrelude, MagicHash, UnboxedTuples #-}
1023 {-# OPTIONS_HADDOCK hide #-}
1024hunk ./GHC/STRef.lhs 4
1025+
1026 -----------------------------------------------------------------------------
1027 -- |
1028 -- Module      :  GHC.STRef
1029hunk ./GHC/Show.lhs 2
1030 \begin{code}
1031-{-# LANGUAGE BangPatterns #-}
1032-{-# OPTIONS_GHC -XNoImplicitPrelude #-}
1033+{-# LANGUAGE NoImplicitPrelude, BangPatterns, MagicHash #-}
1034 {-# OPTIONS_HADDOCK hide #-}
1035hunk ./GHC/Show.lhs 4
1036+
1037 -----------------------------------------------------------------------------
1038 -- |
1039 -- Module      :  GHC.Show
1040hunk ./GHC/Show.lhs-boot 2
1041 \begin{code}
1042-{-# OPTIONS_GHC -XNoImplicitPrelude #-}
1043+{-# LANGUAGE NoImplicitPrelude #-}
1044 
1045 module GHC.Show (showSignedInt) where
1046 
1047hunk ./GHC/Stable.lhs 2
1048 \begin{code}
1049-{-# OPTIONS_GHC -XNoImplicitPrelude #-}
1050+{-# LANGUAGE NoImplicitPrelude
1051+           , MagicHash
1052+           , UnboxedTuples
1053+           , ForeignFunctionInterface
1054+  #-}
1055 {-# OPTIONS_HADDOCK hide #-}
1056hunk ./GHC/Stable.lhs 8
1057+
1058 -----------------------------------------------------------------------------
1059 -- |
1060 -- Module      :  GHC.Stable
1061hunk ./GHC/Storable.lhs 2
1062 \begin{code}
1063-{-# OPTIONS_GHC -XNoImplicitPrelude #-}
1064+{-# LANGUAGE NoImplicitPrelude, MagicHash, UnboxedTuples #-}
1065 {-# OPTIONS_HADDOCK hide #-}
1066hunk ./GHC/Storable.lhs 4
1067+
1068 -----------------------------------------------------------------------------
1069 -- |
1070 -- Module      :  GHC.Storable
1071hunk ./GHC/TopHandler.lhs 2
1072 \begin{code}
1073-{-# OPTIONS_GHC -XNoImplicitPrelude #-}
1074+{-# LANGUAGE CPP
1075+           , NoImplicitPrelude
1076+           , ForeignFunctionInterface
1077+           , MagicHash
1078+           , UnboxedTuples
1079+           , PatternGuards
1080+  #-}
1081 {-# OPTIONS_GHC -fno-warn-unused-imports #-}
1082 {-# OPTIONS_HADDOCK hide #-}
1083hunk ./GHC/TopHandler.lhs 11
1084+
1085 -----------------------------------------------------------------------------
1086 -- |
1087 -- Module      :  GHC.TopHandler
1088hunk ./GHC/Unicode.hs 1
1089-{-# OPTIONS_GHC -XNoImplicitPrelude #-}
1090+{-# LANGUAGE CPP, NoImplicitPrelude, ForeignFunctionInterface #-}
1091 {-# OPTIONS -#include "WCsubst.h" #-}
1092 {-# OPTIONS_HADDOCK hide #-}
1093hunk ./GHC/Unicode.hs 4
1094+
1095 -----------------------------------------------------------------------------
1096 -- |
1097 -- Module      :  GHC.Unicode
1098hunk ./GHC/Unicode.hs-boot 1
1099-{-# OPTIONS_GHC -XNoImplicitPrelude #-}
1100+{-# LANGUAGE NoImplicitPrelude #-}
1101 
1102 module GHC.Unicode where
1103 
1104hunk ./GHC/Weak.lhs 2
1105 \begin{code}
1106-{-# LANGUAGE BangPatterns #-}
1107-{-# OPTIONS_GHC -XNoImplicitPrelude #-}
1108+{-# LANGUAGE CPP
1109+           , NoImplicitPrelude
1110+           , BangPatterns
1111+           , MagicHash
1112+           , UnboxedTuples
1113+  #-}
1114 {-# OPTIONS_HADDOCK hide #-}
1115hunk ./GHC/Weak.lhs 9
1116+
1117 -----------------------------------------------------------------------------
1118 -- |
1119 -- Module      :  GHC.Weak
1120hunk ./GHC/Word.hs 1
1121-{-# LANGUAGE BangPatterns #-}
1122-{-# OPTIONS_GHC -XNoImplicitPrelude #-}
1123+{-# LANGUAGE CPP, NoImplicitPrelude, BangPatterns, MagicHash #-}
1124 {-# OPTIONS_HADDOCK hide #-}
1125hunk ./GHC/Word.hs 3
1126+
1127 -----------------------------------------------------------------------------
1128 -- |
1129 -- Module      :  GHC.Word
1130hunk ./NHC/PosixTypes.hsc 1
1131+{-# LANGUAGE CPP #-}
1132 {-# OPTIONS_NHC98 -I/usr/include #-}
1133hunk ./NHC/PosixTypes.hsc 3
1134+
1135 -----------------------------------------------------------------------------
1136 -- |
1137 -- Module      :  NHC.PosixTypes
1138hunk ./Numeric.hs 1
1139-{-# OPTIONS_GHC -XNoImplicitPrelude #-}
1140+{-# LANGUAGE CPP, NoImplicitPrelude, MagicHash #-}
1141+
1142 -----------------------------------------------------------------------------
1143 -- |
1144 -- Module      :  Numeric
1145hunk ./Prelude.hs 1
1146-{-# OPTIONS_GHC -XNoImplicitPrelude -XBangPatterns #-}
1147+{-# LANGUAGE CPP, NoImplicitPrelude, BangPatterns #-}
1148+
1149 -----------------------------------------------------------------------------
1150 -- |
1151 -- Module      :  Prelude
1152hunk ./System/CPUTime.hsc 1
1153+{-# LANGUAGE CPP, NondecreasingIndentation, ForeignFunctionInterface #-}
1154+
1155 -----------------------------------------------------------------------------
1156 -- |
1157 -- Module      :  System.CPUTime
1158hunk ./System/Environment.hs 1
1159+{-# LANGUAGE CPP, ForeignFunctionInterface #-}
1160+
1161 -----------------------------------------------------------------------------
1162 -- |
1163 -- Module      :  System.Environment
1164hunk ./System/Event/Clock.hsc 1
1165-{-# LANGUAGE BangPatterns #-}
1166-{-# LANGUAGE ForeignFunctionInterface #-}
1167+{-# LANGUAGE NoImplicitPrelude, BangPatterns, ForeignFunctionInterface #-}
1168 
1169 module System.Event.Clock (getCurrentTime) where
1170 
1171hunk ./System/Event/Control.hs 1
1172-{-# LANGUAGE CPP, ForeignFunctionInterface, NoImplicitPrelude,
1173-    ScopedTypeVariables, BangPatterns #-}
1174+{-# LANGUAGE CPP
1175+           , ForeignFunctionInterface
1176+           , NoImplicitPrelude
1177+           , ScopedTypeVariables
1178+           , BangPatterns
1179+  #-}
1180 
1181 module System.Event.Control
1182     (
1183hunk ./System/Event/EPoll.hsc 1
1184-{-# LANGUAGE ForeignFunctionInterface, GeneralizedNewtypeDeriving,
1185-    NoImplicitPrelude, BangPatterns #-}
1186+{-# LANGUAGE CPP
1187+           , ForeignFunctionInterface
1188+           , GeneralizedNewtypeDeriving
1189+           , NoImplicitPrelude
1190+           , BangPatterns
1191+  #-}
1192 
1193 --
1194 -- | A binding to the epoll I/O event notification facility
1195hunk ./System/Event/IntMap.hs 2
1196 {-# LANGUAGE CPP, MagicHash, NoImplicitPrelude #-}
1197+
1198 -----------------------------------------------------------------------------
1199 -- |
1200 -- Module      :  System.Event.IntMap
1201hunk ./System/Event/KQueue.hsc 1
1202-{-# LANGUAGE ForeignFunctionInterface, GeneralizedNewtypeDeriving,
1203-    NoImplicitPrelude, RecordWildCards, BangPatterns #-}
1204+{-# LANGUAGE CPP
1205+           , ForeignFunctionInterface
1206+           , GeneralizedNewtypeDeriving
1207+           , NoImplicitPrelude
1208+           , RecordWildCards
1209+           , BangPatterns
1210+  #-}
1211 
1212 module System.Event.KQueue
1213     (
1214hunk ./System/Event/Manager.hs 1
1215-{-# LANGUAGE BangPatterns, CPP, ExistentialQuantification, NoImplicitPrelude,
1216-    RecordWildCards, TypeSynonymInstances #-}
1217+{-# LANGUAGE BangPatterns
1218+           , CPP
1219+           , ExistentialQuantification
1220+           , NoImplicitPrelude
1221+           , RecordWildCards
1222+           , TypeSynonymInstances
1223+           , FlexibleInstances
1224+  #-}
1225+
1226 module System.Event.Manager
1227     ( -- * Types
1228       EventManager
1229hunk ./System/Event/Poll.hsc 1
1230-{-# LANGUAGE ForeignFunctionInterface, GeneralizedNewtypeDeriving,
1231-    NoImplicitPrelude, BangPatterns #-}
1232+{-# LANGUAGE CPP
1233+           , ForeignFunctionInterface
1234+           , GeneralizedNewtypeDeriving
1235+           , NoImplicitPrelude
1236+           , BangPatterns
1237+  #-}
1238 
1239 module System.Event.Poll
1240     (
1241hunk ./System/Exit.hs 1
1242+{-# LANGUAGE CPP #-}
1243+
1244 -----------------------------------------------------------------------------
1245 -- |
1246 -- Module      :  System.Exit
1247hunk ./System/IO.hs 1
1248-{-# OPTIONS_GHC -XNoImplicitPrelude #-}
1249+{-# LANGUAGE CPP, NoImplicitPrelude #-}
1250+
1251 -----------------------------------------------------------------------------
1252 -- |
1253 -- Module      :  System.IO
1254hunk ./System/IO/Error.hs 1
1255-{-# OPTIONS_GHC -XNoImplicitPrelude #-}
1256+{-# LANGUAGE CPP, NoImplicitPrelude #-}
1257 
1258 -----------------------------------------------------------------------------
1259 -- |
1260hunk ./System/IO/Unsafe.hs 1
1261-{-# OPTIONS_GHC -XNoImplicitPrelude #-}
1262+{-# LANGUAGE CPP, NoImplicitPrelude #-}
1263+
1264 -----------------------------------------------------------------------------
1265 -- |
1266 -- Module      :  System.IO.Unsafe
1267hunk ./System/Info.hs 1
1268+{-# LANGUAGE CPP #-}
1269+
1270 -----------------------------------------------------------------------------
1271 -- |
1272 -- Module      :  System.Info
1273hunk ./System/Mem.hs 1
1274+{-# LANGUAGE CPP #-}
1275+
1276+#ifdef __GLASGOW_HASKELL__
1277+{-# LANGUAGE ForeignFunctionInterface #-}
1278+#endif
1279+
1280 -----------------------------------------------------------------------------
1281 -- |
1282 -- Module      :  System.Mem
1283hunk ./System/Mem/StableName.hs 1
1284+{-# LANGUAGE CPP #-}
1285+#ifdef __GLASGOW_HASKELL__
1286+{-# LANGUAGE MagicHash #-}
1287+#if !defined(__PARALLEL_HASKELL__)
1288+{-# LANGUAGE UnboxedTuples #-}
1289+#endif
1290+#endif
1291+
1292 -----------------------------------------------------------------------------
1293 -- |
1294 -- Module      :  System.Mem.StableName
1295hunk ./System/Mem/Weak.hs 1
1296+{-# LANGUAGE CPP #-}
1297+
1298 -----------------------------------------------------------------------------
1299 -- |
1300 -- Module      :  System.Mem.Weak
1301hunk ./System/Posix/Internals.hs 1
1302-{-# OPTIONS_GHC -XNoImplicitPrelude #-}
1303+{-# LANGUAGE CPP, NoImplicitPrelude, ForeignFunctionInterface #-}
1304 {-# OPTIONS_GHC -fno-warn-unused-binds #-}
1305 {-# OPTIONS_HADDOCK hide #-}
1306 
1307hunk ./System/Posix/Types.hs 1
1308-{-# OPTIONS_GHC -XNoImplicitPrelude #-}
1309+{-# LANGUAGE CPP
1310+           , NoImplicitPrelude
1311+           , MagicHash
1312+           , GeneralizedNewtypeDeriving
1313+  #-}
1314 {-# OPTIONS_GHC -fno-warn-unused-binds #-}
1315hunk ./System/Posix/Types.hs 7
1316+
1317 -----------------------------------------------------------------------------
1318 -- |
1319 -- Module      :  System.Posix.Types
1320hunk ./System/Timeout.hs 1
1321+{-# LANGUAGE CPP #-}
1322+
1323 -------------------------------------------------------------------------------
1324 -- |
1325 -- Module      :  System.Timeout
1326hunk ./Text/ParserCombinators/ReadP.hs 1
1327-{-# OPTIONS_GHC -XNoImplicitPrelude #-}
1328+{-# LANGUAGE CPP, NoImplicitPrelude #-}
1329+#ifndef __NHC__
1330+{-# LANGUAGE Rank2Types #-}
1331+#endif
1332+#ifdef __GLASGOW_HASKELL__
1333+{-# LANGUAGE MagicHash #-}
1334+#endif
1335+
1336 -----------------------------------------------------------------------------
1337 -- |
1338 -- Module      :  Text.ParserCombinators.ReadP
1339hunk ./Text/ParserCombinators/ReadPrec.hs 1
1340-{-# OPTIONS_GHC -XNoImplicitPrelude #-}
1341+{-# LANGUAGE CPP, NoImplicitPrelude #-}
1342+
1343 -----------------------------------------------------------------------------
1344 -- |
1345 -- Module      :  Text.ParserCombinators.ReadPrec
1346hunk ./Text/Printf.hs 1
1347+{-# LANGUAGE CPP #-}
1348+
1349 -----------------------------------------------------------------------------
1350 -- |
1351 -- Module      :  Text.Printf
1352hunk ./Text/Read.hs 1
1353-{-# OPTIONS_GHC -XNoImplicitPrelude #-}
1354+{-# LANGUAGE CPP, NoImplicitPrelude #-}
1355+
1356 -----------------------------------------------------------------------------
1357 -- |
1358 -- Module      :  Text.Read
1359hunk ./Text/Read/Lex.hs 1
1360-{-# OPTIONS_GHC -XNoImplicitPrelude #-}
1361+{-# LANGUAGE CPP, NoImplicitPrelude #-}
1362+
1363 -----------------------------------------------------------------------------
1364 -- |
1365 -- Module      :  Text.Read.Lex
1366hunk ./Text/Show.hs 1
1367-{-# OPTIONS_GHC -XNoImplicitPrelude #-}
1368+{-# LANGUAGE CPP, NoImplicitPrelude #-}
1369+
1370 -----------------------------------------------------------------------------
1371 -- |
1372 -- Module      :  Text.Show
1373hunk ./Text/Show/Functions.hs 1
1374+{-# LANGUAGE CPP #-}
1375 -- This module deliberately declares orphan instances:
1376 {-# OPTIONS_GHC -fno-warn-orphans #-}
1377hunk ./Text/Show/Functions.hs 4
1378+
1379 -----------------------------------------------------------------------------
1380 -- |
1381 -- Module      :  Text.Show.Functions
1382hunk ./Unsafe/Coerce.hs 1
1383-{-# OPTIONS_GHC -XNoImplicitPrelude #-}
1384+{-# LANGUAGE CPP, NoImplicitPrelude, MagicHash #-}
1385+
1386 -----------------------------------------------------------------------------
1387 -- |
1388 -- Module      :  Unsafe.Coerce
1389hunk ./base.cabal 102
1390         if os(windows)
1391             exposed-modules: GHC.IO.Encoding.CodePage.Table
1392                              GHC.Conc.Windows
1393-        extensions: MagicHash, ExistentialQuantification, Rank2Types,
1394-                    ScopedTypeVariables, UnboxedTuples,
1395-                    ForeignFunctionInterface, UnliftedFFITypes,
1396-                    DeriveDataTypeable, GeneralizedNewtypeDeriving,
1397-                    FlexibleInstances, StandaloneDeriving,
1398-                    PatternGuards, EmptyDataDecls, NoImplicitPrelude,
1399-                    NondecreasingIndentation
1400-    }
1401+}
1402     exposed-modules:
1403         Control.Applicative,
1404         Control.Arrow,
1405hunk ./base.cabal 224
1406             System.Event.Thread
1407             System.Event.Unique
1408     }
1409-    extensions: CPP
1410     -- We need to set the package name to base (without a version number)
1411     -- as it's magic.
1412     ghc-options: -package-name base
1413hunk ./codepages/MakeTable.hs 203
1414 -- Static parts of the generated module.
1415 
1416 languageDirectives :: [String]
1417-languageDirectives = ["{-# LANGUAGE MagicHash #-}"]
1418+languageDirectives = ["{-# LANGUAGE CPP, MagicHash #-}"]
1419 
1420 
1421 firstComment :: [FilePath] -> [String]
1422}
1423
1424Context:
1425
1426[fix silly mistake in hGetBufSome (#4895)
1427Simon Marlow <[email protected]>**20110121143555
1428 Ignore-this: 54a632de9f2826c861c98a7eeb72aab2
1429]
1430[Clean up remnants of the Event Manager after forkProcess. Closes #4449
1431Dmitry Astapov <[email protected]>**20110119103300
1432 Ignore-this: eac4a80629d51a80e29d904c05c886e4
1433]
1434[Document System.Event
1435Johan Tibell <[email protected]>**20110112125430
1436 Ignore-this: 737fefdd3e2d6ac2a30dca40fd5af40a
1437]
1438[Add NondecreasingIndentation to the extensions needed
1439Ian Lynagh <[email protected]>**20110117184820
1440 Ignore-this: cc65b5c32ae8d13bed7a90c835d2ef6a
1441]
1442[Remove extensions required for GHC < 6.10
1443Ian Lynagh <[email protected]>**20110117184715
1444 Ignore-this: e444b273e6c4edd8447f2d592f9a9079
1445]
1446[Added a Typeable instance for SampleVar
1447Bas van Dijk <[email protected]>**20101127091151
1448 Ignore-this: 43f1e6ff8d0c278724c6437c5c06386b
1449]
1450[Derived Eq instance for QSem and QSemN
1451Bas van Dijk <[email protected]>**20101201080307
1452 Ignore-this: c1d164b1a5740adffb430924ffc96a0c
1453]
1454[Derived Eq instance for Chan
1455Bas van Dijk <[email protected]>**20101125210240
1456 Ignore-this: 45c0f1cde9b77739bd8fce02318f32c3
1457]
1458[fix #4876
1459Simon Marlow <[email protected]>**20110106154654
1460 Ignore-this: 420925b083e396b48ca4bc41f82ea355
1461]
1462[Instances for ST not available in nhc98.
1463[email protected]**20110104125142
1464 Ignore-this: ef97b7ecda6dda089c2a065a7c9d4cfd
1465]
1466[indentation tweaks (whitespace only)
1467Ross Paterson <[email protected]>**20110103195201
1468 Ignore-this: 1fb5255f40acf275e093f32607417ba0
1469]
1470[indentation tweaks, re-order exports
1471Ross Paterson <[email protected]>**20110103194206
1472 Ignore-this: f1f33575115ca59e933201d3aa3a36b8
1473]
1474[Add Applicative instances for ST monads (proposal #4455)
1475Ross Paterson <[email protected]>**20110103185722
1476 Ignore-this: 4a63bf48a5d65b617c92b630541bf4f8
1477 
1478 patch from Bas van Dijk
1479]
1480[Always use 8k buffers instead of BUFSIZ
1481Simon Marlow <[email protected]>**20101221155154
1482 Ignore-this: e5960afc3bf77290e098e2b51ac59c5c
1483 This makes a huge difference to I/O performance for me on Windows,
1484 where BUFSIZ is 512.  It might help on Mac too.
1485]
1486[Replace uses of the old catch function with the new one
1487Ian Lynagh <[email protected]>**20101218213553]
1488[Fix build on Windows
1489Ian Lynagh <[email protected]>**20101213235837]
1490[Fix warnings
1491Ian Lynagh <[email protected]>**20101213132446
1492 Ignore-this: a5daa167e029170eaec0708352edc7ff
1493]
1494[Use onException for exception cleanup, and mask async exceptions
1495Bryan O'Sullivan <[email protected]>**20101206005222
1496 Ignore-this: ad60d2beef813e6b18bfde711d86d2fb
1497]
1498[Drop closeFd from Control.Concurrent, rename to closeFdWith
1499Bryan O'Sullivan <[email protected]>**20101206004124
1500 Ignore-this: c30c2c577f61018966e17208a2718abc
1501]
1502[Fix #4533 - unregister callbacks on exception, fixing a memory leak
1503Bryan O'Sullivan <[email protected]>**20101127181826
1504 Ignore-this: c37da82a058637c285a2b2fee4eee217
1505 
1506 Our problem here was that if a thread blocked in threadWait or
1507 threadDelay and was killed by an exception thrown from another thread,
1508 its registration with the IO manager would not be cleared.
1509 
1510 The fix is simply to install exception handlers that do the cleanup and
1511 propagate the exception.
1512 
1513]
1514[Drop System.Mem.Weak's dependency on Prelude
1515Bryan O'Sullivan <[email protected]>**20101127060425
1516 Ignore-this: e33216175ae42fe438d8be153cef0fd9
1517]
1518[Fix #4514 - IO manager deadlock
1519Bryan O'Sullivan <[email protected]>**20101126232810
1520 Ignore-this: 9deacf960c78c797ef6859b60ca9922
1521 
1522 * The public APIs for threadWaitRead and threadWaitWrite remain unchanged,
1523   and now throw an IOError if a file descriptor is closed behind their
1524   backs.  This behaviour is documented.
1525 
1526 * The GHC.Conc API is extended to add a closeFd function, the behaviour
1527   of which is documented.
1528 
1529 * Behind the scenes, we add a new evtClose event, which is used only when
1530   one thread closes a file descriptor that other threads are blocking on.
1531 
1532 * Both base's IO code and network use the new closeFd function.
1533 
1534]
1535[Bump the version of base
1536Bryan O'Sullivan <[email protected]>**20101126232756
1537 Ignore-this: deae33d1f0411b39d2f04e3e3e4e3598
1538]
1539[Cache for powers of 10
1540Daniel Fischer <[email protected]>**20101024190707
1541 Ignore-this: 53f2a3b3a3303c2b70dfc0838ac9c712
1542 Add a cache for commonly needed powers of 10 to speed up floatToDigits.
1543]
1544[Fix typo in floatToDigits
1545Daniel Fischer <[email protected]>**20101024185041
1546 Ignore-this: b8124de42645db04f3f8067fb77b87de
1547 The mDn value for powers of 2 >= floatDigits x - 1 was typo'ed, leading to longer than necessary show results in a few cases (e.g. 2.0^852).
1548 Corrected in accordance with Burger and Dybvig's paper.
1549]
1550[Performance enchancement for floatToDigits
1551Daniel Fischer <[email protected]>**20101024185914
1552 Ignore-this: fccbea500820219f755412f1e6af4be
1553 Use quot and quotRem instead of div and divMod for dividing positive Integers since that is a bit faster.
1554]
1555[FIX #4383
1556Daniel Fischer <[email protected]>**20101024182942
1557 Ignore-this: 340935fb5bde7a2f9446235ce502295a
1558 Use a better approximation to logBase 10 2 to prevent leading zeros in floatToDigits.
1559]
1560[Add a Read instance for Data.Fixed.Fixed
1561Ian Lynagh <[email protected]>**20101116211910]
1562[Also export lines, words, unlines and unwords from Data.String
1563Bas van Dijk <[email protected]>**20101018210317
1564 Ignore-this: 43f8b96a8a0934de94ba4fea26d7b562
1565]
1566[Do not export String from Data.Char
1567Bas van Dijk <[email protected]>**20101018205632
1568 Ignore-this: bb9e0306c371f7c455be7799131c056d
1569]
1570[Export String from Data.String
1571Bas van Dijk <[email protected]>**20101018204939
1572 Ignore-this: 2c860e0e88a5371f5c37ffc4e7148743
1573]
1574[extend the documentation about interruptible operations
1575Simon Marlow <[email protected]>**20101201131917
1576 Ignore-this: 95d1f0595a8b0f1ce977064ba544fa1b
1577]
1578[fix a discarded exception in hClose
1579Simon Marlow <[email protected]>**20101201130847
1580 Ignore-this: 7b023ae78d7edf356bafe02676769eec
1581]
1582[-XPArr is now -XParallelArrays
1583Ben Lippmeier <[email protected]>**20101130085931
1584 Ignore-this: b5529a189862387e291739f8b55bfa17
1585]
1586[check for ClosedHandle in read/write operations on DuplexHandles (#4808)
1587Simon Marlow <[email protected]>**20101201105114
1588 Ignore-this: 434443d3e31ea2ca3c5ee189c1318389
1589]
1590[Fix typo
1591Bryan O'Sullivan <[email protected]>**20101126200841
1592 Ignore-this: fc81cd0e820931df6dc87c52751594ef
1593]
1594[fix hTell behaviour with Unicode Handles
1595Simon Marlow <[email protected]>**20101125121831
1596 Ignore-this: bb6fefd609a30c106e877783e0f9e0a4
1597]
1598[Encode immediately in hPutStr and hPutChar
1599Simon Marlow <[email protected]>**20101125102520
1600 Ignore-this: 1503393cde63dd99a1e8c9d716bcbe10
1601 This means that decoding errors will be detected accurately, and can
1602 be caught and handled.  Overall the implementation is simpler this way
1603 too.
1604 
1605 It does impose a performance hit on small hPutStrs, although larger
1606 hPutStrs seem to be unaffected.  To compensate somewhat, I optimised
1607 hPutStrLn.
1608]
1609[Don't throw an error if the output buffer had no room
1610Simon Marlow <[email protected]>**20101124164221
1611 Ignore-this: 45023b77b7d107daae552d36701a225a
1612 This is consistent with the other codecs, and will be relied on by
1613 some upcoming changes in the IO library.
1614]
1615[use LANGUAGE instead of OPTIONS_GHC
1616Simon Marlow <[email protected]>**20101124162530
1617 Ignore-this: b72019eeeb706f366706578a45b22d46
1618]
1619[doc fix: don't refer to unblock.
1620Simon Marlow <[email protected]>**20101108133212
1621 Ignore-this: 52da909a3d262dda2c5f8e616da8ace3
1622]
1623[Remove unused import on Windows
1624Ian Lynagh <[email protected]>**20101120191432
1625 Ignore-this: 1d58c156f7c1884122ab957c1cb4328c
1626]
1627[Remove an unnecessary fromIntegral
1628Ian Lynagh <[email protected]>**20101120191052
1629 Ignore-this: 782b98c388086bd21cd3c33093938855
1630]
1631[Remove a redundant fromIntegral
1632Ian Lynagh <[email protected]>**20101120185837
1633 Ignore-this: 7ec9d1fe7c8f0c66b1ceaccf3f8b94ad
1634]
1635[Make (^) and (^^) INLINABLE
1636[email protected]**20101117100510
1637 Ignore-this: 111eececad91a198254c8976b4c26a3d
1638 
1639 This makes them perform well robustly
1640 (e.g. in test perf/should_run/MethSharing)
1641 rather than relying on a rather delicate
1642 let-floating.  See Note [Inlining (^) in Real.lhs
1643]
1644[TAG 2010-11-18
1645Ian Lynagh <[email protected]>**20101118011615
1646 Ignore-this: a5e79170bccf94dc72191a79cf756be7
1647]
1648[Remove redundant fromIntegral
1649[email protected]**20101117225716
1650 Ignore-this: 5a3e86b12cc9c9959d70d954f065cd
1651]
1652[Fixing uses of fromIntegral for Windows
1653[email protected]**20101117183351]
1654[Catch exceptions in current thread and throw them to the forked thread in runInUnboundThread
1655Bas van Dijk <[email protected]>**20101014212723
1656 Ignore-this: 6ed2952a3fa00d11055b61ed60f55ea8
1657]
1658[There's no need to explicitly check for blocked status in runInUnboundThread when we have mask
1659Bas van Dijk <[email protected]>**20101014212325
1660 Ignore-this: 22ca4c9eb3a476b6f83e612cccbac8ab
1661]
1662[Use throwIO instead of throw in runInBoundThread and runInUnboundThread
1663Bas van Dijk <[email protected]>**20101014210546
1664 Ignore-this: 8f8716fc3b565bdb11c68856663793c5
1665]
1666[Remove unnecessary fromIntegral calls
1667[email protected]**20101116172451
1668 Ignore-this: 8c44dc2b381c050d4eaaf287bbc55b9
1669]
1670[Add some comments to the generated Table.hs
1671Ian Lynagh <[email protected]>**20101113123430]
1672[System.Event.KQueue conditionally uses BangPatterns
1673Ian Lynagh <[email protected]>**20101113114825]
1674[Add LANGUAGE BangPatterns to modules that use bang patterns
1675[email protected]**20101112170543
1676 Ignore-this: 30f36b61c29a5fbbfc70b97143ebb4a8
1677]
1678[Reimplement firstPowerOf2
1679Johan Tibell <[email protected]>**20101103094630
1680 Ignore-this: cc4f6ebe52f19ddc34d5e6412753d399
1681]
1682[Remove redundant import
1683Ian Lynagh <[email protected]>**20101031162520
1684 Ignore-this: 7fd90d2c844e28f7100c0d803d527953
1685]
1686[Re-gen GHC/IO/Encoding/CodePage/Table.hs
1687Ian Lynagh <[email protected]>**20101031162034
1688 Ignore-this: f8885db176f81b296f8dd8bb3146c05b
1689]
1690[Add a Makefile for MakeTable, and remove GHC.Num generated import
1691Ian Lynagh <[email protected]>**20101031161732
1692 Ignore-this: 4459f6b29a58978ab56af31bdb888280
1693]
1694[Fix whitespace in codepages/MakeTable.hs
1695Ian Lynagh <[email protected]>**20101031154953
1696 Ignore-this: 7d280cf26429de8a51947c2690d63b33
1697]
1698[Add an INLINE pragma on fromInteger on Int
1699[email protected]**20101027193931
1700 Ignore-this: 6363b8e1338f1e5334c28e8967284ef3
1701]
1702[Add an INLINE pragme for fmapDefault
1703[email protected]**20101027193859
1704 Ignore-this: 5f140c8fe79bbe1fa6af933fb58366bb
1705]
1706[hGetBuf: fix a case of a short read being returned (#4427)
1707Simon Marlow <[email protected]>**20101027144324
1708 Ignore-this: 6aa4cf722bef8eb01dfec3e751fd3eeb
1709]
1710[Refer to 'mask' instead of 'block' in documentation of Control.Exception
1711Bas van Dijk <[email protected]>**20101016185312
1712 Ignore-this: cd1bc58df53f3cd1078b9031c3c13f4e
1713]
1714[Add showMultiLineString to GHC.Show
1715[email protected]**20101025151655
1716 Ignore-this: eacc594597387e8d965d17204b3ae35f
1717 
1718 This is part of the fix for #4436
1719 
1720   showMultiLineString :: String -> [String]
1721   -- | Like 'showLitString' (expand escape characters using Haskell
1722   -- escape conventions), but
1723   --   * break the string into multiple lines
1724   --   * wrap the entire thing in double quotes
1725   -- Example:  @breakMultiLineString "hello\ngoodbye\nblah"@
1726   -- returns   @["\"hello\\", "\\goodbye\\", "\\blah\"" ]@
1727   -- where those "\\" are really just a single backslash
1728   -- (but I'm writing them here as Haskell literals)
1729]
1730[CIntPtr, CUIntPtr, CIntMax, CUIntMax are new to nhc98.
1731[email protected]**20101025102644
1732 Ignore-this: 32d703e70b9d0136cd68fa1987b35c2c
1733]
1734[Follow GHC.Bool/GHC.Types merge
1735Ian Lynagh <[email protected]>**20101023151510
1736 Ignore-this: e8b93b702f02a4709706b130988f85a8
1737]
1738[Remove redundant imports, now that NoImplicitPrelude does not imply RebindableSyntax
1739[email protected]**20101022143157
1740 Ignore-this: 8d11a7ea4625d4d9cd1514e7fe158626
1741]
1742[FIX #4335
1743Daniel Fischer <[email protected]>**20101019010109
1744 Ignore-this: 3b8ad075637088df77937b923f623204
1745 fromRational :: Rational -> Ratio a produced invalid results for fixed-width
1746 types a. Reduce the fraction to avoid that.
1747]
1748[FIX #4337
1749Daniel Fischer <[email protected]>**20101019003030
1750 Ignore-this: e6eee4088d63e8d72d5ca7d92f708705
1751 Special versions for the power functions with a Rational base and rewrite rules.
1752]
1753[remove trailing whitespace
1754Simon Marlow <[email protected]>**20101021093337
1755 Ignore-this: dda2815ba424a460ba2a31771a3f03fc
1756]
1757[FIX #4336
1758Daniel Fischer <[email protected]>**20101021093246
1759 Ignore-this: 76031829aff90251a284dbfa72f3b128
1760 Avoid superfluous gcd calculation in recip for Ratio a because numerator
1761 and denominator are known to be coprime.
1762]
1763[Add throwSTM :: Exception e => e -> STM a
1764Bas van Dijk <[email protected]>**20100926192144
1765 Ignore-this: c6bfdae0eab9f0cf1360bc06d088bfd5
1766]
1767[Generalize catchSTM
1768Bas van Dijk <[email protected]>**20100926192106
1769 Ignore-this: d2038494582d2cde2247293dd162671c
1770]
1771[FIX #4334
1772Daniel Fischer <[email protected]>**20101020091111
1773 Ignore-this: 1a1a406fcf4c352b5bc1f46f93f31b2a
1774 Make selector thunks visible to GHC to fix a space leak in lines.
1775]
1776[FIX #1434
1777Daniel Fischer <[email protected]>**20101020091014
1778 Ignore-this: 3c7c73d3f4487d5aaa453087497d3534
1779 Rewrite rules for RealFrac methods with sized Int and Word targets.
1780 For all types whose range is contained in Int's range, there are now
1781 rewrite rules for properFraction, truncate, floor, ceiling and round
1782 from Double and Float, going through the specialised methods for Int.
1783 
1784 Unfortunately, we can't have a rewrite rule for Word.
1785]
1786[Define SpecConstrAnnotation in GHC.Exts, and import it from there
1787[email protected]**20101018135857
1788 Ignore-this: 8bf81cbc5787dbb5a3875b5622f67732
1789   
1790 Reason: avoid having to link the entire ghc package in modules
1791 that use compile-time annotations:
1792   
1793        import GHC.Exts( SpecConstrAnnotation )
1794        {-# ANN type T ForceSpecConstr #-}
1795   
1796 It's a kind of bug that the package exporting SpecConstrAnnotation
1797 is linked even though it is only needed at compile time, but putting
1798 the data type declaration in GHC.Exts is a simple way to sidestep
1799 the problem
1800   
1801 See See Note [SpecConstrAnnotation] in SpecConstr
1802]
1803[throwTo: mention interruptible foreign calls
1804Simon Marlow <[email protected]>**20101014084220
1805 Ignore-this: dbc53d85f870cf649f87186c7185465a
1806]
1807[remove trailing whitespace
1808Simon Marlow <[email protected]>**20101013101906
1809 Ignore-this: b8b424540cacbbb3c6d934242e3af795
1810]
1811[FIX #4381
1812Simon Marlow <[email protected]>**20101013101849
1813 Ignore-this: f0daa4845eeb444231451b975b71d055
1814 Fix scaleFloat by clamping the scaling parameter so that
1815 exponent + scale doesn't overflow.
1816 
1817 Patch by: Daniel Fischer <[email protected]>
1818]
1819[Replaced some throws to throwIOs where the type is IO
1820Bas van Dijk <[email protected]>**20100924221340
1821 Ignore-this: e74191e4527ae6f7551c95fd41063335
1822]
1823[Added initial .authorspellings
1824Bas van Dijk <[email protected]>**20101005072701
1825 Ignore-this: 63628bcabfdd0b7beda4cd37daeccd89
1826]
1827[Lazier intersperse
1828Daniel Fischer <[email protected]>**20101002231201
1829 Ignore-this: a0fed65930cf19e68b4363381a5ab576
1830 A lazier implementation of intersperse, and consequentially intercalate, to
1831 avoid space leaks.
1832]
1833[FIX #4228 (atanh (-1) returns NaN instead of -Infinity)
1834[email protected]**20100816213654
1835 Ignore-this: dee89c24493e84a02bea711a1c83a73f
1836]
1837[Make intersectBy lazier
1838Daniel Fischer <[email protected]>**20100930191731
1839 Ignore-this: ef687bc75923434e85c14b57171576aa
1840 Add shortcuts to intersectBy for empty list arguments.
1841 In addition to being faster in that case, more inputs yield defined results.
1842 Treats ticket #4323
1843]
1844[doc tweak for Directory file type: file names are '\0'-separated
1845Simon Marlow <[email protected]>**20100922113811
1846 Ignore-this: 96b7b004bd6e5bc3e958ad55bf238ba1
1847]
1848[documentation for IODeviceType (#4317, edited by me)
1849Simon Marlow <[email protected]>**20100915131341
1850 Ignore-this: 21c50ca7a189eebcf299523b6e942bae
1851]
1852[Allow Data.HashTable construction with user-supplied size
1853**20100722210726
1854 Ignore-this: bd54880bb16a106a992f03b040dc4164
1855 
1856 This avoids some resizing for users who know they will be inserting a
1857 lot of data.
1858 
1859 http://hackage.haskell.org/trac/ghc/ticket/4193
1860]
1861[some fixes for hGetBufSome
1862Simon Marlow <[email protected]>**20100916113732
1863 Ignore-this: 3e596a606c180dc4859ea8f4c9132ca1
1864  - fix one case where it was blocking when it shouldn't
1865  - a couple of error-message tweaks
1866]
1867[Windows: map ERROR_NO_DATA to EPIPE, rather than EINVAL
1868Simon Marlow <[email protected]>**20100915142618
1869 Ignore-this: 9023e5f0542419f225aef26cb6b1d88d
1870 WriteFile() returns ERROR_NO_DATA when writing to a pipe that is
1871 "closing", however by default the write() wrapper in the CRT maps this
1872 to EINVAL so we get confusing things like
1873 
1874   hPutChar: invalid argument (Invalid Argumnet)
1875 
1876 when piping the output of a Haskell program into something that closes
1877 the pipe early.  This was happening in the testsuite in a few place.
1878 
1879 The solution is to map ERROR_NO_DATA to EPIPE correctly, as we
1880 explicitly check for EPIPE on stdout (in GHC.TopHandler) so we can
1881 exit without an error in this case.
1882]
1883[tighten up parsing of numbers (#1579)
1884Simon Marlow <[email protected]>**20100913214733
1885 Ignore-this: 3411bf3d2e98cfacb9e0afd11d79e722
1886]
1887[Add absentError. 
1888[email protected]**20100914134639
1889 Ignore-this: d0eef5a87e1def4cdbde92a55241c8c4
1890 
1891 This patch accompanies the HEAD patch:
1892 
1893   Tue Sep 14 12:38:27 BST 2010  [email protected]
1894     * Make absent-arg wrappers work for unlifted types (fix Trac #4306)
1895     
1896     Previously we were simply passing arguments of unlifted
1897     type to a wrapper, even if they were absent, which was
1898     stupid.
1899     
1900     See Note [Absent error Id] in WwLib.
1901]
1902[Add missing import, fixes build on windows
1903[email protected]**20100914122750
1904 Ignore-this: 12ece15ef94982ddfbf5f9f7900619da
1905]
1906[Add a suitable Show instance for TextEncoding (#4273)
1907Simon Marlow <[email protected]>**20100913154459
1908 Ignore-this: 77f2235460895debd2827f34c42c3435
1909]
1910[don't fill a finalized handle with an error (see comment)
1911Simon Marlow <[email protected]>**20100913153350
1912 Ignore-this: c72cdb6898dffa88eca1d781171b2943
1913]
1914[deriving (Eq, Ord, Read, Show) for Newline and NewlineMode
1915Simon Marlow <[email protected]>**20100913153031
1916 Ignore-this: 9b9b29bfb7abf5550cfbfa7788f81bf
1917]
1918[fix warning on Windows
1919Simon Marlow <[email protected]>**20100913111536
1920 Ignore-this: dacc5448c452daad60ed37a1a5ed096e
1921]
1922[Put the state-token argument on fill, done, adjust on the RHS
1923simonpj@microsoft.com**20100913101832
1924 Ignore-this: d228b492de7d4635c026ed24cbc17e34
1925 
1926 This is so that the functions will inline when
1927 applied to their normal (non-state-token) aguments.
1928 
1929 I forget why I did this, but it seems like the right thing anyway.
1930]
1931[avoid Foreign.unsafePerformIO
1932Ross Paterson <ross@soi.city.ac.uk>**20100909125521
1933 Ignore-this: b698101119ffd1bc6311cce0736f745d
1934]
1935[Remove debugging code accidentally left in
1936Simon Marlow <marlowsd@gmail.com>**20100909113331
1937 Ignore-this: 906a14176dd37030b8203782a687936b
1938]
1939[Fix Windows build; patches frmo ezyang
1940Ian Lynagh <igloo@earth.li>**20100908123037
1941 Ignore-this: 2f02986087edd7da8382221012c27cd0
1942]
1943[More accurate isatty test for MinGW.
1944Edward Z. Yang <ezyang@mit.edu>**20100907154144
1945 Ignore-this: 93bdc2b2a8e65a7c4c7d3906bdda01db
1946]
1947[Fix the build when HAVE_KQUEUE but not HAVE_KEVENT64
1948Ian Lynagh <igloo@earth.li>**20100904223703]
1949[Fix warnings
1950benl@ouroborus.net**20100830044741
1951 Ignore-this: 8397aaec7c36046c9ace403e65f32d32
1952]
1953[fix cache variable name used by FP_SEARCH_LIBS_PROTO
1954Ross Paterson <ross@soi.city.ac.uk>**20100819204858
1955 Ignore-this: b8113cb3c6f0e03c507297c99d3d82b7
1956]
1957[Add a missing castPtr (only shows up in -DDEBUG)
1958simonpj@microsoft.com**20100815145127
1959 Ignore-this: 30b9c42cd3ce7837bdabd254fe66078d
1960]
1961[Fixed a rounding error in threadDelay
1962Johan Tibell <johan.tibell@gmail.com>**20100813124043
1963 Ignore-this: 1cb77d0852233ffffb144b134064ee3c
1964]
1965[export allocaBytesAligned; make allocaArray use the correct alignment (#2917)
1966Simon Marlow <marlowsd@gmail.com>**20100812105524
1967 Ignore-this: deb6495f7b7b84deaf02b88927a5ba8c
1968]
1969[deprecate unGetChan and isEmptyChan (see #4154)
1970Simon Marlow <marlowsd@gmail.com>**20100705125952
1971 Ignore-this: b4e769959f131b2d0001eb7202bc1b92
1972]
1973[Add type signatures to cope with lack of local generalisation
1974simonpj@microsoft.com**20100728124847
1975 Ignore-this: d3af9a47c2821c6081bde05a135a92fb
1976]
1977[Add type signature in local where
1978simonpj@microsoft.com**20100727151532
1979 Ignore-this: 1c57063ad32d13e0d1ec8daf968bf055
1980]
1981[Integrated new I/O manager
1982Simon Marlow <marlowsd@gmail.com>**20100810082248
1983 Ignore-this: ed70a9066ac9b676a446fe99978fef7a
1984 (patch originally by Johan Tibell <johan.tibell@gmail.com>, minor merging by me)
1985]
1986[Add mfilter to Control.Monad
1987jon.fairbairn@cl.cam.ac.uk**20090917145616
1988 Ignore-this: de4240b60684f3065b29378df3ea98f2
1989 
1990 Straightforward MonadPlus version of List.filter. I would
1991 prefer to call it filter, but the current naming scheme for
1992 Control.Monad implies mfilter.
1993 
1994]
1995[move Monad and MonadFix instances for Either from mtl (proposal #4159)
1996Ross Paterson <ross@soi.city.ac.uk>**20100729122449
1997 Ignore-this: b0f8cd8643679948d1da43bd7c08c5aa
1998 
1999 The Monad and MonadFix instances for Either (formerly in the mtl
2000 package) are moved to Control.Monad.Instances and Control.Monad.Fix
2001 respectively.  The Monad instance is still an orphan, to retain Haskell
2002 98 compatibility, but the MonadFix instance is together with its class.
2003 The Error constraint is removed from both instances, and the default
2004 definition of fail is used.
2005]
2006[Remove egregious ghc-ish from Foreign.Marshal
2007Malcolm.Wallace@me.com**20100722075449]
2008[add numSparks :: IO Int (#4167)
2009Simon Marlow <marlowsd@gmail.com>**20100720153858
2010 Ignore-this: 4543f57a7f137f8cae1c3efc5c023a9b
2011]
2012[add unsafeLocalState from Haskell 2010, and docs
2013Simon Marlow <marlowsd@gmail.com>**20100720082819
2014 Ignore-this: dcd79fb546ebe29ddff4df279ec2f38
2015]
2016[docs: mention that Foreign.unsafePerformIO is deprecated
2017Simon Marlow <marlowsd@gmail.com>**20100720082804
2018 Ignore-this: 4cfebb8f2a1cddc7d15e94e31b2befa4
2019 We can't actually deprecate it without introducing a name clash
2020 between Foreign.unsafePerformIO and System.IO.Unsafe.unsafePerformIO
2021]
2022[doc formatting fix
2023Simon Marlow <marlowsd@gmail.com>**20100714151347
2024 Ignore-this: 255edef607dcd290e198015240b5d125
2025]
2026[add module intro from Haskell 2010
2027Simon Marlow <marlowsd@gmail.com>**20100714115853
2028 Ignore-this: 59b5a07507a059ccccdff2dfb6490a27
2029]
2030[document exception-overriding behaviour in withFile
2031Simon Marlow <marlowsd@gmail.com>**20100714104107
2032 Ignore-this: f99e641ea2f46d872cb7420a62fa50dc
2033]
2034[doc: use "finalizer" consistently
2035Simon Marlow <marlowsd@gmail.com>**20100714103649
2036 Ignore-this: bdfea40f31dc5045fdbc6e12266dda93
2037]
2038[clarify meaning of bit
2039Simon Marlow <marlowsd@gmail.com>**20100714103310
2040 Ignore-this: 521b031f1e83ef34ca03d9aa9273df8a
2041]
2042[note shortcutting behaviour of any/all/elem
2043Simon Marlow <marlowsd@gmail.com>**20100714103304
2044 Ignore-this: 1605f362ba0712ad1cea1309636f3ea1
2045]
2046[add cast{C,U}CharToChar and castCharTo{C,U}Char, from Haskell 2010
2047Simon Marlow <marlowsd@gmail.com>**20100713132515
2048 Ignore-this: 9b1da827016c7b08668078b45964e9de
2049]
2050[mention that IntPtr and WordPtr can be marshalled to/from intptr_t and uintptr_t
2051Simon Marlow <marlowsd@gmail.com>**20100713132403
2052 Ignore-this: dcc112a72746ba117a84fa29e71b6800
2053]
2054[Partial fix for Trac #4136
2055simonpj@microsoft.com**20100707135725
2056 Ignore-this: 9548eeb3187d9779d4e5c858a0f35354
2057 
2058 In 'choose' (which is a library function designed specifically
2059 to support derived instances of Read), we must match Symbol
2060 as well as Ident, for nullary constructors that (wierdly) are
2061 symbols.
2062]
2063[Fix typo in documentation
2064Simon Hengel <simon.hengel@wiktory.org>**20100711141648
2065 Ignore-this: c052dd8a681832ef598a323ad55eae3a
2066]
2067[Remove duplicated word in documentation
2068Simon Hengel <simon.hengel@wiktory.org>**20100711072703
2069 Ignore-this: fb3732dc57be55f14168792f923433
2070]
2071[Allow nhc98 to cope with recent changes to Control.Exception.
2072Malcolm.Wallace@me.com**20100710170940]
2073[ New asynchronous exception control API (base parts)
2074Simon Marlow <marlowsd@gmail.com>**20100708152735
2075 Ignore-this: 71a4811804f04259f1fe739f8863beaf
2076   
2077 As discussed on the libraries/haskell-cafe mailing lists
2078   http://www.haskell.org/pipermail/libraries/2010-April/013420.html
2079 
2080 This is a replacement for block/unblock in the asychronous exceptions
2081 API to fix a problem whereby a function could unblock asynchronous
2082 exceptions even if called within a blocked context.
2083 
2084 The new terminology is "mask" rather than "block" (to avoid confusion
2085 due to overloaded meanings of the latter).
2086 
2087 The following is the new API; the old API is deprecated but still
2088 available for the time being.
2089 
2090 Control.Exception
2091 -----------------
2092 
2093 mask  :: ((forall a. IO a -> IO a) -> IO b) -> IO b
2094 mask_ :: IO a -> IO a
2095 
2096 uninterruptibleMask :: ((forall a. IO a -> IO a) -> IO b) -> IO b
2097 uninterruptibleMask_ :: IO a -> IO
2098 
2099 getMaskingState :: IO MaskingState
2100 
2101 data MaskingState
2102   = Unmasked
2103   | MaskedInterruptible
2104   | MaskedUninterruptible
2105 
2106 
2107 Control.Concurrent
2108 ------------------
2109 
2110 forkIOUnmasked :: IO () -> IO ThreadId
2111]
2112[Async-exception safety, and avoid space leaks
2113Simon Marlow <marlowsd@gmail.com>**20100708145819
2114 Ignore-this: dbfd0e61551e9e7b4fc1c6fe9b9a83de
2115 Patch submitted by: Bas van Dijk <v.dijk.bas@gmail.com>
2116 Modified slightly by me to remove non-functional changes.
2117]
2118[Async-exception safety, and avoid space leaks
2119Simon Marlow <marlowsd@gmail.com>**20100708103154
2120 Ignore-this: 190c3ac8f6633231624da8cf1316588
2121 Patch submitted by: Bas van Dijk <v.dijk.bas@gmail.com>
2122 Modified slightly by me to remove non-functional changes.
2123]
2124[Fix a few places where we forgot to close the text codecs (#4029)
2125Simon Marlow <marlowsd@gmail.com>**20100702130210
2126 Ignore-this: 2e81a4b4cb343181cef34b0f9e2ded47
2127 Each time you invoke :load in GHCi it resets the CAFs, including
2128 stdin/stdout/stderr, and each of these was allocating a new iconv_t.
2129]
2130[remove docs from Monad that belonged on the instance for MonadPlus IO
2131Simon Marlow <marlowsd@gmail.com>**20100701154203
2132 Ignore-this: 59df02542a7ac9421552a2155d848d27
2133]
2134[docs: unqualify Prelude.IO
2135Simon Marlow <marlowsd@gmail.com>**20100701153817
2136 Ignore-this: 73b0202876c827e7a5b4a5ce74e724c4
2137]
2138[unqualify Float and Double
2139Simon Marlow <marlowsd@gmail.com>**20100701142727
2140 Ignore-this: cbe89d31a00bf49996a33933324fca17
2141]
2142[extract information about Data.Time from docs for CTime
2143Simon Marlow <marlowsd@gmail.com>**20100701142415
2144 Ignore-this: c48c9609b8d36e43e033a7bea81d6f17
2145]
2146[doc typo
2147Simon Marlow <marlowsd@gmail.com>**20100701142354
2148 Ignore-this: 17a1fd703831c888975ff63fbfa3a9b2
2149]
2150[peekArray docs: remove mentions of "this version" and "previous version"
2151Simon Marlow <marlowsd@gmail.com>**20100701125333
2152 Ignore-this: 39a744874258670bd935ba9e38390939
2153]
2154[doc typo
2155Simon Marlow <marlowsd@gmail.com>**20100701124154
2156 Ignore-this: 98f5c286e38c2c34c96b05d5e8bc5ad9
2157]
2158[doc typo
2159Simon Marlow <marlowsd@gmail.com>**20100701124128
2160 Ignore-this: 10a4314ec7aed336701fc616fb574ebc
2161]
2162[doc typo
2163Simon Marlow <marlowsd@gmail.com>**20100701123715
2164 Ignore-this: c4909a7bf7163460ee5d32f58812041e
2165]
2166[doc wibble: Haskell 98 I/O Error -> 'IOError'
2167Simon Marlow <marlowsd@gmail.com>**20100701123612
2168 Ignore-this: bf373df781acbc575e4ffe3b7e6059ae
2169]
2170[doc typo
2171Simon Marlow <marlowsd@gmail.com>**20100701123014
2172 Ignore-this: 16aaccae48ef3101adf78ea5b0d5a8fd
2173]
2174[Haddock hacks to fix whitespace consistency
2175Simon Marlow <marlowsd@gmail.com>**20100701121631
2176 Ignore-this: 61c58dec52a31fd2d3f331a87d2f903f
2177]
2178[use '==' consistently rather than '->' in examples
2179Simon Marlow <marlowsd@gmail.com>**20100701121616
2180 Ignore-this: 472b0a05a85d34d9712186040e1636d9
2181]
2182[doc wibble: remove confusing mention of "Prelude"
2183Simon Marlow <marlowsd@gmail.com>**20100701113308
2184 Ignore-this: 232283d0096d01cd45e9b3c5c1e63a6d
2185]
2186[doc wibble: nonstrict -> non-strict
2187Simon Marlow <marlowsd@gmail.com>**20100701113253
2188 Ignore-this: 4264f0ab23a0835fc13c6e8601d6b743
2189]
2190[doc whitespace
2191Simon Marlow <marlowsd@gmail.com>**20100701112242
2192 Ignore-this: 777a95b1d1140c61d3ab95d5eb5809e7
2193]
2194[move the doc for 'Char' to its new home in ghc-prim:GHC.Types
2195Simon Marlow <marlowsd@gmail.com>**20100629134150
2196 Ignore-this: 7687db0077a29498349bfb4b44983985
2197]
2198[doc wibble
2199Simon Marlow <marlowsd@gmail.com>**20100629122608
2200 Ignore-this: 9a909e5d015332dc445bd9592e6e386d
2201]
2202[doc updates in System.IO
2203Simon Marlow <marlowsd@gmail.com>**20100629122118
2204 Ignore-this: 2257ec1cc4cdb8b7804cfa1f3cf32753
2205]
2206[doc wibble
2207Simon Marlow <marlowsd@gmail.com>**20100625134858
2208 Ignore-this: 64c50f29df6c389273b818918fe7033a
2209]
2210[doc wibbles
2211Simon Marlow <marlowsd@gmail.com>**20100624154614
2212 Ignore-this: b364aad53beea6e741fee2824459b6e8
2213]
2214[Fix haddock formatting
2215Ian Lynagh <igloo@earth.li>**20100625222623]
2216[Give nub's complexity in the haddock docs; fixes #4086
2217Ian Lynagh <igloo@earth.li>**20100625222059]
2218[correct docs for exitWith: only stdout/stderr are flushed, not all Handles
2219Simon Marlow <marlowsd@gmail.com>**20100624130506
2220 Ignore-this: 33a938dad8f0bc061572e2ec571cacc7
2221]
2222[fix docs for isSpace
2223Simon Marlow <marlowsd@gmail.com>**20100624130444
2224 Ignore-this: b35ff080dbb9833176f08e39dbd9ff6d
2225]
2226[make the hGetBuf/hPutBuf family work with non-FD Handles (#4144)
2227Simon Marlow <marlowsd@gmail.com>**20100624130425
2228 Ignore-this: 8200f0208a9b1b1cf4824f343d75819a
2229]
2230[nit in docs for accumArray
2231Simon Marlow <marlowsd@gmail.com>**20100622121131
2232 Ignore-this: c066a456c40907e767df10c3990f35ff
2233]
2234[add doc for the ExitCode type
2235Simon Marlow <marlowsd@gmail.com>**20100622120930
2236 Ignore-this: 99c34332be7f3565da844528b470054a
2237]
2238[remove extraneous info from docs for Array
2239Simon Marlow <marlowsd@gmail.com>**20100622120921
2240 Ignore-this: e2a3f5e84fc23eb7bae911f0680e805e
2241]
2242[add an INLINE to the list version of traverse, to enable fusion
2243Simon Marlow <marlowsd@gmail.com>**20100608082531
2244 Ignore-this: ea98cdc3308b406bb04c0f7a38c4424b
2245]
2246[Don't define the C localeEncoding on Windows
2247Ian Lynagh <igloo@earth.li>**20100620202342
2248 Ignore-this: c4992f6832a391b0cccc5a9b7d643976
2249 (it causes warnings, and isn't used)
2250]
2251[add Applicative instance for Either (proposal #4095)
2252Ross Paterson <ross@soi.city.ac.uk>**20100617225110
2253 Ignore-this: 50262ec4700dc16efec5755be5b308c5
2254 
2255 This is not the only possible instance for Either, but this one is
2256 compatible with the usual Monad instance.
2257]
2258[Use libcharset instead of nl_langinfo(CODESET) if possible.
2259pho@cielonegro.org**20100519013112
2260 Ignore-this: 4c1e278e022a3d276848afc1dcba4425
2261 
2262 nl_langinfo(CODESET) doesn't always return standardized variations of the encoding names. Use libcharset if possible, which is shipped together with GNU libiconv.
2263]
2264[Add a note about the interruptibility of throwTo.
2265Simon Marlow <marlowsd@gmail.com>**20100615112720
2266 Ignore-this: ae9fabe95310d7c364e95f7784793485
2267]
2268[docs: note that hGetBufNonBlocking isn't non-blocking on Windows
2269Simon Marlow <marlowsd@gmail.com>**20100615112547
2270 Ignore-this: 4f3e5213e142149affe08c5123d6efea
2271]
2272[don't depend on Prelude (#4122)
2273Simon Marlow <marlowsd@gmail.com>**20100615105631
2274 Ignore-this: 1a3fd49b103fe31cbb453f302c18767f
2275]
2276[Don't depend on Prelude (#4123)
2277Simon Marlow <marlowsd@gmail.com>**20100615105401
2278 Ignore-this: cc7616d85a1637bc7621b4f2bc181c0e
2279]
2280[bump version to 4.3.0.0, added instance MonadPlus STM
2281Simon Marlow <marlowsd@gmail.com>**20100601144831
2282 Ignore-this: 7c3cf7574499c4267372493f2636dc0
2283]
2284[Moved MonadPlus instance for STM from Control.Monad.STM to GHC.Conc to avoid an orphaned instance
2285Bas van Dijk <v.dijk.bas@gmail.com>**20100516160651
2286 Ignore-this: 651b852942b2fae2b93f996e39239b8f
2287]
2288[Added Applicative and Alternative instances for STM
2289Bas van Dijk <v.dijk.bas@gmail.com>**20100516171756
2290 Ignore-this: 567003bc4040bc97105cda4d31ebf04a
2291]
2292[expand Foldable instance for Array
2293Ross Paterson <ross@soi.city.ac.uk>**20100602212154
2294 Ignore-this: 9bd9e9666a9400431eb92352244fe7e7
2295]
2296[doc comment illustrating Foldable(foldr)
2297Ross Paterson <ross@soi.city.ac.uk>**20100527150833
2298 Ignore-this: 8f27d889379803f3ba86d6e928428f3c
2299]
2300[fix syntax in doc comments
2301Ross Paterson <ross@soi.city.ac.uk>**20100527150757
2302 Ignore-this: cb78da51d60ff6863dc395f1a892c103
2303]
2304[export hGetBufSome (#4046)
2305Simon Marlow <marlowsd@gmail.com>**20100520093538
2306 Ignore-this: f467fad9722e27edfad6b3dd75290e7b
2307]
2308[hWaitForInput: don't try to read from the device (#4078)
2309Simon Marlow <marlowsd@gmail.com>**20100517133741
2310 Ignore-this: 55ec33b03397380259b91e4ca62207a6
2311 readTextDeviceNonBlocking is not non-blocking on Windows
2312]
2313[hSetEncoding: change the encoding on both read and write sides (#4066)
2314Simon Marlow <marlowsd@gmail.com>**20100514124628
2315 Ignore-this: 5b9e9caef06356d0296c584159709ebb
2316]
2317[Correct haddock formatting.
2318Adam Vogt <vogt.adam@gmail.com>**20100423022103
2319 Ignore-this: d2622339302048fda48080f7d5ce4a2f
2320]
2321[Fix for hGetBufSome
2322Simon Marlow <marlowsd@gmail.com>**20100505135637
2323 Ignore-this: 2019680f8fb223956cacfcf0d046f133
2324]
2325[improve the documentation for throwTo and killThread (#3884)
2326Simon Marlow <marlowsd@gmail.com>**20100505135600
2327 Ignore-this: ce881d96ddb729acb6ca09c779975e7d
2328]
2329[elaborate the docs for unsafePerformIO a bit
2330Simon Marlow <marlowsd@gmail.com>**20100505101249
2331 Ignore-this: 1cec3f67560b672c64c5a0dcf9a79eb7
2332]
2333[add Typeable instance
2334Simon Marlow <marlowsd@gmail.com>**20100504152815
2335 Ignore-this: 6d9cf9d62f0ef17fa459bf213a04098
2336]
2337[Add hGetBufSome, like hGetBuf but can return short reads
2338Simon Marlow <marlowsd@gmail.com>**20100504152759
2339 Ignore-this: 195c905b43f8d9505029364e2c5b18e
2340]
2341[Add swap (#3298)
2342Simon Marlow <marlowsd@gmail.com>**20100504095339
2343 Ignore-this: 13b007dc4594ce252997ec6fa0bbd976
2344]
2345[inline allocaArray0, to fix withCString benchmark
2346Simon Marlow <marlowsd@gmail.com>**20100423124729
2347 Ignore-this: 35c96816acc2f3aaf9dd29f7995fa6f0
2348]
2349[raise asynchronous exceptions asynchronously (#3997)
2350Simon Marlow <marlowsd@gmail.com>**20100421094932
2351 Ignore-this: 6d987d93d382c0f69c68c326312abd6b
2352]
2353[add NOINLINE pragmas for stdin/stdout/stderr
2354Simon Marlow <marlowsd@gmail.com>**20100421082041
2355 Ignore-this: 3fc130268ec786f28d945858d6690986
2356]
2357[INLINE alloca and malloc
2358Simon Marlow <marlowsd@gmail.com>**20100419135333
2359 Ignore-this: b218bd611f18721b1505a8c0b9e6a16a
2360 See discussion on glasgow-haskell-users:
2361   http://www.haskell.org/pipermail/glasgow-haskell-users/2010-April/018740.html
2362]
2363[Move comment closer to the offending line
2364Matthias Kilian <kili@outback.escape.de>**20100419155421
2365 Ignore-this: b34a1d7affd66f67d210df2377b585d9
2366]
2367[Ignore the return code of c_fcntl_write again
2368Matthias Kilian <kili@outback.escape.de>**20100415140452
2369 Ignore-this: 266d8ba02cc3cb79c85629b3528261c9
2370 
2371 The return code has been ignored in the past on purpose, because
2372 O_NONBLOCK will fail on BSDs for some special files. This fixes the
2373 problem mentioned in
2374 http://www.haskell.org/pipermail/glasgow-haskell-users/2010-April/018698.html
2375 
2376]
2377[Fix bitrot in IO debugging code
2378Ian Lynagh <igloo@earth.li>**20100413134339
2379 Also switched to using Haskell Bools (rather than CPP) to en/disable it,
2380 so it shouldn't break again in the future.
2381]
2382[Tiny code tidy-up
2383Ian Lynagh <igloo@earth.li>**20100413011147]
2384[remove old/wrong comment
2385Simon Marlow <marlowsd@gmail.com>**20100325161403
2386 Ignore-this: e6e377d44af48c4162d17d55bdf3f821
2387]
2388[withThread: block asynchronous exceptions before installing exception handler.
2389Bas van Dijk <v.dijk.bas@gmail.com>**20100329131624
2390 Ignore-this: be5aeb47dbd73807b5f94df11afbb81c
2391 Note that I don't unblock the given io computation. Because AFAICS
2392 withThread is only called with 'waitFd' which only performs an FFI
2393 call which can't receive asynchronous exceptions anyway.
2394]
2395[runInUnboundThread: block asynchronous exceptions before installing exception handler
2396Bas van Dijk <v.dijk.bas@gmail.com>**20100329131549
2397 Ignore-this: a00c5e32fe3981ff87bedd367a69051e
2398]
2399[fix the deprecation message (GHC.IO.Handle.Base -> GHC.IO.Handle)
2400Simon Marlow <marlowsd@gmail.com>**20100330121137
2401 Ignore-this: 4ca8500a01ac93454507aa8f9dd001f9
2402]
2403[Make SampleVar an abstract newtype
2404Bas van Dijk <v.dijk.bas@gmail.com>**20100318200349
2405 Ignore-this: 27939e2a064b75e71cb146117346be30
2406]
2407[Fix bugs regarding asynchronous exceptions and laziness in Control.Concurrent.SampleVar
2408Bas van Dijk <v.dijk.bas@gmail.com>**20100318200104
2409 Ignore-this: 7376b2a3afe155daf233a8f1ddc0a7a
2410  - Block asynchronous exceptions at the right places
2411  - Force thunks before putting them in a MVar
2412]
2413[Write the thunk 'next' to the MVar
2414Bas van Dijk <v.dijk.bas@gmail.com>**20100319125951
2415 Ignore-this: dd25636cf220131385ff2fd32493d456
2416]
2417[change to use STM, fixing 4 things
2418Simon Marlow <marlowsd@gmail.com>**20100318104436
2419 Ignore-this: 551d30280a7941c08f5c3b14576bdd70
2420   1. there was no async exception protection
2421   2. there was a space leak (now new value is strict)
2422   3. using atomicModifyIORef would be slightly quicker, but can
2423      suffer from adverse scheduling issues (see #3838)
2424   4. also, the STM version is faster.
2425]
2426[Tweak docs
2427Ian Lynagh <igloo@earth.li>**20100312214129]
2428[Fixed dead links in documentation of forkIO
2429Bas van Dijk <v.dijk.bas@gmail.com>**20100308222415
2430 Ignore-this: 7deb8fd064c867fbede2a6b2e9da4f15
2431]
2432[Documentation fixes in Control.Exception
2433Bas van Dijk <v.dijk.bas@gmail.com>**20100301220442
2434 Ignore-this: 761fcba401cbd1f47276ddfc9b5b80f2
2435]
2436[Plug two race conditions that could lead to deadlocks in the IO manager
2437Simon Marlow <marlowsd@gmail.com>**20100225120255
2438 Ignore-this: e6983d6b953104d370278ab3e4617e8b
2439]
2440[FIX #3866: improve documentation of Data.Data.Constr
2441jpm@cs.uu.nl**20100224125506
2442 Ignore-this: 3818c5d8fee012a3cf322fb455b6e5dc
2443]
2444[UNDO: Handle NaN, -Infinity and Infinity in the toRational for Float/Double (#3676)
2445Simon Marlow <marlowsd@gmail.com>**20100223101603
2446 Ignore-this: 78becb2d39b3cd9a1a473a5811ca7d92
2447]
2448[Put the complexity in the length docs. Fixes trac #3680
2449Ian Lynagh <igloo@earth.li>**20100221191425]
2450[nhc98 should build Data.Functor.
2451Malcolm.Wallace@cs.york.ac.uk**20100221163218]
2452[Update the exitWith docs
2453Ian Lynagh <igloo@earth.li>**20100213140004
2454 Error pointed out by Volker Wysk <vw@volker-wysk.de>
2455]
2456[Handle NaN, -Infinity and Infinity in the toRational for Float/Double (#3676)
2457Simon Marlow <marlowsd@gmail.com>**20100211101955
2458 Ignore-this: 261415363303efca265e80290eac5f28
2459]
2460[For nhc98, import unsafeInterleaveIO rather than defining it here.
2461Malcolm.Wallace@cs.york.ac.uk**20100204171021]
2462[Stifle warning about unused return value
2463benl@cse.unsw.edu.au**20100203025537]
2464[fix #3832: use the locale encoding in openTempFile
2465Simon Marlow <marlowsd@gmail.com>**20100120211830
2466 Ignore-this: df4f778cc5fefb32290c798db722632c
2467 Also while I was here fix an XXX: the Handle contained an
2468 uninformative string like <fd: 4> for error messages rather than the
2469 real file path.
2470]
2471[Fix the build: export void, so it doesn't give an unused binding warning
2472Ian Lynagh <igloo@earth.li>**20100116174451]
2473[hIsEOF: don't do any decoding (#3808)
2474Simon Marlow <marlowsd@gmail.com>**20100112230317
2475 Ignore-this: 6a384dd2d547ffe3ad3762920e5c1671
2476]
2477[Control.Monad: +void :: f a -> f ()
2478gwern0@gmail.com**20100108214455
2479 Ignore-this: 4dc07452315f2d1b4941903ff42fc45f
2480 See http://hackage.haskell.org/trac/ghc/ticket/3292
2481 Turns m a -> m (). Lets one call functions for their side-effects without
2482 having to get rid of their return values with '>> return ()'. Very useful
2483 in many contexts (parsing, IO etc.); particularly good for 'forkIO' and 'forM_',
2484 as they demand return types of 'IO ()' though most interesting IO functions
2485 return non-().
2486]
2487[Replace the implementation of mergesort with a 2x faster one.
2488Malcolm.Wallace@cs.york.ac.uk**20091224152014
2489 See ticket http://hackage.haskell.org/trac/ghc/ticket/2143.
2490]
2491[Restore previous Data.Typeable.typeOf*Default implementations for non-ghc.
2492Malcolm.Wallace@cs.york.ac.uk**20091223142625
2493 Not all compilers have ScopedTypeVariables.
2494]
2495[Add comments about double bounds-checking, and fast paths for rectangular arrays
2496simonpj@microsoft.com**20091218165655
2497 Ignore-this: ea0849419dc00927aba4bd410b1cc58d
2498 
2499 See Note [Double bounds-checking of index values] for the details.
2500 
2501 The fast paths omit the doubled checks for cases we know about
2502]
2503[Fix Trac #3245: memoising typeOf
2504simonpj@microsoft.com**20091218155117
2505 Ignore-this: 5a178a7f2222293c5ee0c3c43bd1b625
2506 
2507 The performance bug in #3245 was caused by computing the typeRep
2508 once for each call of typeOf, rather than once for each dictionary
2509 contruction.  (Computing TypeReps is reasonably expensive, because
2510 of the hash-consing machinery.)
2511 
2512 This is readily fixed by putting the TypeRep construction outside
2513 the lambda.  (Arguably GHC might have worked that out itself,
2514 but it involves floating something between a type lambda and a
2515 value lambda, which GHC doesn't currently do. If it happens a lot
2516 we could fix that.)
2517]
2518[Mark 'index' as INLINE in GHC.Arr
2519simonpj@microsoft.com**20091216170441
2520 Ignore-this: a4df9d8acf496c8e0e9ce5a520509a2a
2521 
2522 This makes indexing much faster. See Trac #1216
2523]
2524[Comment the remaining orphan instance modules
2525Ian Lynagh <igloo@earth.li>**20091206125021]
2526[De-orphan Eq/Ord Float/Double
2527Ian Lynagh <igloo@earth.li>**20091205181238]
2528[Add comments to "OPTIONS_GHC -fno-warn-orphans" pragmas
2529Ian Lynagh <igloo@earth.li>**20091205165854]
2530[Data.Either.partitionEithers was insufficiently lazy.
2531Malcolm.Wallace@cs.york.ac.uk**20091202032807
2532 Ignore-this: 77e1b3288f66608c71458d8a91bcbe12
2533 Spotted by Daniel Fischer.
2534]
2535[fix the docs regarding finalizer guarantees
2536Simon Marlow <marlowsd@gmail.com>**20091130144409
2537 Ignore-this: d1ab9532c74a002b8075ff60febcbe2d
2538]
2539[x86_64 requires more stack
2540Malcolm.Wallace@cs.york.ac.uk**20091201033745]
2541[check for size < 0 in mallocForeignPtrBytes and friends (#3514)
2542Simon Marlow <marlowsd@gmail.com>**20091125143822
2543 Ignore-this: 91077d01da2bbe1dfed5155e8b40da9
2544]
2545[hGetContents: close the handle properly on error
2546Simon Marlow <marlowsd@gmail.com>**20091125123435
2547 Ignore-this: bc37ff678acc6e547dc390285e056eb9
2548 
2549 When hGetContents caught an error it was closing the handle and then
2550 throwing the exception, without updating the handle with the new
2551 closed state.  This lead to a double-closed, which was the cause of
2552 
2553 *** glibc detected *** ./Setup: double free or corruption
2554 
2555 when iconv_close was called twice on the decoder.
2556 
2557 See http://hackage.haskell.org/trac/hackage/ticket/609
2558]
2559[Fix arities of mapFB and zipFB
2560Roman Leshchinskiy <rl@cse.unsw.edu.au>**20091126232219
2561 Ignore-this: c4e14cd0a92622549c86e67237a40865
2562]
2563[Remove an unnecessary -fno-warn-orphans flag
2564Ian Lynagh <igloo@earth.li>**20091126123404]
2565[Tweak layout to work with alternative layout rule
2566Ian Lynagh <igloo@earth.li>**20091125232349]
2567[Tweak layout to be accepted by the alternative layout rul
2568Ian Lynagh <igloo@earth.li>**20091125194147]
2569[Make sure zipWithFB has arity 2
2570Roman Leshchinskiy <rl@cse.unsw.edu.au>**20091125010003
2571 Ignore-this: 4cf60c55666f03d22a9f5a6e07f52d36
2572 
2573 It gets 2 arguments in the "zipWith" rule but its arity was higher and the new
2574 inliner didn't inline it sometimes, for instance here:
2575 
2576 mpp ::  [Double] -> [Double] -> [Double] -> [Double] -> [Double]
2577 mpp as bs cs ds = zipWith (*) (zipWith (+) as bs) (zipWith (+) cs ds)
2578 
2579 This was a regression vs. 6.10.
2580]
2581[Remove an old comment
2582Ian Lynagh <igloo@earth.li>**20091124134647]
2583[De-orphan the Eq/Ord Integer instances
2584Ian Lynagh <igloo@earth.li>**20091124133639]
2585[Whitespace only
2586Ian Lynagh <igloo@earth.li>**20091124133421]
2587[Derive some more instances, rather than writing them by hand
2588Ian Lynagh <igloo@earth.li>**20091124011747]
2589[We can now derive Ord ()
2590Ian Lynagh <igloo@earth.li>**20091124011416]
2591[De-orphan tuple Eq/Ord instances
2592Ian Lynagh <igloo@earth.li>**20091123233343]
2593[Control.Exception.Base no longer has any orphans
2594Ian Lynagh <igloo@earth.li>**20091123224905]
2595[De-orphan the MonadFix ST instance for GHC
2596Ian Lynagh <igloo@earth.li>**20091123223544]
2597[Rearrange the contents of Control.Monad.ST; no functionality changes
2598Ian Lynagh <igloo@earth.li>**20091123222702]
2599[De-orphan the Eq/Ord [a] instances
2600Ian Lynagh <igloo@earth.li>**20091123215635]
2601[De-orphan the Eq/Ord Char instances
2602Ian Lynagh <igloo@earth.li>**20091123202253]
2603[De-orphan the Eq/Ord Bool instances
2604Ian Lynagh <igloo@earth.li>**20091123201817]
2605[Move Eq/Ord Ordering instances to de-orphan them
2606Ian Lynagh <igloo@earth.li>**20091123194310]
2607[Remove ffi warnings for nhc98.
2608Malcolm.Wallace@cs.york.ac.uk**20091123063743]
2609[Second attempt to fix #1185 (forkProcess and -threaded)
2610Simon Marlow <marlowsd@gmail.com>**20091111151915
2611 Ignore-this: fa5f5d5e4e080d4b612a37244f937f9c
2612 
2613 Patch 2/2: first patch is to ghc
2614 
2615 This time without dynamic linker hacks, instead I've expanded the
2616 existing rts/Globals.c to cache more CAFs, specifically those in
2617 GHC.Conc.  We were already using this trick for signal handlers, I
2618 should have realised before.
2619 
2620 It's still quite unsavoury, but we can do away with rts/Globals.c in
2621 the future when we switch to a dynamically-linked GHCi.
2622]
2623[Rollback #1185 fix
2624Simon Marlow <marlowsd@gmail.com>**20091106140629
2625 Ignore-this: cd5667e8474e37e01ba26a1984274811
2626 
2627 rolling back:
2628 
2629 Tue Nov  3 16:05:40 GMT 2009  Simon Marlow <marlowsd@gmail.com>
2630   * Fix #1185: restart the IO manager after fork()
2631   
2632   This is the libraries/base part of the patch; there is a corresponding
2633   patch to GHC itself.
2634   
2635   The main change is that we now keep track of the IO manager's ThreadId
2636   in a top-level MVar, and ensureIOManagerIsRunning checks whether a
2637   previous IO manager thread is alive before starting one.  In the child
2638   of fork(), we can hence call ensureIOManagerIsRunning to restart the
2639   IO manager.
2640 
2641     M ./GHC/Conc.lhs -46 +44
2642 
2643 Wed Nov  4 17:49:45 GMT 2009  Ian Lynagh <igloo@earth.li>
2644   * Fix the build on Windows
2645 
2646     M ./GHC/Conc.lhs -6 +4
2647]
2648[Fix the build on Windows
2649Ian Lynagh <igloo@earth.li>**20091104174945]
2650[Fix #1185: restart the IO manager after fork()
2651Simon Marlow <marlowsd@gmail.com>**20091103160540
2652 Ignore-this: 6dc05464f1500104554637f4759738cc
2653 
2654 This is the libraries/base part of the patch; there is a corresponding
2655 patch to GHC itself.
2656 
2657 The main change is that we now keep track of the IO manager's ThreadId
2658 in a top-level MVar, and ensureIOManagerIsRunning checks whether a
2659 previous IO manager thread is alive before starting one.  In the child
2660 of fork(), we can hence call ensureIOManagerIsRunning to restart the
2661 IO manager.
2662]
2663[improve the documentation for throwErrnoIfRetry
2664Simon Marlow <marlowsd@gmail.com>**20091016112404
2665 Ignore-this: b77275cacf730e15757946027168f63e
2666]
2667[Don't inline unpackFoldrCString ever
2668simonpj@microsoft.com**20091029135350
2669 Ignore-this: 85d672649b1b776efc7e97500b05d4f9
2670]
2671[Inline more default methods
2672simonpj@microsoft.com**20091029135330
2673 Ignore-this: 289c44b0afd6d5631c2a4e0664275ca9
2674 
2675 Namely Monad: (>>)
2676        Eq:    (==), (/=)
2677        Num:   (-), negate
2678        Real:  quot, rem, div, mod, recip, (/), truncate
2679        Float: (**), logBase, sqrt, tan, tanh
2680]
2681[Move error messages out of INLINEd default methods
2682simonpj@microsoft.com**20091029135118
2683 Ignore-this: 9e35dc947f94827a3529eb53a41575fd
2684 
2685 No need to duplicate the error generation!
2686]
2687[Exploit now-working default-method INLINE pragmas for Data.Bits
2688simonpj@microsoft.com**20091029135041
2689 Ignore-this: 8adf225f31ca7a3181ee087e9e4fe535
2690 
2691 * Add INLINE pragmas to default methods for class Bits
2692 
2693 * Remove redundant instance methods elsewhere, now that
2694   the default method will do the job
2695]
2696[Tidy up and comment imports
2697simonpj@microsoft.com**20091029134414
2698 Ignore-this: bf2be31035de975d8995e988933cc940
2699]
2700[Inline foldr and (.) when applied to two arguments not three
2701simonpj@microsoft.com**20091029134335
2702 Ignore-this: fccb6f3e90e15f44cb465814be85ede2
2703 
2704 The new INLINE story is (by design) arity-sensitive, so we must
2705 put fewer argument on the LHS for foldr and (.)
2706]
2707[dirUtils.c no longer available
2708Malcolm.Wallace@cs.york.ac.uk**20091013093833]
2709[Make hGetContents throw an exception if an error is encountered
2710Simon Marlow <marlowsd@gmail.com>**20091012152955
2711 Ignore-this: 9f7a7176193eab25c9daaacd9261f2de
2712 
2713 Strictly speaking this breaks Haskell 98 compatibility, which requires
2714 hGetContents to just end the lazy stream silently if an error is
2715 encountered.  However, for a few reasons we think it will make
2716 everyone's life a bit easier if we make this change
2717 
2718  1. Errors will be a lot more common in GHC 6.12.1, in the form
2719     of Unicode decoding errors.
2720 
2721  2. When Haskell 98 was designed, we didn't know how to throw
2722     exceptions from inside lazy I/O, but now we do.
2723 
2724  3. If anyone is actually relying on the previous behaviour, their
2725     code is arguably broken.
2726]
2727[Re-instate System.Console.Getopt for nhc98 builds.
2728Malcolm.Wallace@cs.york.ac.uk**20091013092843
2729 Although it was split out of base a while back, that change was
2730 reverted for ghc soon afterwards, but nhc98 never noticed.
2731]
2732[Roll back "Another instance of nhc98's strange import semantics."
2733Ian Lynagh <igloo@earth.li>**20091009185618
2734 Fri Oct  9 14:50:51 BST 2009  Malcolm.Wallace@cs.york.ac.uk
2735 GHC (correctly) warns about the unused import, which breaks the validate
2736 build.
2737]
2738[Roll back "Cope with nhc98's (occasionally-strange) import semantics"
2739Ian Lynagh <igloo@earth.li>**20091009184704
2740 Fri Oct  9 14:43:51 BST 2009  Malcolm.Wallace@cs.york.ac.uk
2741 GHC (correctly) warns about the unused import, which breaks the validate
2742 build.
2743]
2744[It seems that nhc98 needs defaulting in Data.Fixed.
2745Malcolm.Wallace@cs.york.ac.uk**20091009135242]
2746[Another instance of nhc98's strange import semantics.
2747Malcolm.Wallace@cs.york.ac.uk**20091009135051]
2748[Make Data.Functor compatible with non-GHC compilers.
2749Malcolm.Wallace@cs.york.ac.uk**20091009134821]
2750[Cope with nhc98's (occasionally-strange) import semantics.
2751Malcolm.Wallace@cs.york.ac.uk**20091009134351]
2752[Fix gratuitous breakage of nhc98 in System.IO.
2753Malcolm.Wallace@cs.york.ac.uk**20091009134001]
2754[Fix gratuitous breakage of nhc98 in Control.Exception.Base.
2755Malcolm.Wallace@cs.york.ac.uk**20091009133615]
2756[Fix gratuitous breakage of non-GHC in Data.Fixed.
2757Malcolm.Wallace@cs.york.ac.uk**20091009133330]
2758[Fix gratuitous breakage for non-GHC in Data.Bits.
2759Malcolm.Wallace@cs.york.ac.uk**20091009133257]
2760[Use UTF-32LE instead of UTF32LE
2761Simon Marlow <marlowsd@gmail.com>**20091006100207
2762 Ignore-this: 7f881e36543d250ef848c9f60d67655a
2763 The latter is not recognised by some iconv implementations.
2764]
2765[Strip any Byte Order Mark (BOM) from the front of decoded streams.
2766Ben.Lippmeier@anu.edu.au*-20090930084229
2767 Ignore-this: d0d0c3ae87b31d71ef1627c8e1786445
2768 When decoding to UTF-32, Solaris iconv inserts a BOM at the front
2769 of the stream, but Linux iconv doesn't.
2770]
2771[use UTF32BE/UTF32LE instead of UCS-4/UCS-4LE
2772Simon Marlow <marlowsd@gmail.com>**20091005101554
2773 Ignore-this: 2aef5e9bec421e714953b7aa1bdfc1b3
2774]
2775[Strip any Byte Order Mark (BOM) from the front of decoded streams.
2776Ben.Lippmeier@anu.edu.au**20090930084229
2777 Ignore-this: d0d0c3ae87b31d71ef1627c8e1786445
2778 When decoding to UTF-32, Solaris iconv inserts a BOM at the front
2779 of the stream, but Linux iconv doesn't.
2780]
2781[Add traceEvent :: String -> IO ()
2782Simon Marlow <marlowsd@gmail.com>**20090925141257
2783 Ignore-this: 8b1888bbf9682ffba13f815b6000e4b1
2784 For emitting an event via the RTS tracing framework
2785]
2786[Fix the error message when flushing the read buffer of a non-seekable Handle
2787Simon Marlow <marlowsd@gmail.com>**20090923090536
2788 Ignore-this: 4342026df93759d99480f4e13f80a492
2789]
2790[Fix #3534: No need to flush the byte buffer when setting binary mode
2791Simon Marlow <marlowsd@gmail.com>**20090923090445
2792 Ignore-this: 625817ed7ae2c12291eb993a99dc640a
2793]
2794[Use let !y = x in .. x .. instead of seq in $! and evaluate (#2273)
2795Simon Marlow <marlowsd@gmail.com>**20090916140454]
2796[make some Applicative functions into methods, and split off Data.Functor (proposal #3335)
2797Ross Paterson <ross@soi.city.ac.uk>**20090915173109
2798 Ignore-this: a0cff4de6dfdbcbd56a66101bc4855a9
2799 
2800 The following functions
2801 
2802     (<$) :: Functor f => a -> f b -> f a
2803     (*>) :: Applicative f => f a -> f b -> f b
2804     (<*) :: Applicative f => f a -> f b -> f a
2805     some :: Alternative f => f a -> f [a]
2806     many :: Alternative f => f a -> f [a]
2807 
2808 are moved into the corresponding classes, with the existing implementations
2809 as default definitions.  This gives people creating instances the option of
2810 defining specialized implementations of these functions, though they should
2811 be equivalent to the default definitions.
2812 
2813 Although (<$) is now a method of the Functor class, it is hidden in the
2814 re-export by the Prelude, Control.Monad and Monad.  The new module
2815 Data.Functor exposes the full class, plus the function (<$>).  These are
2816 also re-exported by Control.Applicative.
2817]
2818[On Windows, use the console code page for text file encoding/decoding.
2819Judah Jacobson <judah.jacobson@gmail.com>**20090913022126
2820 Ignore-this: 86c2f2db8ef92b751599795d3195187b
2821 
2822 We keep all of the code page tables in the module
2823 GHC.IO.Encoding.CodePage.Table.  That file was generated automatically
2824 by running codepages/MakeTable.hs; more details are in the comments at the
2825 start of that script.
2826 
2827 Storing the lookup tables adds about 40KB to each statically linked executable;
2828 this only increases the size of a "hello world" program by about 7%.
2829 
2830 Currently we do not support double-byte encodings (Chinese/Japanese/Korean), since
2831 including those codepages would increase the table size to 400KB.  It will be
2832 straightforward to implement them once the work on library DLLs is finished.
2833]
2834[Fix "init" docs: the input list need not be finite. Fixes trac #3465
2835Ian Lynagh <igloo@earth.li>**20090911210437]
2836[Bump base version to 4.2.0.0
2837Ian Lynagh <igloo@earth.li>**20090911153913]
2838[Address #3310
2839Simon Marlow <marlowsd@gmail.com>**20090830152850
2840 Ignore-this: 40c7f7c171ee299a83092fd360a952b7
2841 
2842  - Rename BlockedOnDeadMVar   -> BlockedIndefinitelyOnMVar
2843  - Rename BlockedIndefinitely -> BlockedIndefinitelyOnSTM
2844  - instance Show BlockedIndefinitelyOnMVar is now
2845      "blocked indefinitely in an MVar operation"
2846  - instance Show BlockedIndefinitelyOnSTM is now
2847      "blocked indefinitely in an STM transaction"
2848 
2849 clients using Control.OldException will be unaffected (the new
2850 exceptions are mapped to the old names).  However, for base4-compat
2851 we'll need to make a version of catch/try that does a similar
2852 mapping.
2853]
2854[Fix unicode conversion for MSB architectures
2855Ben.Lippmeier@anu.edu.au**20090830130028
2856 This fixes the SPARC/Solaris build.
2857]
2858[Fix #3441: detect errors in partial sequences
2859Simon Marlow <marlowsd@gmail.com>**20090830075909
2860 Ignore-this: d12a75d95e0cae5eb1555266810ec281
2861]
2862[Fix hWaitForInput
2863Simon Marlow <marlowsd@gmail.com>**20090827152116
2864 Ignore-this: 2550e911f1a4d4357a5aa8d1764238ce
2865 It was erroneously waiting when there were bytes to decode waiting in
2866 the byte buffer.
2867]
2868[fix debugging code
2869Simon Marlow <marlowsd@gmail.com>**20090827150628
2870 Ignore-this: e1c82fdc19a22e247cd69ff6fa11921d
2871]
2872[Allow for configurable iconv include and library locations.
2873Matthias Kilian <kili@outback.escape.de>**20090826154406
2874 Ignore-this: be95fab611a5534cf184b508964ed498
2875 This should help to fix the build on OpenBSD.
2876]
2877[typo in comment
2878Simon Marlow <marlowsd@gmail.com>**20090826085252
2879 Ignore-this: 1903ee0f354157a6ed3871c100f6b1b9
2880]
2881[un-hide some modules from the Haddock docs
2882Simon Marlow <marlowsd@gmail.com>**20090825152457
2883 Ignore-this: dce6606f93cf977fb24ebe99082dfa62
2884]
2885[Apply fix for #1548, from squadette@gmail.com
2886Simon Marlow <marlowsd@gmail.com>**20090819120700
2887 Ignore-this: 31c237c46a6445f588ed4b8c51bb6231
2888]
2889[improvements to Data.Fixed: instances for Typeable and Data, more predefined types
2890Ashley Yakeley <ashley@semantic.org>**20090812055058
2891 Ignore-this: feeece36d5632f02a05d137d2a39ab78
2892]
2893[Fix "Cabal check" warnings
2894Ian Lynagh <igloo@earth.li>**20090811215856]
2895[Add a GHC.Constants module; fixes trac #3094
2896Ian Lynagh <igloo@earth.li>**20090809183252]
2897[Apply proposal #3393
2898Ian Lynagh <igloo@earth.li>**20090809134717
2899 Add openTempFileWithDefaultPermissions and
2900 openBinaryTempFileWithDefaultPermissions.
2901]
2902[Add some more C wrappers; patch from Krister Walfridsson
2903Ian Lynagh <igloo@earth.li>**20090807200631
2904 Fixes 21 testsuite errors on NetBSD 5.99.
2905]
2906[Fixing configure for autoconf 2.64
2907Alexander Dunlap <alexander.dunlap@gmail.com>**20090805060748
2908 Ignore-this: 992ab91ae3d68c12dbb265776e33e243
2909]
2910[add INLINE toList
2911Ross Paterson <ross@soi.city.ac.uk>**20090806142853
2912 Ignore-this: aba16aabb17d5dca44f15d188945680e
2913 
2914 In anticipation of the fixing of #2353.
2915]
2916[fix a copyright
2917Simon Marlow <marlowsd@gmail.com>**20090805134045
2918 Ignore-this: b0ffbdd38fbba121e8bcba37c4082a60
2919]
2920[Tweak the BufferedIO class to enable a memory-mapped file implementation
2921Simon Marlow <marlowsd@gmail.com>**20090805134036
2922 Ignore-this: ec67d7a0a6d977438deaa342503f77e0
2923 We have to eliminate the assumption that an empty write buffer can be
2924 constructed by setting the buffer pointers to zero: this isn't
2925 necessarily the case when the buffer corresponds to a memory-mapped
2926 file, or other in-memory device implementation.
2927]
2928[Deprecate Control.OldException
2929Ian Lynagh <igloo@earth.li>**20090804143910]
2930[Windows build fix, following RTS tidyup
2931Simon Marlow <marlowsd@gmail.com>**20090803131121
2932 Ignore-this: ce862fb91c2b234211a8757f98690778
2933]
2934[Updates to follow the RTS tidyup
2935Simon Marlow <marlowsd@gmail.com>**20090801220743
2936 Ignore-this: 6e92412df93a66c12d75344053d5634
2937 C functions like isDoubleNaN moved here (primFloat.c)
2938]
2939[Add integer-simple as a build option
2940Ian Lynagh <igloo@earth.li>**20090722013151]
2941[Use shift[LR]Integer in the Bits Integer instance
2942Ian Lynagh <igloo@earth.li>**20090721222440]
2943[depend directly on integer-gmp, rather than indirecting through integer
2944Ian Lynagh <igloo@earth.li>**20090721185228]
2945[Move the instances of Functor and Monad IO to GHC.Base, to avoid orphans
2946Simon Marlow <marlowsd@gmail.com>**20090722102130
2947 Ignore-this: a7d85ac0025d559674249de0108dbcf4
2948]
2949[move "instance Exception Dynamic" so it isn't an orphan
2950Simon Marlow <marlowsd@gmail.com>**20090721093854
2951 Ignore-this: 5ede91ecfec2112c91b699d4de87cd02
2952]
2953[Improve the index checking for array accesses; fixes #2120 #2669
2954Ian Lynagh <igloo@earth.li>**20090719153228
2955 As well as checking that offset we are reading is actually inside the
2956 array, we now also check that it is "in range" as defined by the Ix
2957 instance. This fixes confusing behaviour (#2120) and improves some error
2958 messages (#2669).
2959]
2960[Make chr say what its argument was, if it's a bad argument
2961Ian Lynagh <igloo@earth.li>**20090718151049]
2962[remove unused warning
2963Simon Marlow <marlowsd@gmail.com>**20090715124416
2964 Ignore-this: 31f613654089d0f4a44363946087b41e
2965]
2966[warning fix: -fno-implicit-prelude -> -XNoImplicitPrelude
2967Simon Marlow <marlowsd@gmail.com>**20090715122839
2968 Ignore-this: dc8957249731d5bcb71c01899e5adf2b
2969]
2970[Add hGetEncoding :: Handle -> IO (Maybe TextEncoding)
2971Simon Marlow <marlowsd@gmail.com>**20090715122519
2972 Ignore-this: 14c3eff996db062da1199739781e4708
2973 as suggested during the discussion on the libraries list
2974]
2975[Add more documentation to mkTextEncoding
2976Simon Marlow <marlowsd@gmail.com>**20090715122414
2977 Ignore-this: 97253b2624267df3a246a18121e8ea81
2978 noting that "//IGNORE" and "//TRANSLIT" suffixes can be used with GNU
2979 iconv.
2980]
2981[Add the utf8_bom codec
2982Simon Marlow <marlowsd@gmail.com>**20090715122257
2983 Ignore-this: 1c9396cd805201fe873a39382ced79c7
2984 as suggested during the discussion on the libraries list.
2985]
2986[Export Unicode and newline functionality from System.IO; update Haddock docs
2987Simon Marlow <marlowsd@gmail.com>**20090713113104
2988 Ignore-this: c3f017a555335aa55d106253393f72e2
2989]
2990[add a comment about the non-workingness of CHARBUF_UTF16
2991Simon Marlow <marlowsd@gmail.com>**20090707124406
2992 Ignore-this: 98d00411b68d688b3b4cffc9507b1f35
2993]
2994[Fix build on Windows
2995Ian Lynagh <igloo@earth.li>**20090711004351]
2996[Fix some "warn-unused-do-bind" warnings where we want to ignore the value
2997Ian Lynagh <igloo@earth.li>**20090710204513]
2998[Use throwErrnoIfMinus1_ when calling getrusage
2999Ian Lynagh <igloo@earth.li>**20090710204221]
3000[Remove an unused import
3001Ian Lynagh <igloo@earth.li>**20090710153345]
3002[reportStackOverflow now returns IO ()
3003Ian Lynagh <igloo@earth.li>**20090710153257
3004 It used to do "return undefined" to return IO a.
3005]
3006[GHC.Conc.reportError now returns IO ()
3007Ian Lynagh <igloo@earth.li>**20090710152646
3008 It used to return IO a, by "return undefined".
3009]
3010[Fix some "warn-unused-do-bind" warnings where we want to ignore the value
3011Ian Lynagh <igloo@earth.li>**20090710152526]
3012[Minor SampleVar refactoring
3013Ian Lynagh <igloo@earth.li>**20090710151438]
3014[Fix "warn-unused-do-bind" warnings in GHC/IO/Handle/Text.hs
3015Ian Lynagh <igloo@earth.li>**20090710122905]
3016[Fix some "warn-unused-do-bind" warnings where we just want to ignore the result
3017Ian Lynagh <igloo@earth.li>**20090710005638]
3018[Use the result of writeCharBuf in GHC/IO/Encoding/Latin1.hs too
3019Ian Lynagh <igloo@earth.li>**20090710004032]
3020[Minor code tidyups in GHC.Conc
3021Ian Lynagh <igloo@earth.li>**20090710003801]
3022[Fix "warn-unused-do-bind" warning in GHC.Conc
3023Ian Lynagh <igloo@earth.li>**20090710003530
3024 If we fail to communicate with the IO manager then we print a warning
3025 using debugErrLn from the ghc-prim package.
3026]
3027[Fix "warn-unused-do-bind" warnings in System.Posix.Internals
3028Ian Lynagh <igloo@earth.li>**20090709164546]
3029[Fix "warn-unused-do-bind" warnings where we really do want to ignore the result
3030Ian Lynagh <igloo@earth.li>**20090709163912]
3031[Add back imports needed on Windows
3032Ian Lynagh <igloo@earth.li>**20090707181924]
3033[Remove unused imports
3034Ian Lynagh <igloo@earth.li>**20090707115810]
3035[Remove unused imports from base
3036simonpj@microsoft.com**20090706111842
3037 Ignore-this: f9b5f353e3bb820f787c56d615b28765
3038 
3039 These unused imports are detected by the new unused-import code
3040 
3041]
3042[Use the result of writeCharBuf
3043Simon Marlow <marlowsd@gmail.com>**20090706133303
3044 Ignore-this: 52288dd559bf4c4f313df6197091d935
3045   
3046 This only makes a difference when CHARBUF_UTF16 is in use, which it
3047 normally isn't.  I suspect CHARBUF_UTF16 doesn't currently work for
3048 other reasons (CHARBUF_UTF16 was an experiment before I wrote the
3049 GHC.IO.Encoding.UTF* codecs), but this patch at least makes it
3050 slightly closer to working.
3051]
3052[Remove some cruft from Data.HashTable
3053Ian Lynagh <igloo@earth.li>**20090706181630]
3054[Add 'eof' to Text.ParserCombinators.ReadP
3055simonpj@microsoft.com**20090706111801
3056 Ignore-this: 2aea7b848e00c894761bc4011adaa95d
3057 
3058 Add a ReadP parser that succeeds at the end of input. Very useful!
3059 
3060]
3061[Don't export CLDouble for GHC; fixes trac #2793
3062Ian Lynagh <igloo@earth.li>**20090705155120
3063 We never really supported CLDouble (it was a plain old double underneath),
3064 and pretending that we do does more harm than good.
3065]
3066[a byte between 0x80 and 0xBF is illegal immediately (#3341)
3067Simon Marlow <marlowsd@gmail.com>**20090702081415
3068 Ignore-this: dc19ef59a1a21118d5a7dd38aa2f611c
3069]
3070[avoid a warning
3071Simon Marlow <marlowsd@gmail.com>**20090630084134
3072 Ignore-this: c92a45ee216faf01327feae9fe06d6e2
3073]
3074[Add a wrapper for libiconv.
3075Matthias Kilian <kili@outback.escape.de>**20090629183634
3076 Ignore-this: 23c6047c0d71b745b495cc223574a47f
3077]
3078[#include <sys/times.h> if we have it (should fix build problems)
3079Simon Marlow <marlowsd@gmail.com>**20090629085351
3080 Ignore-this: a35e93b37ca9595c73460243180f4b9d
3081]
3082[set binary mode for existing FDs on Windows (fixes some GHCi test failures)
3083Simon Marlow <marlowsd@gmail.com>**20090626120522
3084 Ignore-this: 580cf636e9c77d8427aff6861d089481
3085]
3086[Move directory-related stuff to the unix package
3087Simon Marlow <marlowsd@gmail.com>**20090625120325
3088 Ignore-this: b997b3cbce0a46ca87ad825bbdc0a411
3089 now that it isn't used on Windows any more.
3090]
3091[TAG 2009-06-25
3092Ian Lynagh <igloo@earth.li>**20090625160056]
3093Patch bundle hash:
30947a026a6e42366134d1022914dd4cda97a0d4b40e