Function: 5x5-row-value

5x5-row-value is a byte-compiled function defined in 5x5.el.gz.

Signature

(5x5-row-value ROW)

Documentation

Get the "on-value" for grid row ROW.

Source Code

;; Defined in /usr/src/emacs/lisp/play/5x5.el.gz
(defun 5x5-row-value (row)
  "Get the \"on-value\" for grid row ROW."
  (cl-loop for y from 0 to (1- 5x5-grid-size) sum (if (aref row y) 1 0)))