Package-level declarations

Types

Link copied to clipboard
object Colors

A nice, web-compatible color palette. Based on Colors.

Link copied to clipboard
class FreshNameGenerator(initialNames: Set<String>)

Generates distinct names. Never generates the same name twice.

Link copied to clipboard

A queue implementation that keeps only one copy of each element.

Functions

Link copied to clipboard
Link copied to clipboard
fun <R> KLogger.duration(operationName: String, operation: () -> R): R

Calls operation and returns the result. Additionally, logs its running time using KLogger.info.

Link copied to clipboard

Number of grapheme clusters (i.e. user-perceived characters) in the string.

Link copied to clipboard
fun <K, V> Iterable<Map<K, V>>.unions(): Map<K, V>

Returns the union of all given maps.

fun <T> Iterable<Set<T>>.unions(): Set<T>

Returns the union of all given sets.

Properties

Link copied to clipboard

A regular expression that recognizes Unicode line breaks.