package knights_tour

  1. Overview
  2. Docs

Source file util.ml

1
2
3
let rec with_separator str sep = function
  | [] -> ""
  | x::y::ys -> str x ^ sep ^ with_separator str sep (y::ys)
  | [x] -> str x