Simon Peyton Jones pushed to branch wip/spj-try-opt-coercion at Glasgow Haskell Compiler / GHC

Commits:

1 changed file:

Changes:

  • docs/users_guide/using-optimisation.rst
    ... ... @@ -996,14 +996,15 @@ as such you shouldn't need to set any of them explicitly. A flag
    996 996
         a warning if the number of arguments in the resulting function would exceed
    
    997 997
         the value given by ``-fmax-forced-spec-args``.
    
    998 998
     
    
    999
    -.. ghc-flag:: -fno-opt-coercion
    
    1000
    -    :shortdesc: Turn off the coercion optimiser
    
    999
    +.. ghc-flag:: -fopt-coercion
    
    1000
    +    :shortdesc: Turn on the coercion optimiser
    
    1001 1001
         :type: dynamic
    
    1002
    +    :reverse: -fno-opt-coercion
    
    1002 1003
         :category:
    
    1003 1004
     
    
    1004
    -    :default: coercion optimisation enabled.
    
    1005
    +    :default: on
    
    1005 1006
     
    
    1006
    -    Turn off the coercion optimiser.
    
    1007
    +    Turn on the coercion optimiser.
    
    1007 1008
     
    
    1008 1009
     .. ghc-flag:: -fno-pre-inlining
    
    1009 1010
         :shortdesc: Turn off pre-inlining