Skip to content
This repository has been archived by the owner on Jan 26, 2022. It is now read-only.

Blocks should allow partial application #73

Open
mjstahl opened this issue Apr 20, 2013 · 1 comment
Open

Blocks should allow partial application #73

mjstahl opened this issue Apr 20, 2013 · 1 comment

Comments

@mjstahl
Copy link
Owner

mjstahl commented Apr 20, 2013

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 }
@ghost ghost assigned mjstahl Apr 20, 2013
@mjstahl mjstahl added feature and removed bug labels Aug 19, 2014
@mjstahl
Copy link
Owner Author

mjstahl commented Aug 19, 2014

This was changed from bug to feature because this is an implementation of partial application for blocks.

@mjstahl 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 mjstahl changed the title Blocks should allow partial application. Blocks should allow partial application Aug 19, 2014
@mjstahl mjstahl removed their assignment Jul 21, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant