unique ability KVStore a b where
get : a ->{KVStore a b} Optional b
put : a -> b ->{KVStore a b} ()
myProgram : '{KVStore Nat Nat} Text
myProgram _ =
use KVStore put
put 3 4
put 5 6
maybeFour = KVStore.get 3
Optional.map Nat.toText maybeFour
|> Optional.getOrElse "nothing here"