Top 1,000 Features Creators Resources Blog Explore Download
GitHub icon

Lazy Evaluation

< >
Example from C3:
fn void print(String s) { io::printfn("Said: %s", s); } macro @foo(bool run, #lazy) { if (run) #lazy; } // Only "Said: Hello" is printed: @foo(false, print("Bye")); @foo(true, print("Hello"));

Languages with Lazy Evaluation include R, C3, popr

Read more about Lazy Evaluation on the web: 1.

HTML of this page generated by Features.ts

View source

- Build the next great programming language About Acknowledgements Extensions Day 624 feedback@pldb.io