Mercurial > urweb
comparison lib/ur/top.ur @ 2211:ef766ef6e242
Merge.
author | Ziv Scully <ziv@mit.edu> |
---|---|
date | Sat, 13 Sep 2014 19:16:07 -0400 |
parents | a3435112b83e |
children | 4cd36865e0b5 |
comparison
equal
deleted
inserted
replaced
2210:69c0f36255cb | 2211:ef766ef6e242 |
---|---|
403 in | 403 in |
404 case postType pb of | 404 case postType pb of |
405 "application/x-www-form-urlencoded" => postFields' (postData pb) | 405 "application/x-www-form-urlencoded" => postFields' (postData pb) |
406 | _ => error <xml>Tried to get POST fields, but MIME type is not "application/x-www-form-urlencoded"</xml> | 406 | _ => error <xml>Tried to get POST fields, but MIME type is not "application/x-www-form-urlencoded"</xml> |
407 end | 407 end |
408 | |
409 fun max [t] ( _ : ord t) (x : t) (y : t) : t = | |
410 if x > y then x else y | |
411 fun min [t] ( _ : ord t) (x : t) (y : t) : t = | |
412 if x < y then x else y |