Flix (programming language): Difference between revisions

Content deleted Content added
Line 43:
== Examples ==
 
=== Hello Worldworld ===
 
The following program prints "[["Hello, World!" program|Hello World!]]" when compiled and executed:
Line 92:
</syntaxhighlight>
 
Here the call to <code>twice(x -> x + 1)</code> returns a function that will increment its argument two times. Consequently,Thus the result of the entirewhole expression is <code>0 + 1 + 1 = 2</code>.
 
=== Parametric polymorphism ===