You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 26, 2022. It is now read-only.
Currently if a lookup fails it will return Nil as the result. While in a block this should not be the case. This is how a failed lookup currently evaluates:
>>> {| x. y | x + y } value: 1
=== Nil
It should evaluate as follows:
>>> {| x. y | x + y } value: 1
=== Block
Where Block contains the expression.
{| y | 1 + y }
The text was updated successfully, but these errors were encountered:
This was changed from bug to feature because this is an implementation of partial application for blocks.
mjstahl
changed the title
While in a block, if the scope lookup of an identifier fails, a new block should be returned with the remain statements (i.e. partial application)
Blocks should allow partial application.
Aug 19, 2014
mjstahl
changed the title
Blocks should allow partial application.
Blocks should allow partial application
Aug 19, 2014
Currently if a lookup fails it will return Nil as the result. While in a block this should not be the case. This is how a failed lookup currently evaluates:
It should evaluate as follows:
Where
Block
contains the expression.The text was updated successfully, but these errors were encountered: