1
1
mirror of https://github.com/github/semantic.git synced 2024-12-26 08:25:19 +03:00

Don’t repeat ourselves.

This commit is contained in:
Rob Rix 2019-12-20 12:07:27 -05:00
parent 75a63dd340
commit 661227365a
No known key found for this signature in database
GPG Key ID: F188A01508EA1CF7

View File

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