Skip to content

Instantly share code, notes, and snippets.

@iantruslove
Last active May 25, 2018 18:43
Show Gist options
  • Save iantruslove/a912694160728b4f1e9a1cd3722291b0 to your computer and use it in GitHub Desktop.
Save iantruslove/a912694160728b4f1e9a1cd3722291b0 to your computer and use it in GitHub Desktop.
(ns specfoo.core
(:require [clojure.spec.gen.alpha :as gen]
[clojure.spec.alpha :as s]))
(distinct (remove coll? (gen/sample (s/gen any?) 100)))
(defproject specfoo "0.1.0-SNAPSHOT"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.9.0"]
[org.clojure/spec.alpha "0.1.143"]
[org.clojure/test.check "0.10.0-alpha2"]])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment