add isNaN function
Merge pull request #8 from mikusp/master

add isNaN function
wibbles
foreign acc: pass the execution stream to the foreign function

This is important because the evaluator executes kernels concurrently and synchronises on Events in the Stream.

AccelerateHS/accelerate#225