halp

package
v0.0.0-...-3cdea5b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 13, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package halp is a bunch of helpers for AOC specific debugging like printing infinite grids (map[[2]int]<T> <- Go generics will be useful here...)

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PrintInfiniteGridBools

func PrintInfiniteGridBools(m map[[2]int]bool, trueChar, falseChar string)

PrintInfiniteGridBools supports the type map[[2]int]bool

func PrintInfiniteGridStrings

func PrintInfiniteGridStrings(infiniteGrid map[[2]int]string, zeroValChar string)

PrintInfiniteGridStrings supports the type map[[2]int]string, determines the bounds of that infinite grid, and consolidates it into a string AND PRINTS IT zeroValChar should be one character, and replaces any grid coordinate NOT in the infiniteGrid

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL