Skip to content

Commit 4f89f8a

Browse files
Restyled by fourmolu (#457)
Co-authored-by: Restyled.io <[email protected]>
1 parent 1c0fa23 commit 4f89f8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Swarm/Game/Step.hs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1370,7 +1370,7 @@ execConst c vs s k = do
13701370
[VBool b] -> return $ Out (VBool (not b)) s k
13711371
_ -> badConst
13721372
Neg -> case vs of
1373-
[VInt n] -> return $ Out (VInt (-n)) s k
1373+
[VInt n] -> return $ Out (VInt (- n)) s k
13741374
_ -> badConst
13751375
Eq -> returnEvalCmp
13761376
Neq -> returnEvalCmp

0 commit comments

Comments
 (0)