Reloading slows movement
This commit is contained in:
@@ -2,6 +2,7 @@ module LensHelp
|
||||
( module Control.Lens
|
||||
, (.:~)
|
||||
, (.++~)
|
||||
, (++.~)
|
||||
) where
|
||||
import Control.Lens
|
||||
|
||||
@@ -12,3 +13,7 @@ infixr 4 .:~
|
||||
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