Hey everyone,

first of all: great work. I'm really starting to like links. However, I sometimes get weird error messages. This is my source code:

fun start(e) {
  page
    <html>
     <body>
        You typed: {stringToXml(intToString(e))}
       Enter a number: {inputInt => start}
      </body>
    </html>
}

start(5)

But when I run this, I get the following error:

Links Fatal ErrorUnbound type constructor Xml


I'm not sure what's happening, I think it should know this. When running some more complicated examples, everything works perfectly. Any clues on what's going on?

Also, totally unrelated, I'm experimenting with the sqlite3 binding. I couldn't get the MySQL-binding to work (it has something to do with my libraries), but sqlite3 sort of works. Inserts work perfectly, but when I do a "asList(myTable);" it gives the following error:

RUNNING QUERY:
SELECT Table__g1.word AS word, Table__g1.meaning AS meaning, Table__g1.id AS id FROM definitions AS Table__g1
*** Error: Sqlite3.RangeError(0, 0)

However, the same query works perfectly when issued from the sqlite3- console.

That's it for now,
-chris

_______________________________________________
links-users mailing list
[email protected]
http://lists.inf.ed.ac.uk/mailman/listinfo/links-users

Reply via email to