diff options
author | sheaf <sam.derbyshire@gmail.com> | 2022-08-02 17:30:31 +0200 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2022-08-02 19:27:29 -0400 |
commit | 97655ad88c42003bc5eeb5c026754b005229800c (patch) | |
tree | f6a6b7cd237fca7c0e47a44866256d1f4c14be34 /docs | |
parent | aeb8497d18c12e5e05efa0513a2a0da275082ab5 (diff) | |
download | haskell-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.rst | 2 |
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 |