[Ur] JSON web service/api?
Isaac Torbett
izacht13 at gmail.com
Wed Mar 8 13:51:54 EST 2017
I'm trying to get the urweb server to return json, but what is the
type/kind I should put in the transaction monad?
val main : <here> -> transaction page
What would I put in <here>?
Furthermore- I don't even know if my json-like structure is allowed, the
compiler isn't complaining about it, so maybe it's fine.
fun main () = return queryX1 (SELECT topic.Title, topic.Body FROM topic)
I'm not even sure I know what I'm doing, `completely new to ML-style
languages.
- Isaac
P.S. I've never actually used a Mailing List before, so if my post is
malformed, please tell me.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.impredicative.com/pipermail/ur/attachments/20170308/998b3a44/attachment.html>
More information about the Ur
mailing list