From a0318645ec4ed7f4bfa6ab50d0a5ee7fc67b8006 Mon Sep 17 00:00:00 2001 From: Andrey Listopadov Date: Thu, 18 Feb 2021 19:09:53 +0300 Subject: fix: add doc for set? function --- doc/cljlib.md | 4 ++-- doc/tests/test.md | 1 - init.fnl | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/doc/cljlib.md b/doc/cljlib.md index 64bd6c0..4963bf0 100644 --- a/doc/cljlib.md +++ b/doc/cljlib.md @@ -348,7 +348,7 @@ Function signature: (set? ([s])) ``` - +Test if `s` is either instance of a [`hash-set`](#hash-set) or [`ordered-set`](#ordered-set). ## `nil?` Function signature: @@ -1009,7 +1009,7 @@ Function signature: (dissoc ([tbl]) ([tbl key]) ([tbl key & keys])) ``` -Remove `key` from table `tbl`. Optionally takes more [`keys`](#keys). +Remove `key` from table `tbl`. Optionally takes more `keys`. ## `remove-method` Function signature: diff --git a/doc/tests/test.md b/doc/tests/test.md index c656f3b..2f5f87a 100644 --- a/doc/tests/test.md +++ b/doc/tests/test.md @@ -1,6 +1,5 @@ # Test.fnl - **Table of contents** - [`deftest`](#deftest) diff --git a/init.fnl b/init.fnl index 2ccbef2..da55414 100644 --- a/init.fnl +++ b/init.fnl @@ -270,7 +270,7 @@ from `macros.fnl'." (= (. (or (getmetatable mf) {}) :cljlib/type) :multifn)) (fn* core.set? - "" + "Test if `s` is either instance of a `hash-set' or `ordered-set'." [s] (match (. (or (getmetatable s) {}) :cljlib/type) :cljlib/ordered-set :cljlib/ordered-set -- cgit v1.2.3