From 865513b2becb15664e7f2373773afafb39553a79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=96mer=20Sinan=20A=C4=9Facan?= <omeragacan@gmail.com> Date: Sat, 23 Dec 2023 15:44:14 +0100 Subject: [PATCH] Fix BNF in user manual 6.6.8.2: formal syntax for instance declarations --- docs/users_guide/exts/instances.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/users_guide/exts/instances.rst b/docs/users_guide/exts/instances.rst index 17ef06885b72..e57c128a3eff 100644 --- a/docs/users_guide/exts/instances.rst +++ b/docs/users_guide/exts/instances.rst @@ -139,8 +139,8 @@ BNF-style grammar for the tops of instance declarations below. | arg_type infix_cls_tycon arg_type | '(' arg_type infix_cls_tycon arg_type ')' arg_types - arg_type ::= <empty> - | arg_type arg_types + arg_types ::= <empty> + | arg_type arg_types opt_where ::= <empty> | 'where' -- GitLab