Skip to content

Commit 0564097

Browse files
author
Ivan Shamshurin
committed
working pangram
1 parent fee87e0 commit 0564097

1 file changed

Lines changed: 11 additions & 2 deletions

File tree

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11
(ns otus-02.homework.pangram
2-
(:require [clojure.string :as string]))
2+
(:require [otus-02.homework.palindrome :as pal]))
33

4+
(def alphabet-count 26)
45

5-
(defn is-pangram [test-string])
6+
(defn is-pangram [test-string]
7+
(-> test-string
8+
(pal/transform-string)
9+
(set)
10+
(count)
11+
(== alphabet-count)))
612

13+
(comment
14+
(is-pangram "The quick brown fox jumps over the lazy dog")
15+
)

0 commit comments

Comments
 (0)