Skip to content

Commit

Permalink
Merge pull request #4 from dagit/master
Browse files Browse the repository at this point in the history
Update OpenCLRaw to compile on GHC 7
  • Loading branch information
jeffersonheard committed Sep 8, 2011
2 parents 12d7ba0 + 350bd51 commit 801388f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion OpenCLRaw.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ license: BSD3
license-file: LICENSE
copyright: Renaissance Computing Institute
maintainer: J.R. Heard
build-depends: base <= 4.1.0.0, bytestring -any, mtl -any
build-depends: base < 5, bytestring -any, mtl -any
stability: Experimental
homepage: http://vis.renci.org/jeff/opencl
package-url:
Expand Down
2 changes: 1 addition & 1 deletion System/OpenCL/Raw/V10/Utils.hs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ wrapGetInfo raw_infoFn param_size = alloca $ \value_size_ret -> do


nest :: [(r -> a) -> a] -> ([r] -> a) -> a
nest xs = runCont (sequence (map Cont xs))
nest xs = runCont (sequence (map cont xs))

withCStringArray0 :: [String] -> (Ptr CString -> IO a) -> IO a
withCStringArray0 strings act = nest (map withCString strings)
Expand Down

0 comments on commit 801388f

Please sign in to comment.