[ mona / prog / sol ]

prog


Monads,Async/Await : Algebraic Effects in C99

22 2021-01-14 15:30

Of course, if you remove "only at compile-time' pre-condition
its more flexible.
#include "Util/void.h"
#define roll(r) condelse("c",(r<0.3,"a"),(r>0.5,"b"))
int main(){
uint64_t q1=__rdtsc();
randomize(q1);
float r=uintdouble01(q1);
char* RES=roll(r);
print(RES);}

64


VIP:

do not edit these