How to build a query string with mysql-simpl?
<p>I know that the Query type exists to make code injection difficult. But I need to call "describe tablename" and substitute the table name with the table I want to describe.</p>

<p>Since I'm fairly new to Haskell I have no idea how to accomplish this.</p>

<p>So far the code looks like this:</p>

<pre><code>describe :: String -&gt; SqlQuery [FieldInfo]
describe table = sqlQuery_ "describe " ++ table
</code></pre>

<p>But that results in</p>

<pre><code>Couldn't match expected type ‘[Char]’
</code></pre>