<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7653.38">
<TITLE>RE: [Haskell-cafe] followedBy parser in Parsec</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>'lookAhead' is exactly what I needed:<BR>
<BR>
try $ array_element &gt;&gt;= \ae -&gt; lookAhead (reservedOp &quot;(&quot;) &gt;&gt; return ae<BR>
<BR>
Many thanks,<BR>
Paul<BR>
<BR>
Maybe you're looking for 'lookAhead'?<BR>
<BR>
&gt;<BR>
&gt; [...]<BR>
<BR>
//Stephan<BR>
<BR>
--<BR>
<BR>
Früher hieß es ja: Ich denke, also bin ich.<BR>
Heute weiß man: Es geht auch so.<BR>
<BR>
&nbsp;- Dieter Nuhr<BR>
</FONT>
</P>

</BODY>
</HTML>