Add burst fire, tentative inventory locking
This commit is contained in:
@@ -1,9 +1,14 @@
|
||||
module LensHelp
|
||||
( module Control.Lens
|
||||
, (.:~)
|
||||
, (.++~)
|
||||
) where
|
||||
import Control.Lens
|
||||
|
||||
infixr 4 .:~
|
||||
(.:~) :: ASetter s t [a] [a] -> a -> s -> t
|
||||
(.:~) m x = m %~ (x :)
|
||||
|
||||
infixr 4 .++~
|
||||
(.++~) :: ASetter s t [a] [a] -> [a] -> s -> t
|
||||
(.++~) m x = m %~ (x ++)
|
||||
|
||||
Reference in New Issue
Block a user