def Slots.put
import bend-kit-migrate@0.3.0.0/migrate.bend as Migrateimport Base
import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes
414def Slots.put(m: Maybe<&2, Key>, k: Bytes.Bytes, x: Scalar, s: Slots) -> Result<&1, &1, Error, Slots>:
415 match m:
416 case Some{key}:
417 Slots.set(key, x, s)
418 case None{}:
419 Fail{Unknown{k}}