To be more specific, I have the following innocuous-looking little Repa 3 program:
{-# LANGUAGE QuasiQuotes #-}
import Prelude hiding (map, zipWith)
import
computeP
is the new force
.
In Repa 3 you need to use computeP
everywhere you would have used force
in Repa 2.
The Laplace example from repa-examples is similar to what you're doing. You should also use cmap
instead of plain map
in your blur
function. There will be a paper explaining why on my homepage early next week.