mirror of
https://github.com/github/semantic.git
synced 2024-12-27 00:44:57 +03:00
Don’t repeat ourselves.
This commit is contained in:
parent
75a63dd340
commit
661227365a
@ -57,7 +57,7 @@ asLam v = send (AsLam v pure)
|
||||
record :: forall term addr abstract m sig . Has (Domain term addr abstract) sig m => [(Name, term addr)] -> m abstract
|
||||
record fs = send (Record fs pure)
|
||||
|
||||
-- FIXME: Support partial concretization of lambdas and records.
|
||||
-- FIXME: Support partial concretization of records.
|
||||
asRecord :: forall term addr abstract m sig . Has (Domain term addr abstract) sig m => abstract -> m [(Name, term addr)]
|
||||
asRecord v = send (AsRecord v pure)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user