From 364c9b1113ca8b80a389fbe7539f22c105206d0e Mon Sep 17 00:00:00 2001 From: Rob Rix Date: Fri, 21 Apr 2017 10:13:35 -0400 Subject: [PATCH] Correct the docs of `symbol`. --- src/Data/Syntax/Assignment.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Data/Syntax/Assignment.hs b/src/Data/Syntax/Assignment.hs index b1efe24af..bb35e0e53 100644 --- a/src/Data/Syntax/Assignment.hs +++ b/src/Data/Syntax/Assignment.hs @@ -39,7 +39,7 @@ data AssignmentF symbol a where -- | Zero-width match of a node with the given symbol. -- --- Since this is zero-width, care must be taken not to repeat it without chaining on other rules. I.e. 'many (rule A *> b)' is fine, but 'many (rule A)' is not. +-- Since this is zero-width, care must be taken not to repeat it without chaining on other rules. I.e. 'many (symbol A *> b)' is fine, but 'many (symbol A)' is not. symbol :: symbol -> Assignment symbol () symbol s = Symbol s `Then` return