From bcb4e176c643ef1df10c1e688c4a988e35f408b9 Mon Sep 17 00:00:00 2001 From: Mark Sto Date: Sun, 4 Feb 2024 22:47:21 +0400 Subject: [PATCH 1/2] Update README.md with the newest version Just bumped up the version in the README file. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index bce6e12..03339a8 100644 --- a/README.md +++ b/README.md @@ -8,12 +8,12 @@ Potemkin is a collection of facades and workarounds for things that are more dif ##### Leiningen ```clojure -[potemkin "0.4.6"] +[potemkin "0.4.7"] ``` ##### deps.edn ```clojure -potemkin/potemkin {:mvn/version "0.4.6"} +potemkin/potemkin {:mvn/version "0.4.7"} ``` ### `import-vars` From efef587a40ce42db34ab15ccab90c1dda7153ce8 Mon Sep 17 00:00:00 2001 From: Mark Sto Date: Tue, 6 Feb 2024 16:00:00 +0400 Subject: [PATCH 2/2] Fix typos --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 03339a8..7021d9f 100644 --- a/README.md +++ b/README.md @@ -106,11 +106,11 @@ This abstract type may be used within the body of `deftype+`, which is just like A drop in replacement for `defprotocol` that is more REPL-friendly. A protocol created with Clojure's `defprotocol` always creates new instance at load time. -If a protocol is reloaded, a `defrecord` in another namespace that is referencing the procotol will not automatically be updated to the new protocol instance. +If a protocol is reloaded, a `defrecord` in another namespace that is referencing the protocol will not automatically be updated to the new protocol instance. One telltale symptom of this disconnect can be a `No implementation of method` exception when calling record methods. -Potemkin's `defprotocol+` improves the REPL experience by only creating a new instance of a protocol if the procotol body has changed. +Potemkin's `defprotocol+` improves the REPL experience by only creating a new instance of a protocol if the protocol body has changed. ### `definterface+`