X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=docs%2Fusers_guide%2Fglasgow_exts.xml;h=e57b2946778a46e6cdb09e562c0a8fbc9a96636c;hp=a29e7478c81cd9554eb0358c9831e27cee769146;hb=7217f562ed08b7ef8a702065d437f7b6366aea88;hpb=6dceb65b092ba63975c93dc8b15442deb32e6e22 diff --git a/docs/users_guide/glasgow_exts.xml b/docs/users_guide/glasgow_exts.xml index a29e747..e57b294 100644 --- a/docs/users_guide/glasgow_exts.xml +++ b/docs/users_guide/glasgow_exts.xml @@ -450,43 +450,6 @@ Indeed, the bindings can even be recursive. - - New qualified operator syntax - - A new syntax for referencing qualified operators is - planned to be introduced by Haskell', and is enabled in GHC - with - the - option. In the new syntax, the prefix form of a qualified - operator is - written module.(symbol) - (without NewQualifiedOperators this would - be (module.symbol)), - and the infix form is - written `module.(symbol)` - (without NewQualifiedOperators this would - be `module.symbol`. - For example: - - add x y = Prelude.(+) x y - subtract y = (`Prelude.(-)` y) - - The new form of qualified operators is intended to regularise - the syntax by eliminating odd cases - like Prelude... For example, - when NewQualifiedOperators is on, it is possible to - write the enumerated sequence [Monday..] - without spaces, whereas without NewQualifiedOperators this would be a - reference to the operator ‘.‘ - from module Monday. - - When is on, the old - syntax for qualified operators is not accepted, so this - option may cause existing code to break. - - - -