This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns flip.core | |
(:gen-class) | |
(:require [clojure.core.matrix :as m])) | |
; a 1000 x 100 grid with random characters | |
(def grid (m/emap (fn [_] (rand-nth (seq "ABCDEFGHIJKLMNOPQRSTUVWXYZ"))) | |
(m/new-matrix 1000 100))) | |
(defn abc? [xs] | |
"consecutive A B C" |