API reference
Auto-generated from the standard library sources by generate_std_docs.py.
Primitive types
bool:boolchar:charfloats:float32,float64,float80,c_float,c_doubleintegers:int8,int16,int32,int64,uint8,uint16,uint32,uint64,c_size_t,c_schar,c_uchar,c_short,c_ushort,c_int,c_uint,c_long,c_ulong,c_longlong,c_ulonglongnever:never
Strings
Containers
Array:Array,crossBox:BoxList:List,operator==Map:MapEntry,Map,MapIteratorOptional:Optional,operator==,print,printlnSet:Set,SetIteratorSlice:Slice,operator==SmallList:SmallList,SmallListIterator,operator==
Ranges & iterators
ArrayIterator:ArrayIteratorByteIterator:ByteIteratorChainIterator:ChainIteratorClosedRange:ClosedRangeClosedRangeIterator:ClosedRangeIteratorEnumeratedIterator:EnumeratedIterator,EnumeratedIteratorEntryFilterIterator:FilterIteratorIterator:Iterator,all,any,noneLineIterator:LineIteratorMappedIterator:MappedIteratorRange:RangeRangeIterator:RangeIteratorRepeatIterator:RepeatIteratorStringIterator:StringIterator
Interfaces
Addable:AddableComparable:Comparable,Ordering,operator==,operator<Copyable:CopyableEquatable:Equatable,operator==Hashable:HashablePrintable:OutputStream,Printable
Input/output
FileStream:OutputFileStream,stdout,stderrstdio:println,print,join,eprint,eprintln,readLine
Math & algorithms
algorithm:max,min,minmax,swap,sort,sortBymath:abs,clamp,sin,cos,tan,asin,acos,atan,atan2,sinh,cosh,tanh,exp,exp2,log,log2,log10,pow,sqrt,cbrt,hypot,ceil,floor,trunc,round,fmod,pi,e
Memory
Arena:Arenaallocate:Allocator,Context,context,defaultAllocator,withAllocator,allocate,tryAllocate,allocateValue,tryAllocateValue,deallocatedrop:droptake:takeFrom
Errors
Filesystem & processes
fs:File.Error,File.exists,File.createDirectory,File.removeDirectory,File.remove,File.rename,File.currentDirectory,File.changeDirectory,File.read,File.write,File.size,File.listDirectorypath:Path.isSeparator,Path.splitDrive,Path.isAbsolute,Path.isRelative,Path.split,Path.dirname,Path.basename,Path.splitExtension,Path.extension,Path.stem,Path.stripExtension,Path.withExtension,Path.hasExtension,Path.isHidden,Path.join,Path.joinAll,Path.toPosixSeparators,Path.normalize,Path.relativePath,Path.componentsprocess:Process.Result,Process.getenv,Process.setenv,Process.run