Dear all,
Is there a licensing issue with using the Random structure from SML/NJ
(files smlnj/smlnj-lib/Util/random-sig.sml and
smlnj/smlnj-lib/Util/random.sml) in Poly/ML? The signature compiles and
structure could be adapted to Poly/ML by:
@@ -41,7 +41,7 @@ structure Random : RANDOM =
val lag = 8
val offset = N-lag
- fun error (f,msg) = LibBase.failure {module="Random",func=f, msg=msg}
+ fun error (f,msg) = raise (Fail(concat["Random.", f, ": ", msg]))
val two2neg30 = 1.0/((real 0x8000)*(real 0x8000)) (* 2^~30 *)
Sincerely, Mark Clements.
N?r du skickar e-post till Karolinska Institutet (KI) inneb?r detta att KI kommer att behandla dina personuppgifter. H?r finns information om hur KI behandlar personuppgifter<https://ki.se/medarbetare/integritetsskyddspolicy>.
Sending email to Karolinska Institutet (KI) will result in KI processing your personal data. You can read more about KI?s processing of personal data here<https://ki.se/en/staff/data-protection-policy>.