whole_func_string: function clear(timer){
    log('stop');
    timer.state.intervalTimer = clearInterval(timer.state.intervalTimer);
    timer.state.retryCounter.clear();
    return timer;
  }
func_code_string: function clear(timer){
    log('stop');
    timer.state.intervalTimer = clearInterval(timer.state.intervalTimer);
    timer.state.retryCounter.clear();
    return timer;
  }
func_documentation_string: a timer: a -> a