Skip to content

Instantly share code, notes, and snippets.

@PEZ
Last active September 7, 2021 03:45
Show Gist options
  • Select an option

  • Save PEZ/447fba2735f190ec4786a4b2cf7d5b76 to your computer and use it in GitHub Desktop.

Select an option

Save PEZ/447fba2735f190ec4786a4b2cf7d5b76 to your computer and use it in GitHub Desktop.
Intro to Lists – Rich 4Clojure Problem 4 – See: https://github.com/PEZ/rich4clojure
(ns rich4clojure.elementary.problem-004
(:require [hyperfiddle.rcf :refer [tests]]))
;; = Intro to Lists =
;; By 4Clojure user: dbyrne
;; Difficulty: Elementary
;;
;; Lists can be constructed with either a function or a
;; quoted form.
;;
;; Note: You can't redefine `__` to solve this problem.
;; You will need to replace `__` in the `(tests ...)`
;; form.
(def __ :tests-will-fail)
(comment
)
(tests
(list __) := '(:a :b :c))
;; To participate, fork:
;; https://github.com/PEZ/rich4clojure
;; Post your solution below, please!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment