Skip to content

Instantly share code, notes, and snippets.

View oezg's full-sized avatar

Özgür Yıldırım oezg

View GitHub Profile
@PEZ
PEZ / rich4clojure_elementary_problem_015.clj
Last active October 13, 2024 21:03
Double Down – Rich 4Clojure Problem 15 – See: https://github.com/PEZ/rich4clojure
(ns rich4clojure.elementary.problem-015
(:require [hyperfiddle.rcf :refer [tests]]))
;; = Double Down =
;; By 4Clojure user: dbyrne
;; Difficulty: Elementary
;;
;; Write a function which doubles a number.
(def __ :tests-will-fail)
@PEZ
PEZ / rich4clojure_elementary_problem_016.clj
Last active October 13, 2024 21:08
Hello World – Rich 4Clojure Problem 16 – See: https://github.com/PEZ/rich4clojure
(ns rich4clojure.elementary.problem-016
(:require [hyperfiddle.rcf :refer [tests]]))
;; = Hello World =
;; By 4Clojure user: dbyrne
;; Difficulty: Elementary
;;
;; Write a function which returns a personalized greeting.
(def __ :tests-will-fail)
@PEZ
PEZ / rich4clojure_easy_problem_030.clj
Last active October 28, 2024 21:56
Compress a Sequence – Rich 4Clojure Problem 30 – See: https://github.com/PEZ/rich4clojure
(ns rich4clojure.easy.problem-030
(:require [hyperfiddle.rcf :refer [tests]]))
;; = Compress a Sequence =
;; By 4Clojure user: dbyrne
;; Difficulty: Easy
;; Tags: [seqs]
;;
;; Write a function which removes consecutive duplicates
;; from a sequence.