Mercurial > urweb
view tests/eargs.ur @ 2174:ce312cad5ecd
Use correct OpenSSL thread safety macros on OS X (closes #209)
Create an Autoconf test to determine if pthread_t is a pointer or scalar
type, and use the appropriate CRYPTO_THREADID_set macro based on the
result.
author | Benjamin Barenblat <bbaren at mit.edu> |
---|---|
date | Sun, 20 Sep 2015 17:46:07 -0400 |
parents | 71bafe66dbe1 |
children |
line wrap: on
line source
val id1 = fn n : int => n val id2 = fn n => id1 n val pair1 = fn (t1 ::: Type) (t2 ::: Type) (x1 : t1) (x2 : t2) => (x1, x2) val pair2 = fn (t1 ::: Type) (t2 ::: Type) (x1 : t1) (x2 : t2) () => pair1 x1 x2 val id3 n = id2 n val id4 n : int = id3 n val id5 (n : int) = id4 n val id6 (n : int) : int = id5 n val id1 (t ::: Type) (x : t) = x val id2 (t ::: Type) (x : t) : t = id1 x