Required libraries Core runtime dependencies System library Other runtime libraries Optional standard library dependencies Regular Expression engine Big Numbers Internationali...
Requiring files require “filename” require “./filename” Other forms Requiring files Writing a program in a single file is OK for little snippets and small benchmark code. Big...
Compile-time flags Compile-time flags Types, methods and generally any part of your code can be conditionally defined based on some flags available at compile time. These flags...
NamedTuple NamedTuple A NamedTuple is typically created with a named tuple literal: tuple = { name : "Crystal" , year : 2011 } # NamedTuple(name: String, year: Int32...