An OTP library
Erlang library for ts-klassen projects.
Used by
- ts-klassen/jobpq job priority queue
- ts-klassen/ghwhk Github app webhook for erlang
- ts-klassen/gpte Openai ChatGPT for Erlang
$ rebar3 compile
rebar.config
{deps, [
{klsn, {git, "https://github.com/ts-klassen/klsn.git", {tag, "1.0.0"}}}
]}.
-type maybe(Value) :: {value, Value} | none.
-spec lookup(key(), map()) -> klsn:maybe(term()).
-spec upsert(key(), term(), map()) -> map().