Sha256: 4d220beea03f492cb69ca9da36ec87a3b93e9fe53c7b91e8035396401e4f3447
Contents?: true
Size: 349 Bytes
Versions: 396
Compression:
Stored size: 349 Bytes
Contents
(defmodule series (export (from-string 2))) (defun from-string (width string) (rows (length string) width string)) (defun rows ([length width (= (cons _head tail) string)] (when (> length width)) (let ((`#(,row ,_rest) (lists:split width string))) (cons row (rows (- length 1) width tail)))) ([_length _width string] `(,string)))
Version data entries
396 entries across 396 versions & 1 rubygems