Skip to content

mandel59/hxlazy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

hxlazy

A lazy data structure

using hxlazy.Lazy;

class Main {

	public static function main() {
		var sideeffect = function(x) { trace("world"); return x; };
		var v = sideeffect(10 + 20).lazy();
		trace("hello");
		trace(v.value);
		trace(v.value);
	}

}