summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorsheaf <sam.derbyshire@gmail.com>2022-08-02 17:30:31 +0200
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-08-02 19:27:29 -0400
commit97655ad88c42003bc5eeb5c026754b005229800c (patch)
treef6a6b7cd237fca7c0e47a44866256d1f4c14be34 /docs
parentaeb8497d18c12e5e05efa0513a2a0da275082ab5 (diff)
downloadhaskell-97655ad88c42003bc5eeb5c026754b005229800c.tar.gz
User's guide: fix typo in hasfield.rst
Fixes #21950
Diffstat (limited to 'docs')
-rw-r--r--docs/users_guide/exts/hasfield.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/users_guide/exts/hasfield.rst b/docs/users_guide/exts/hasfield.rst
index 5682c9f901..52adddc990 100644
--- a/docs/users_guide/exts/hasfield.rst
+++ b/docs/users_guide/exts/hasfield.rst
@@ -137,7 +137,7 @@ string in the type-level list of fields: ::
getField (Cons _ _ r) = getField @x r
r :: Record '[ '("name", String) ]
- r = Cons Proxy "R" Nil)
+ r = Cons Proxy "R" Nil
x = getField @"name" r