File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -192,8 +192,8 @@ missingIngredientsFor (inv, ins) (Recipe inps _ reqs _ _) =
192
192
knowsIngredientsFor :: (Inventory , Inventory ) -> Recipe Entity -> Bool
193
193
knowsIngredientsFor (inv, ins) recipe =
194
194
knowsAll inv (recipe ^. recipeInputs) && knowsAll ins (recipe ^. recipeRequirements)
195
- where
196
- knowsAll xs = all (E. contains xs . snd )
195
+ where
196
+ knowsAll xs = all (E. contains xs . snd )
197
197
198
198
-- | Try to make a recipe, deleting the recipe's inputs from the
199
199
-- inventory. Return either a description of which items are
Original file line number Diff line number Diff line change @@ -1371,7 +1371,7 @@ execConst c vs s k = do
1371
1371
[VBool b] -> return $ Out (VBool (not b)) s k
1372
1372
_ -> badConst
1373
1373
Neg -> case vs of
1374
- [VInt n] -> return $ Out (VInt (- n)) s k
1374
+ [VInt n] -> return $ Out (VInt (- n)) s k
1375
1375
_ -> badConst
1376
1376
Eq -> returnEvalCmp
1377
1377
Neq -> returnEvalCmp
You can’t perform that action at this time.
0 commit comments