From 44fa0c9514acade4b7dc80be1b1a1dcd5b3b0326 Mon Sep 17 00:00:00 2001 From: Andrey Listopadov Date: Mon, 31 Oct 2022 12:47:23 +0300 Subject: fix namespace switching when using then in require-as-include scenarios --- .fenneldoc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to '.fenneldoc') diff --git a/.fenneldoc b/.fenneldoc index c905ba1..4a7d003 100644 --- a/.fenneldoc +++ b/.fenneldoc @@ -36,7 +36,7 @@ of Fennel. This library contains a set of functions providing functions that behave similarly to Clojure's equivalents. Library itself has nothing -Fennel specific so it should work on Lua, e.g: +Fennel specific, so it should work on Lua, e.g: ``` lua Lua 5.3.5 Copyright (C) 1994-2018 Lua.org, PUC-Rio @@ -48,13 +48,13 @@ Lua 5.3.5 Copyright (C) 1994-2018 Lua.org, PUC-Rio This example is mapping an anonymous `function' over a table, producing new table and concatenating it with `\" \"`. -However this library also provides Fennel-specific set of -[macros](./macros.md), that provides additional facilities like -`defn' or `defmulti' which extend the language allowing writing code -that looks and works mostly like Clojure. +However, this library also provides Fennel-specific set of +[macros](./macros.md), that provides additional facilities like `defn' +or `defmulti' which extend the language allowing writing code that +looks and works mostly like Clojure. Each function in this library is created with `defn', which is a -special macros for creating multi-arity functions. So when you see +special macro for creating multi-arity functions. So when you see function signature like `(foo [x])`, this means that this is function `foo', that accepts exactly one argument `x'. In contrary, functions created with `fn' will produce `(foo x)` signature (`x' is not inside -- cgit v1.2.3