Versions in this module Expand all Collapse all v0 v0.1.0 May 12, 2026 Changes in this version + func DecayedBytes(amount float64, t time.Time) []byte + func DecayedBytesNow(amount float64) []byte + func DecayedSum(halfLife time.Duration) monoid.Monoid[Decayed] + func DecayedSumBytes(halfLife time.Duration) monoid.Monoid[[]byte] + func EncodeDecayed(d Decayed) []byte + func EvaluateAt(d Decayed, halfLife time.Duration, t time.Time) float64 + func MapMerge[K comparable, V any](m monoid.Monoid[V]) monoid.Monoid[map[K]V] + func TupleMonoid2[A, B any](ma monoid.Monoid[A], mb monoid.Monoid[B]) monoid.Monoid[Tuple2[A, B]] + type Decayed struct + Set bool + T int64 + Value float64 + func DecayedAt(amount float64, t time.Time) Decayed + func DecayedNow(amount float64) Decayed + func DecodeDecayed(b []byte) Decayed + type Tuple2 struct + A A + B B