Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Array of lambdas in context? #17

Open
biot023 opened this issue Mar 3, 2017 · 0 comments
Open

Array of lambdas in context? #17

biot023 opened this issue Mar 3, 2017 · 0 comments

Comments

@biot023
Copy link

biot023 commented Mar 3, 2017

Hi -- I'm constructing an array of mstch::lambdas around a collection of function objects.
These are getting cast to mstch::node objects as they are passed into the array.
However, when I try to loop through this array, it is as if there are no contents in the resulting HTML.
Is what I'm doing even possible?
And could it be, if it isn't currently?
It would allow me to create lazily-evaluated presenter objects, which would only instantiate (and maybe only instantiate child fields) when explicitly needed.
Cheers,
Doug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant