1
1
mirror of https://github.com/github/semantic.git synced 2025-01-03 13:02:37 +03:00

📝 prim.

This commit is contained in:
Rob Rix 2018-05-28 10:51:24 -04:00
parent 9d36699682
commit 3fcdae3ac8

View File

@ -72,6 +72,7 @@ defineBuiltins =
builtin Print (lambda lowerBound (\ v -> variable v >>= asString >>= trace . unpack >> unit))
-- | Call a 'Builtin' with parameters.
prim :: Member (Primitive value) effects => Builtin -> [value] -> Evaluator location value effects value
prim builtin params = send (Prim builtin params)