const runWarn = <V, R, E, W>(warn: Warn<V, W>): StateUpdate<V, R, E, W> => (
  state,
) => {
  const warnings = normalizeErrors(warn(state.values));