Commit ca89dd3b authored by Ben Gamari's avatar Ben Gamari 🐢
Browse files

users-guide: Address #17329

Adopts the language suggested by @JakobBruenker.
parent 002b2842
...@@ -12545,13 +12545,13 @@ Partial Type Signatures ...@@ -12545,13 +12545,13 @@ Partial Type Signatures
Type checker will allow inferred types for holes. Type checker will allow inferred types for holes.
   
A partial type signature is a type signature containing special A partial type signature is a type signature containing special
placeholders written with a leading underscore (e.g., "``_``", placeholders called *wildcards*. A wildcard is written as an underscore (e.g. "``_``")
"``_foo``", "``_bar``") called *wildcards*. Partial type signatures are or, if :extension:`NamedWildCards` is enabled, any identifier with a leading
to type signatures what :ref:`typed-holes` are to expressions. During underscore (e.g. "``_foo``", "``_bar``"). Partial type signatures are to type
compilation these wildcards or holes will generate an error message that signatures what :ref:`typed-holes` are to expressions. During compilation these
describes which type was inferred at the hole's location, and wildcards or holes will generate an error message that describes which type was
information about the origin of any free type variables. GHC reports inferred at the hole's location, and information about the origin of any free
such error messages by default. type variables. GHC reports such error messages by default.
   
Unlike :ref:`typed-holes`, which make the program incomplete and will Unlike :ref:`typed-holes`, which make the program incomplete and will
generate errors when they are evaluated, this needn't be the case for generate errors when they are evaluated, this needn't be the case for
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment