Versions in this module Expand all Collapse all v1 v1.0.0 Dec 2, 2021 Changes in this version + func ClearHistory() + func Evaluate(in string) (float64, error) + type FloatStack struct + Pos int + Slice []float64 + func NewFloatStack() *FloatStack + func (s *FloatStack) Pop() (float64, error) + func (s *FloatStack) Push(a float64) + func (s *FloatStack) Top() (float64, error) + type StringStack struct + Pos int + Slice []string + func NewStringStack() *StringStack + func (s *StringStack) Pop() (string, error) + func (s *StringStack) Push(a string) + func (s *StringStack) SafePop() string + func (s *StringStack) SafeTop() string + func (s *StringStack) Top() (string, error)