Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Initial commit for Pedro's new generic default methods | simonpj | 2011-04-12 | 1 | -1/+3 | |
|/ | | | | | (See his Haskell Symposium 2010 paper "A generic deriving mechaism for Haskell") | |||||
* | Added a VECTORISE pragma | Manuel M T Chakravarty | 2011-02-20 | 1 | -3/+7 | |
| | | | | | | | | | | | | | | | - Added a pragma {-# VECTORISE var = exp #-} that prevents the vectoriser from vectorising the definition of 'var'. Instead it uses the binding '$v_var = exp' to vectorise 'var'. The vectoriser checks that the Core type of 'exp' matches the vectorised Core type of 'var'. (It would be quite complicated to perform that check in the type checker as the vectorisation of a type needs the state of the VM monad.) - Added parts of a related VECTORISE SCALAR pragma - Documented -ddump-vect - Added -ddump-vt-trace - Some clean up | |||||
* | multiline commands in GHCi #4316 | Vivian McPhail | 2010-11-05 | 1 | -0/+22 | |
| | | | | | | | | | | | | | This patch adds support for multiline commands in GHCi. The first line of input is lexed. If there is an active layout context once the lexer reaches the end of file, the user is prompted for more input. Multiline input is exited by an empty line and can be escaped with a user interrupt. Multiline mode is toggled with `:set +m` | |||||
* | Rename -XPArr to -XParallelArrays | Ben Lippmeier | 2010-11-30 | 1 | -8/+8 | |
| | ||||||
* | Remove NewQualifiedOperators | Ian Lynagh | 2010-12-01 | 1 | -11/+2 | |
| | | | | The extension was rejected by Haskell', and deprecated in 7.0. | |||||
* | Unicide OtherNumber category should be allowed in identifiers (#4373) | Simon Marlow | 2010-11-15 | 1 | -1/+1 | |
| | ||||||
* | Separate NondecreasingIndentation out into its own extension | Ian Lynagh | 2010-11-24 | 1 | -2/+7 | |
| | ||||||
* | Add another GHC layout rule relaxation to RelaxedLayout | Ian Lynagh | 2010-11-24 | 1 | -1/+14 | |
| | ||||||
* | Add an extension for GHC's layout-rule relaxations | Ian Lynagh | 2010-11-20 | 1 | -2/+9 | |
| | | | | | Still TODO: Add the other relaxation (#1060) and update the alternative layout rule to use the extension. | |||||
* | More modules that need LANGUAGE BangPatterns | simonpj@microsoft.com | 2010-11-12 | 1 | -0/+1 | |
| | ||||||
* | Allow the old [$foo| ... |] syntax for quasi-quotes | simonpj@microsoft.com | 2010-11-12 | 1 | -0/+4 | |
| | | | | | This is just a backward-compatibility thing, to be removed eventually. | |||||
* | Interruptible FFI calls with pthread_kill and CancelSynchronousIO. v4 | Edward Z. Yang | 2010-09-19 | 1 | -0/+3 | |
| | | | | | | | | | | | | | | | | | | | | | | | This is patch that adds support for interruptible FFI calls in the form of a new foreign import keyword 'interruptible', which can be used instead of 'safe' or 'unsafe'. Interruptible FFI calls act like safe FFI calls, except that the worker thread they run on may be interrupted. Internally, it replaces BlockedOnCCall_NoUnblockEx with BlockedOnCCall_Interruptible, and changes the behavior of the RTS to not modify the TSO_ flags on the event of an FFI call from a thread that was interruptible. It also modifies the bytecode format for foreign call, adding an extra Word16 to indicate interruptibility. The semantics of interruption vary from platform to platform, but the intent is that any blocking system calls are aborted with an error code. This is most useful for making function calls to system library functions that support interrupting. There is no support for pre-Vista Windows. There is a partner testsuite patch which adds several tests for this functionality. | |||||
* | -fwarn-tabs: add "Warning" to the message | Simon Marlow | 2010-10-02 | 1 | -1/+1 | |
| | ||||||
* | Add separate functions for querying DynFlag and ExtensionFlag options | Ian Lynagh | 2010-09-18 | 1 | -22/+22 | |
| | | | | and remove the temporary DOpt class workaround. | |||||
* | Allow "INLINEABLE" as a synonym | simonpj@microsoft.com | 2010-09-15 | 1 | -0/+2 | |
| | ||||||
* | Implement INLINABLE pragma | simonpj@microsoft.com | 2010-09-15 | 1 | -6/+7 | |
| | | | | Implements Trac #4299. Documentation to come. | |||||
* | Fix numeric escape sequences parsing | Anton Nikishaev | 2010-07-21 | 1 | -4/+6 | |
| | | | | This fixes trac bug #1344 | |||||
* | Make datatype contexts an extension (on by default) (DatatypeContexts) | Ian Lynagh | 2010-07-07 | 1 | -1/+6 | |
| | ||||||
* | Handle haddock headers when looking for LANGUAGE/OPTIONS_GHC pragmas | Ian Lynagh | 2010-07-07 | 1 | -1/+1 | |
| | ||||||
* | Make pragState call mkPState, rather than duplicating everything | Ian Lynagh | 2010-07-06 | 1 | -19/+3 | |
| | | | | | This also means that extsBitmap gets set, whereas is was just being set to 0 before. | |||||
* | Make mkPState and pragState take their arguments in the same order | Ian Lynagh | 2010-07-06 | 1 | -3/+4 | |
| | ||||||
* | Remove an out-of-date comment | Ian Lynagh | 2010-07-06 | 1 | -1/+0 | |
| | ||||||
* | Remove dead code (standalone deriving flag no longer used in parser) | Ian Lynagh | 2010-07-01 | 1 | -6/+1 | |
| | ||||||
* | Remove the Unicode alternative for ".." (#3894) | Simon Marlow | 2010-05-05 | 1 | -1/+0 | |
| | ||||||
* | Add handling for | to the transitional alternative layout rule | Ian Lynagh | 2010-03-02 | 1 | -0/+12 | |
| | ||||||
* | Tweak alternative layout rule | Ian Lynagh | 2010-03-02 | 1 | -8/+19 | |
| | | | | Now not only is if/then a bracketting pair, but then/else is too | |||||
* | Add transitional rules for the alternative layout rule | Ian Lynagh | 2010-03-02 | 1 | -1/+20 | |
| | | | | If enabled, these accept more layout, but give warnings | |||||
* | Fix the alternative layout rule to handle explicit let/in | Ian Lynagh | 2010-03-02 | 1 | -8/+31 | |
| | | | | | | | It used to break on let {x = 'a'} in x as the 'in' token would keep closing contexts looking for an implicit 'let' layout. | |||||
* | Simplify syntax for quasi-quotation | simonpj@microsoft.com | 2010-02-10 | 1 | -3/+4 | |
| | | | | | | | | | | | | | After some discussion we decided to make a quasi-quote look like [pads| ...blah... |] rather than [$pads| ...blah... |] as before. The new syntax is quieter, although it does not signal quite as clearly that there is a splice going on. | |||||
* | Teach the alternative layout rule about mdo and rec | Ian Lynagh | 2010-01-16 | 1 | -0/+2 | |
| | ||||||
* | Teach the alternative layout rule about $( ... ) | Ian Lynagh | 2010-01-16 | 1 | -7/+8 | |
| | | | | | It thought the ) needed to close something, but the $( hadn't opened anything. | |||||
* | Fix #3751, also fix some lexical error SrcLocs | Simon Marlow | 2009-12-17 | 1 | -35/+34 | |
| | ||||||
* | Fix #3741, simplifying things in the process | Simon Marlow | 2009-12-10 | 1 | -72/+46 | |
| | | | | | | | | | The problem in #3741 was that we had confused column numbers with byte offsets, which fails in the case of UTF-8 (amongst other things). Fortunately we're tracking correct column offsets now, so we didn't have to make a calculation based on a byte offset. I got rid of two fields from the PState (last_line_len and last_offs).and one field from the AI (alex input) constructor. | |||||
* | Add some comments on the alternative layout rule state | Ian Lynagh | 2009-12-05 | 1 | -0/+9 | |
| | ||||||
* | Tweak layout for alternative layout rule | Ian Lynagh | 2009-12-03 | 1 | -1/+1 | |
| | ||||||
* | Add a GHC layout extension to the alternative layout rule | Ian Lynagh | 2009-12-03 | 1 | -0/+9 | |
| | ||||||
* | Tweak the alternative layout rule: {} contains commas | Ian Lynagh | 2009-11-29 | 1 | -0/+4 | |
| | ||||||
* | Tweak alternative layout rule | Ian Lynagh | 2009-11-29 | 1 | -2/+2 | |
| | ||||||
* | Make the alternative layout rule cope with file pragmas | Ian Lynagh | 2009-11-29 | 1 | -1/+3 | |
| | ||||||
* | Columns now start at 1, as lines already did | Ian Lynagh | 2009-11-27 | 1 | -1/+1 | |
| | | | | Also corrected a couple of line 0's to line 1 | |||||
* | Implement non-decreasing do indentation in the alternative layout rule | Ian Lynagh | 2009-11-27 | 1 | -1/+7 | |
| | ||||||
* | Apply patch from #2978: add more Unicode syntax | Simon Marlow | 2009-09-18 | 1 | -0/+8 | |
| | ||||||
* | Fix a bug in alternative layout rule | Ian Lynagh | 2009-11-25 | 1 | -0/+1 | |
| | ||||||
* | Fix a bug in alternative layout | Ian Lynagh | 2009-11-25 | 1 | -16/+9 | |
| | | | | And make the code simpler in the process! | |||||
* | Bug fix for alternative layout rule | Ian Lynagh | 2009-11-25 | 1 | -1/+1 | |
| | ||||||
* | Tweak alternative layout rule | Ian Lynagh | 2009-11-25 | 1 | -8/+11 | |
| | ||||||
* | Add unboxed parentheses to the alternative layout rule | Ian Lynagh | 2009-11-25 | 1 | -0/+6 | |
| | ||||||
* | Tweak the warning suppression flags used in Lexer | Ian Lynagh | 2009-11-25 | 1 | -9/+9 | |
| | ||||||
* | Implement the alternative layout rule | Ian Lynagh | 2009-11-25 | 1 | -11/+230 | |
| | | | | Caution: Largely untested | |||||
* | Fix some warning in Lexer | Ian Lynagh | 2009-11-24 | 1 | -9/+11 | |
| |