view 6-Clojure/big.clj @ 79:29025305bbb7

Add notes and exercises from Day 1 of Clojure
author IBBoard <dev@ibboard.co.uk>
date Sat, 01 Jun 2019 20:10:59 +0100
parents
children
line wrap: on
line source

(defn big [st n]
    "Returns true if string 'st' is longer than 'n' characters"
    (> (count st) n)
)
(println (big "hello" 5))
(println (big "hello" 4))