Created
January 3, 2017 21:30
-
-
Save devstopfix/59d77f6d49383b95e09f8b9e8197bcb8 to your computer and use it in GitHub Desktop.
Dinosaur names - Planck
This file contains hidden or 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 words | |
(:require [planck.core :refer [slurp]] | |
[clojure.string :refer [split-lines upper-case]])) | |
(def dinosaurs | |
(->> "/usr/share/dict/words" | |
(slurp) | |
(split-lines) | |
(map upper-case) | |
(filter #(re-find #"AURUS$" %)))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Moved