Data update
This commit is contained in:
parent
796d366b97
commit
35bcdeebf8
504 changed files with 7045 additions and 610 deletions
|
|
@ -1,8 +1,11 @@
|
|||
(var find-idx #(when (let found (find % %1)) (idx %1 found)))
|
||||
(function in-block? c (when (let block-idx (find-idx (substr? (upper-case c)) rem-blocks)) (var! rem-blocks drop block-idx)))
|
||||
(function in-block? c
|
||||
(when (let block-idx (find-idx (substr? (upper-case c)) rem-blocks))
|
||||
(var! rem-blocks drop block-idx)))
|
||||
|
||||
(function can-make-word word
|
||||
(var rem-blocks ["BO" "XK" "DQ" "CP" "NA" "GT" "RE" "TG" "QD" "FS" "JW" "HU" "VI" "AN" "OB" "ER" "FS" "LY" "PC" "ZM"])
|
||||
(.. and (map in-block? word)))
|
||||
|
||||
(join ", " (map #(str % " => " (can-make-word %)) ["A" "bark" "Book" "TREAT" "Common" "squaD" "CoNFuSe"])) ; Notice case insensitivity
|
||||
(-> ["A" "bark" "Book" "TREAT" "Common" "squaD" "CoNFuSe"] ; Notice case insensitivity
|
||||
(map #(str % " => " (can-make-word %)))
|
||||
(join ", "))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue