mirror of
https://github.com/github/semantic.git
synced 2024-11-28 10:15:55 +03:00
🔥 putExports.
This commit is contained in:
parent
f4c33d4d8f
commit
7d67ee3905
@ -1,7 +1,6 @@
|
||||
module Control.Abstract.Exports
|
||||
( Exports
|
||||
, getExports
|
||||
, putExports
|
||||
, addExport
|
||||
, withExports
|
||||
) where
|
||||
@ -14,10 +13,6 @@ import Data.Abstract.Name
|
||||
getExports :: Member (State (Exports address)) effects => Evaluator address value effects (Exports address)
|
||||
getExports = get
|
||||
|
||||
-- | Set the global export state.
|
||||
putExports :: Member (State (Exports address)) effects => Exports address -> Evaluator address value effects ()
|
||||
putExports = put
|
||||
|
||||
-- | Update the global export state.
|
||||
modifyExports :: Member (State (Exports address)) effects => (Exports address -> Exports address) -> Evaluator address value effects ()
|
||||
modifyExports = modify'
|
||||
|
Loading…
Reference in New Issue
Block a user