payment: note that Stripe has instituted an additional 1% fee for non-US cards
[hcoop/portal.git] / listaddrs / listaddrs.sml
CommitLineData
1d2cae17
AC
1structure Main = struct
2
3structure C = PgClient
4
5fun main _ =
6 let
52a07965 7 val db = C.conn "dbname='hcoop_hcoop' host='postgres'"
1d2cae17
AC
8
9 fun printOne [name] = print (C.stringFromSql name ^ "@hcoop.net\n")
10 in
11 C.app db printOne "SELECT name FROM WebUser";
12 C.close db;
13 OS.Process.success
14 end
15end