j
k
j a
j l
However the problem comes when I try and use runST to run it... runMatrix :: Array (Int,Int) Int runMatrix = runST $ wrapper This is becase 's' escapes Expected: ST s a -> b Inferred: (forall s1. ST s1 a) -> a
However the problem comes when I try and use runST to run it...
runMatrix :: Array (Int,Int) Int runMatrix = runST $ wrapper
This is becase 's' escapes Expected: ST s a -> b Inferred: (forall s1. ST s1 a) -> a
Delete the dollar? Cheers, Simon
Back to the thread
Back to the list