annotate tests/user.ur @ 1505:8c851e5508a7

Tutorial: up to First-Class Polymorphism
author Adam Chlipala <adam@chlipala.net>
date Sun, 17 Jul 2011 11:00:04 -0400
parents d1dbb9a3c804
children
rev   line source
adamc@986 1 table user : {A : int}
adamc@986 2
adamc@986 3 fun main () =
adamc@986 4 r <- oneRow (SELECT COUNT( * ) AS N FROM user);
adamc@986 5 return <xml>{[r.N]}</xml>