mirror of
https://github.com/github/semantic.git
synced 2024-12-19 21:01:35 +03:00
remove pureeffect
This commit is contained in:
parent
5234688d9c
commit
82c50ed96d
@ -223,8 +223,6 @@ alloc = send . Alloc
|
||||
data Allocator address (m :: * -> *) return where
|
||||
Alloc :: Name -> Allocator address m address
|
||||
|
||||
instance PureEffect (Allocator address)
|
||||
|
||||
instance Effect (Allocator address) where
|
||||
handleState c dist (Request (Alloc name) k) = Request (Alloc name) (dist . (<$ c) . k)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user