Mercurial > urweb
view tests/user.ur @ 1002:bb3fc575cfe7
Adapted existing demos to tuple pattern-matching
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Tue, 20 Oct 2009 10:29:17 -0400 |
parents | d1dbb9a3c804 |
children |
line wrap: on
line source
table user : {A : int} fun main () = r <- oneRow (SELECT COUNT( * ) AS N FROM user); return <xml>{[r.N]}</xml>