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.
2 parents 11042db + 7a6a436 commit 71f43beCopy full SHA for 71f43be
doc/alex.xml
@@ -1408,6 +1408,13 @@ alexError :: String -> Alex a
1408
alexGetStartCode :: Alex Int
1409
alexSetStartCode :: Int -> Alex ()</programlisting>
1410
1411
+ <para>The <literal>monad</literal> wrapper expects that you
1412
+ define a variable <literal>alexEOF</literal> with the following
1413
+ signature:</para>
1414
+
1415
+<programlisting>alexEOF :: Alex result</programlisting>
1416
1417
1418
<para>To invoke a scanner under the <literal>monad</literal>
1419
wrapper, use <literal>alexMonadScan</literal>:</para>
1420
0 commit comments