xgqt / scheme-counter

Small counter library to use for console output, logging, etc.

Home Page:https://gitlab.com/xgqt/scheme-counter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Scheme Counter

Small counter library to use for console output, logging, etc.

About

I had a dilemma, because I wanted to include a bit more generic closure where the start value, the growth procedure and the interval could be defined by the user.

So I thought I'd as Wikipedia what to use...

meter - (noun) A device that measures things.

...so I thought the more generic function will be named make-meter

And the one that would count by increasing by one will be named make-counter.

Documentation

Counter's documentation is written in Scribble, to compile the docs you will need Racket installed.

After you have installed Racket, install this package using raco (as described below) and then run:

mkdir -p doc/html
raco scribble ++main-xref-in --html --dest ./doc/html counter.scrbl

HTML docs can then be found in doc/html directory.

Installation

Racket

raco pkg install --name counter

License

Public Domain or CC0-1.0, whichever your country accepts.

About

Small counter library to use for console output, logging, etc.

https://gitlab.com/xgqt/scheme-counter

License:Other


Languages

Language:Racket 68.6%Language:Scheme 21.4%Language:Makefile 10.0%