Skip to content
Maximilian Klein edited this page Sep 7, 2016 · 3 revisions

This is lisgy!

How to handle implicit partials

In the case of implicit partials we want to resolve those after lisgy processed the code. A lisgy statement will translate into its data representation and this will be translated into lambda functions after resolving.

Example:

(map array (add (stdin)))

will translate into:

!

If you want to explicitly call the stdin in every invocation you must explicitly create the lambda function like this:

(map array (lambda [x] (add (stdin) x)))

This will result in something like this:

!

Clone this wiki locally