From 504ce2e567717e593a516987f35cc01746ee083e Mon Sep 17 00:00:00 2001 From: Travis Shears Date: Sat, 28 Feb 2026 14:56:23 +0100 Subject: [PATCH] add some repl tips --- README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/README.md b/README.md index c582409..f3b0fd9 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,23 @@ This project is written in [Clojure](https://clojure.org/) and data is stored in $ clojure -M -m snippets.infra.api ``` +### Repl + +``` +$ rlwrap clojure +; print stuff +(clojure.pprint/pprint {:name "Alice" :age 30}) +; import modules +(require 'clojure.string) +(require '[clojure.string :as str]) +(require 'my.namespace :reload) +; list namespace contense +(dir clojure.string) +; Switch into a namespace +(in-ns 'my.namespace) +(in-ns 'user) +``` + ### How to create docker image At this point I'm using a private AWS ECR repository for the project and deploying it in my homelab.