
3 Feb
2011
3 Feb
'11
8:22 p.m.
On Thu, Feb 03, 2011 at 02:09:41PM -0500, Patrick Lynch wrote:
...looks good, thank you - see following: [note: the '1' on the 2nd line indicates a successful command execution] --
Prelude Database.HDBC Database.HDBC.Sqlite3> run conn "INSERT INTO test VALUES (?, ?)" [toSql (0::Int), toSql ("zero"::[Char])] 1
Great. Note that the ::[Char] annotation is not strictly necessary, since the type of "zero" is unambiguous*. But of course it can't hurt anything. -Brent * Well, unless you have enabled -XOverloadedStrings...