#include "haskell2c.h" #include "HsFFI.h" #ifdef PROFILE static SInfo nodeProfInfo = { "Builtin","Builtin.primIntegerFromWord64","Prelude.Integer"}; #endif NodePtr primIntegerFromWord64 (HsWord64 i) { NodePtr result; C_CHECK(SIZE_INT64); if(i==0) { result = C_ALLOC(SIZE_ENUM); *result = CONSTRW(0,0); INIT_PROFINFO(result,&nodeProfInfo) } else if ((0>32); } return (result); }