ForNext
Only Do What Only You Can Do
099. lazy evaluation
VBScript
JScript
Perl
PHP
Python
Ruby
PowerShell
Scala
def first_arg(x: => Double, y: => Double): Double = x first_arg(7, 1/0)
F#
OCaml
let first_arg x y = x;; first_arg 7 (lazy (1/0) );;
Haskell
lazy evaluation is default: first_arg x y = x first_arg 7 (error "bam!")