# How to write a lambda-returning function?

Like this one which should yield 8:

The ring + call combination I tried did not work. [EDIT: shown below]

the plus (3) should be unringified

That worked, thanks. Never saw unringify before :~)

What did that do? Is it because the call added its own lambda-like wrapper around the lambda returned by plus?

Are there available primitive blocks to do what the unringify menu item does?

yes, it's because call automatically puts a gray ring around whatever you put in it, unless it's a variable.

also, the call block unringifies rings

Just

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.