The separator element.
The joined list.
import { empty, fromString, intersperse, toString } from "./list.ts";
import { assertEquals } from "../deps.ts";
assertEquals(intersperse(0)(empty()), empty());
assertEquals(toString(intersperse(" ")(fromString("hoge"))), "h o g e");
Generated using TypeDoc
Joins the
sep
separator among the elements of list.