Last active
September 6, 2021 16:42
-
-
Save PEZ/0431a32b7520fbb82264004059a32d90 to your computer and use it in GitHub Desktop.
Simple Math – Rich 4Clojure Problem 2 – See: https://github.com/PEZ/rich4clojure
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (ns rich4clojure.elementary.problem-002 | |
| (:require [hyperfiddle.rcf :refer [tests]])) | |
| ;; = Simple Math = | |
| ;; By 4Clojure user: dbyrne | |
| ;; Difficulty: Elementary | |
| ;; | |
| ;; If you are not familiar with polish (prefix) notation, | |
| ;; simple arithmetic might seem confusing. | |
| ;; | |
| ;; Note: Enter only enough to fill in the blank (in this | |
| ;; case, a single number) - do not retype the whole | |
| ;; problem. | |
| (def __ :tests-will-fail) | |
| (comment | |
| ) | |
| (tests | |
| (- 10 (* 2 3)) := __) | |
| ;; 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
Solution: 4