The sieve of Sundaram: Difference between revisions

m
Line 524:
 
 
// table :: Int -> String -> [[String]] -> String
const table = colCountnCols =>
// A tabulation of rowsa list of string values, into a given
// withnumber of columns, using a specified gap between columns.
// between those columns.
gap => xs => {
const w = xs[xs.length - 1].length;
 
return chunksOf(colCountnCols)(xs)
.map(
row => row.map(
9,655

edits