1
1
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:
Rob Rix 2018-05-31 08:42:41 -04:00
parent 9c88e5c6b2
commit 9f1e73cd07

View File

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