From 6a2cd7e8347d76e74ae7b0f8b02c0d3dd7568ef4 Mon Sep 17 00:00:00 2001 From: ven Date: Thu, 30 Nov 2023 12:02:18 +0100 Subject: [PATCH] Fix Clojure's shorthand param syntax in README Clojure doesn't use `#(^1 ^2)`, but `%(%1 %2)`. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index bd7fc03..98937a5 100644 --- a/README.md +++ b/README.md @@ -907,7 +907,7 @@ For example, `f~(?1, ?0)` would have two parameters but would switch them when c The **second approach** is with a **lazily** evaluated syntax. This could be handled with an **extension to Hack pipes**, with a syntax further inspired by -[Clojure’s `#(^1 ^2)` function literals][Clojure function literals]. +[Clojure’s `#(%1 %2)` function literals][Clojure function literals]. It would do so by **combining** the Hack pipe `|>` with the **arrow function** `=>` into a **pipe-function** operator `+>`,