We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65ef2ec commit 66b5222Copy full SHA for 66b5222
README.md
@@ -114,9 +114,7 @@ In some cases like this:
114
115
```purescript
116
aye :: Parser String Char
117
-aye = do
118
- char 'a'
119
- aye
+aye = char 'a' *> aye
120
```
121
122
we might get a compile-time *CycleInDeclaration* error which looks like this:
@@ -139,9 +137,7 @@ this is to stick a
139
137
in front of the parser to break the cycle.
140
138
141
142
-aye = defer \_ -> do
143
144
+aye = defer \_ -> char 'a' *> aye
145
146
147
0 commit comments