S-expressions: Difference between revisions
m
→JavaScript :: Functional
Line 3,693:
const quoteTokens = q =>
// Alternating unquoted and quoted segments.
s => s.split(q).
(k, i) => even(i) ? (
Boolean(k) ? (
) : [`${q}${k}${q}`]▼
);
Line 3,833 ⟶ 3,835:
// of f to the seed value x, terminating when
// that result returns true for the predicate p.
f
x
) : go(f(x));
▲ v = f(v);
▲ }
▲ return v;
};
|