<div class="gmail_quote">On Tue, Jun 21, 2011 at 4:45 AM, David Virebayre <span dir="ltr">&lt;<a href="mailto:dav.vire%2Bhaskell@gmail.com">dav.vire+haskell@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
I had trouble accessing the documentation : the last versions on<br>
hackage have a build failure, so the doc isn&#39;t available.</blockquote><div><br></div><div>I don&#39;t understand why that build failure occurs. You can always build documentation for a package locally using &quot;cabal haddock&quot;.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">The very first example didn&#39;t work for me :</blockquote><div><br></div><div>Oops, thanks for mentioning that. I&#39;ve fixed the documentation and made the information about type inference a little clearer.</div>
<div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Indeed, the documentation shows that convertError takes 3 parameters,</blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

and I gave, as per the example, only 2.<br>
But I&#39;m not sure what to write for the 3rd parameter, the<br>
documentation doesn&#39;t help me here.<br></blockquote><div><br></div><div>Thanks for spotting the omission, I&#39;ve clarified that. The Int parameter indicates the number of columns expected for conversion.</div><div>
 </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I&#39;m not sure if that means Database.MySQL supports calling stored<br>
procedures that return a result set or not. I suspect not.</blockquote><div><br></div><div>The mysql-simple package currently doesn&#39;t support stored procedures or multi-statement queries. Each of these can return multiple result sets. It would be necessary to add new functions to the API to support them, as of course each result set could have a different shape.</div>
</div>