Last active
September 7, 2021 12:19
-
-
Save PEZ/fb5992733dcee8d4e449957ed7ece7db to your computer and use it in GitHub Desktop.
Subset and Superset – Rich 4Clojure Problem 161 – See: https://github.com/PEZ/rich4clojure
This file contains 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-161 | |
(:require [hyperfiddle.rcf :refer [tests]])) | |
;; = Subset and Superset = | |
;; By 4Clojure user: hangkous | |
;; Difficulty: Elementary | |
;; Tags: [set-theory] | |
;; | |
;; Set A is a subset of set B, or equivalently B is a | |
;; superset of A, if A is "contained" inside B. A and B | |
;; may coincide. | |
(def __ :tests-will-fail) | |
(comment | |
) | |
(tests | |
__ := #{2} | |
#{1} := __ | |
__ := #{1 2} | |
#{1 2} := __) | |
;; 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
#{1 2}