[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnunet-scheme] 06/12: doc/bytevector-slices: Document the predicates.
From: |
gnunet |
Subject: |
[gnunet-scheme] 06/12: doc/bytevector-slices: Document the predicates. |
Date: |
Mon, 12 Sep 2022 18:49:06 +0200 |
This is an automated email from the git hooks/post-receive script.
maxime-devos pushed a commit to branch master
in repository gnunet-scheme.
commit 75b8a7e07b6830d4cdb2d6fc94741c2bff366b9b
Author: Maxime Devos <maximedevos@telenet.be>
AuthorDate: Sun Sep 11 18:33:39 2022 +0200
doc/bytevector-slices: Document the predicates.
* doc/bytevector-slices.tm (Predicates): New section.
---
doc/bytevector-slices.tm | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/doc/bytevector-slices.tm b/doc/bytevector-slices.tm
index 09f7936..a5d620c 100644
--- a/doc/bytevector-slices.tm
+++ b/doc/bytevector-slices.tm
@@ -92,6 +92,24 @@
<scm|(make-slice/read-write <var|length>)><index|make-slice/read-write>
</explain|Make a fresh, zero-initialised, read-write slice, of length
<var|length>.>
+
+ <section|Predicates>
+
+ <\explain>
+ <scm|(slice? <var|object>)>
+ <|explain>
+ Return <scm|#true> if <var|object> is a slice, <scm|#false> otherwise.
+ </explain>
+
+ <\explain>
+ <scm|(slice-readable? <var|slice>)>
+ </explain|Return <scm|#true> if the slice <var|slice> is readable,
+ <scm|#false> otherwise.>
+
+ <\explain>
+ <scm|(slice-writable? <var|slice>)>
+ </explain|Return <scm|#true> if the slice <var|slice> is writable,
+ <scm|#false> otherwise.>
</body>
<\initial>
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [gnunet-scheme] branch master updated (58b0a65 -> c0c1dff), gnunet, 2022/09/12
- [gnunet-scheme] 12/12: tests/distributed-hash-table: Skip a to-be-investigated hanging test., gnunet, 2022/09/12
- [gnunet-scheme] 07/12: doc/bytevector-slices: Document types supported by bytevector slices., gnunet, 2022/09/12
- [gnunet-scheme] 02/12: doc: Document how to construct bytevector slices., gnunet, 2022/09/12
- [gnunet-scheme] 05/12: bv-slice: Add slice-slice to the index., gnunet, 2022/09/12
- [gnunet-scheme] 01/12: bv-slice: Define read-only and write-only variants of bv-slice/read-write., gnunet, 2022/09/12
- [gnunet-scheme] 03/12: bv-slice: Use new bv-slice/read-only bv-slice/write-only where appropriate., gnunet, 2022/09/12
- [gnunet-scheme] 06/12: doc/bytevector-slices: Document the predicates.,
gnunet <=
- [gnunet-scheme] 11/12: Merge branch 'bytevector-slices', gnunet, 2022/09/12
- [gnunet-scheme] 04/12: bv-slice: Test capabilities of bv-slice/..., gnunet, 2022/09/12
- [gnunet-scheme] 08/12: doc/bytevector-slices: Document slice-X-ref and slice-X-set!., gnunet, 2022/09/12
- [gnunet-scheme] 10/12: NEWS: Mention the new bytevector slices documentation., gnunet, 2022/09/12
- [gnunet-scheme] 09/12: doc/bytevector-slices: Document slice-X-ref and slice-X-set! more., gnunet, 2022/09/12