Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion old-testsuite/microsuite/Test.hs
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ left_over_vector = compile "Data\\.Vector\\.Unboxed\\.Base\\.Vector" []
readProcess :: FilePath -- ^ command to run
-> [String] -- ^ any arguments
-> String -- ^ standard input
-> IO (Either (ExitCode,String) String) -- ^ either the stdout, or an exitcode and any output
-> IO (Either (ExitCode,String) String) -- ^ either the stdout, or an exit code and any output

readProcess cmd args input = C.handle (return . handler) $ do
(inh,outh,errh,pid) <- runInteractiveProcess cmd args Nothing Nothing
Expand Down
2 changes: 1 addition & 1 deletion vector/src/Data/Vector/Storable/Mutable.hs
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ storableSetAsPrim
{-# INLINE [0] storableSetAsPrim #-}
storableSetAsPrim n fp x _y = unsafeWithForeignPtr fp $ \ ptr -> do
poke ptr x
-- we dont equate storable and prim reps, so we need to write to a slot
-- we don't equate storable and prim reps, so we need to write to a slot
-- in storable
-- then read it back as a prim
w<- peakPrimPtr_vector (castPtr ptr :: Ptr b) 0
Expand Down