[Ur] I know this must be malformed Ur

Isaac Torbett izacht13 at gmail.com
Wed Mar 8 18:32:59 EST 2017


table topic: { Id: int, Title: string, Body: string, Links: string, Author:
string, Summary: string }
  PRIMARY KEY Id

fun main () =
    returnBlob (
        textBlob (
            Json.toJson {
                Topics = queryL1 (SELECT topic.Title, topic.Body FROM topic)
            }
        )
    ) (blessMime "application/json")

I've tried changing line 12 to:

, blessMime "application/json")

As that seems to me like it makes more sense, but my one line of error
turns into quite a lot more than one line. (*Measure in lines because I am
still having trouble reading the errors.*)

Error for the first code block is:
"/home/izach/projects/urweb/test.ur:7:3: (to 7:14) Can't resolve type class
instance"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.impredicative.com/pipermail/ur/attachments/20170308/7eb845f1/attachment.html>


More information about the Ur mailing list