Skip to content

Commit

Permalink
Fix the result type of writeArray
Browse files Browse the repository at this point in the history
  • Loading branch information
LeventErkok committed Sep 16, 2024
1 parent d40ee8c commit e9668be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Data/SBV/Core/Model.hs
Original file line number Diff line number Diff line change
Expand Up @@ -3261,7 +3261,7 @@ writeArray array key value
g st = do arr <- sbvToSV st array
keyVal <- sbvToSV st key
val <- sbvToSV st value
newExpr st kb (SBVApp WriteArray [arr, keyVal, val])
newExpr st k (SBVApp WriteArray [arr, keyVal, val])

-- | Using a lambda as an array.
lambdaArray :: forall a b. (SymVal a, HasKind b) => (SBV a -> SBV b) -> SArray a b
Expand Down

0 comments on commit e9668be

Please sign in to comment.