mirror of
https://github.com/github/semantic.git
synced 2024-11-24 17:04:47 +03:00
Align the Allocator constructors.
This commit is contained in:
parent
9c88e5c6b2
commit
9f1e73cd07
@ -110,7 +110,7 @@ variable name = lookupEnv name >>= maybeM (freeVariableError name) >>= deref
|
||||
-- Effects
|
||||
|
||||
data Allocator address value return where
|
||||
Alloc :: Name -> Allocator address value address
|
||||
Alloc :: Name -> Allocator address value address
|
||||
Deref :: address -> Allocator address value value
|
||||
|
||||
runAllocator :: (Addressable address effects, Effectful (m address value), Member (Resumable (AddressError address value)) effects, Member (State (Heap address (Cell address) value)) effects) => m address value (Allocator address value ': effects) a -> m address value effects a
|
||||
|
Loading…
Reference in New Issue
Block a user