Sha256: 1d960fd62d952ded198486d71370542b7f35b54552af5e5d3b05521eabdf3bdc

Contents?: true

Size: 357 Bytes

Versions: 91

Compression:

Stored size: 357 Bytes

Contents

;;; pangram.el --- Pangram (exercism)

;;; Commentary:

;;; Code:
(require 'cl-lib)

(defun is-pangram (phrase)
  "Determine if a given phrase is a pangram."
  (let ((alphabet "abcdefghijklmnopqrstuvwxyz"))
        (cl-every
         (lambda (c) (string-match-p (char-to-string c) phrase))
         alphabet)))


(provide 'pangram)
;;; pangram.el ends here

Version data entries

91 entries across 91 versions & 1 rubygems

Version Path
trackler-2.2.1.180 tracks/elisp/exercises/pangram/example.el
trackler-2.2.1.179 tracks/elisp/exercises/pangram/example.el
trackler-2.2.1.178 tracks/elisp/exercises/pangram/example.el
trackler-2.2.1.177 tracks/elisp/exercises/pangram/example.el
trackler-2.2.1.176 tracks/elisp/exercises/pangram/example.el
trackler-2.2.1.175 tracks/elisp/exercises/pangram/example.el
trackler-2.2.1.174 tracks/elisp/exercises/pangram/example.el
trackler-2.2.1.173 tracks/elisp/exercises/pangram/example.el
trackler-2.2.1.172 tracks/elisp/exercises/pangram/example.el
trackler-2.2.1.171 tracks/elisp/exercises/pangram/example.el
trackler-2.2.1.170 tracks/elisp/exercises/pangram/example.el
trackler-2.2.1.169 tracks/elisp/exercises/pangram/example.el
trackler-2.2.1.167 tracks/elisp/exercises/pangram/example.el
trackler-2.2.1.166 tracks/elisp/exercises/pangram/example.el
trackler-2.2.1.165 tracks/elisp/exercises/pangram/example.el
trackler-2.2.1.164 tracks/elisp/exercises/pangram/example.el
trackler-2.2.1.163 tracks/elisp/exercises/pangram/example.el
trackler-2.2.1.162 tracks/elisp/exercises/pangram/example.el
trackler-2.2.1.161 tracks/elisp/exercises/pangram/example.el
trackler-2.2.1.160 tracks/elisp/exercises/pangram/example.el