Module misc

Procs

proc toCounter*[T](values: Iterable[T]): CountTable[T]
  Source Edit
proc keys*[A, B](s: Table[A, B]): Iterator[A]
  Source Edit
proc default*[T](t: typedesc[T]): T
  Source Edit
proc initTable*[K, V](t: var Table[K, V])
  Source Edit
proc newTable*[K, V](t: var ref Table[K, V])
  Source Edit
proc flatMap*[T](o: Option[T]; f: proc (t: T): Option[T]): Option[T]
  Source Edit
proc map*[T](o: Option[T]; f: proc (t: T): T): Option[T]
  Source Edit
proc split2*(s: string; sep: string): tuple[k: string, v: string]
  Source Edit