This folder contains built-in recipes. Recipes are essentially Clojure source files that (if you were to load it via the CLI: deps-try --recipe builtin/recipe
) gets chopped up in individual expressions that get front-loaded in the REPL's history.
This allows someone to step through code by just continuously selecting the most recent item from the REPL history.
A recipe can denote libraries as dependencies which will then be put on the classpath when loading the recipe.
Recipes can in this way be used as tutorials, bug reports, or as snippets to quickly jump into a domain with the right dependencies, ns-aliases and helper-functions.
# --refresh ensures latest manifest-file is loaded
$ deps-try-dev recipes [--refresh]
name title
────────────────────── ─────────────────────────────────────────────────────────────────────────────────────
deps-try/recipes Introducing recipes
malli/malli-select Introduction to malli-select, a library for spec2-inspired selection of Malli-schemas
next-jdbc/intro-sqlite A next-jdbc introduction using SQLite
portal/intro Introduction to portal, a Clojure tool to navigate data
If you have suggestions for (new) recipes: PRs are welcome!
Builtin recipe:
$ deps-try --recipe deps-try/recipes
Non built-in recipe
# url
$ deps-try --recipe https://gist.github.com/eval/ee80ebddaa120a7732396cea8cfc96da/raw
# local recipe
$ deps-try --recipe ./path/to/recipe.clj
All files in this folder are licensed under CC BY 4.0