about summary refs log tree commit diff
path: root/docs
diff options
context:
space:
mode:
authorsterni <sternenseemann@systemli.org>2022-09-18T22·48+0200
committersterni <sternenseemann@systemli.org>2022-09-19T09·58+0000
commitb79e248959cbccd6b387a52750de54b388a9a2c3 (patch)
treee2fb2ba89f779aa97888083333a8b2e71a06da0f /docs
parentfefa8c55c45d82fc1d81e02a96e126812e1e1223 (diff)
refactor(tvix/eval): handle forcing in Builtin::apply r/4918
Instead of arity, we pass a array reference to Builtin::new that
describes how many arguments there are and which of them need to be
forced, eliminating the need to force manually.

Note that this change doesn't fix some of the instances where the the
Builtin doesn't consider that the value could be a Thunk.

Change-Id: Iadb58bb79886c30dc6b09dcf0ffad8abf28036a1
Reviewed-on: https://cl.tvl.fyi/c/depot/+/6662
Reviewed-by: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions