store timestamp - part-cw/lambdanative GitHub Wiki
(store-timestamp store id)
store-timestamp returns the timestamp when an item was last set.
Parameter | Description |
---|---|
store | The store name |
id | The id for which the timestamp is retrieved |
Example
Example 1: Create a store, set a value and retrieve both the value and its timestamp
> (define store (make-store "main"))
> (store-set! store "HR" 78)
> (store-ref store "HR")
78
> (store-timestamp store "HR")
0.