If you call pmap under the compiler, the function should get called under the compiler and same for the interpreter. Right now its always compiled.