package.lisp @ 491cb9e15096

Merge.
author Steve Losh <steve@stevelosh.com>
date Fri, 13 Dec 2019 13:51:53 -0500
parents 32db20d16280
children 03d0cc3a648f
(defpackage :advent
  (:use :cl :losh :iterate :advent.quickutils)
  (:export
    :define-problem

    :read-all
    :read-lines
    :read-lines-of-words
    :read-lines-of-numbers-and-garbage
    :read-numbers
    :read-numbers-from-string
    :read-comma-separated-values
    :read-2d-array
    :read-before
    :read-to

    :ensure-string
    :ensure-stream
    :ensure-keyword

    :returning

    :char-invertcase
    :emptyp
    :extremum+
    :extremums
    :hamming-distance
    :hash-table=
    :integral-range
    :manhattan-distance
    :manhattan-neighbors
    :x
    :y
    :nth-digit
    :unique
    :positions-if
    :digits
    :fresh-vector
    :first-character
    :let-result
    :let-complex
    :queue-thunk
    :bounds
    :draw-bitmap

    :bytes->hex
    :bytes->integer

    :ring
    :ring-prev
    :ring-next
    :ring-data
    :map-ring
    :do-ring
    :ring-find
    :ring-list
    :ring-length
    :ring-move
    :ring-insert-after
    :ring-insert-before
    :ring-findf
    :ring-cutf
    :ring-prevf
    :ring-nextf
    :ring-cutf
    :ring-movef
    :ring-insertf-after
    :ring-insertf-before

    :astar

    ))

(eval-when (:compile-toplevel :load-toplevel :execute)
  (defparameter *advent-use* '(:use :cl :losh :iterate :advent :advent.quickutils)))