Index

Classes

Collection is a wrapper around Array with utility functions for common operations.

Acts as a Map<T, number> internally and counts the number of times a key is added.

Functions

Creates a collection of chars from given string.

f
Coll

Creates a new collection.

Creates a collection of given length with items generated by given function.

f
main

Utility to create boilerplate files for a puzzle day.

f
map

Helps mapping an array inside a pipe

f
pipe

Allows to pipe results of functions into each other

Creates iterator over given 2D Collection, yielding [value, x, y] tuples.

Type Aliases

Wrapper type for 2D collections.