From 40d59c9495f7a33752de314efd297faa9ab9e745 Mon Sep 17 00:00:00 2001 From: PROMETHIA-27 <42193387+PROMETHIA-27@users.noreply.github.com> Date: Sun, 3 Nov 2024 17:24:16 -0500 Subject: [PATCH] Replace "Clojure" with "Closure" **Clojure** is a language that runs on the JVM and CLR in the lisp family. **Closure** is when a lambda expression/anonymous function/closure "closes over"/captures variables in its environment/context, allowing anything in scope to be referred to in the function. --- documentation/optimizations/pass-on-data.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/documentation/optimizations/pass-on-data.md b/documentation/optimizations/pass-on-data.md index 2b9f505..faab89e 100644 --- a/documentation/optimizations/pass-on-data.md +++ b/documentation/optimizations/pass-on-data.md @@ -4,11 +4,11 @@ description: How do I actually pass data to the commands that I issue to my enti # Pass on data -## Clojure +## Closure Look, we have an intruder here! It's time to send our army there to eliminate the threat. But how do we even do that? -The easiest way is to transfer the value directly to the [query](../query.md). This is called **Clojure**. It is simple, but not particularly efficient. For most purposes, however, it will suffice. +The easiest way is to transfer the value directly to the [query](../query.md). This is called **Closure**. It is simple, but not particularly efficient. For most purposes, however, it will suffice.
var intruderPosition = DetectIntruder();
 World.Query(in queryDesc, (ref Position pos, ref Velocity vel) => {