History variables: Difference between revisions

m
Corrected a typo.
(added Arturo)
m (Corrected a typo.)
Line 1,754:
hist: seq[T]
 
ffuncfunc initHistoryVar[T](value: T = T.default): HistoryVar[T] =
## Initialize a history variable with given value.
result.hist.add value
256

edits