1
1
mirror of https://github.com/github/semantic.git synced 2024-12-19 12:51:52 +03:00

remove pureeffect

This commit is contained in:
joshvera 2018-11-01 22:32:46 -04:00
parent 5234688d9c
commit 82c50ed96d

View File

@ -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)