ForNext
Only Do What Only You Can Do
077. type constructor with argument
VBScript
JScript
Perl
PHP
Python
Ruby
PowerShell
Scala
class SpecialInt(x: Int) val x = new SpecialInt(7)
F#
OCaml
type special_int = SpecialInt of int;; let x = SpecialInt 7;;
Haskell
data SpecialIntType = SpecialInt Integer x = SpecialInt 7