The mnas-hash-table Reference Manual

Table of Contents

Next: , Previous: , Up: (dir)   [Contents][Index]

The mnas-hash-table Reference Manual

This is the mnas-hash-table Reference Manual, version 0.1.0, generated automatically by Declt version 3.0 "Montgomery Scott" on Mon Apr 19 17:06:35 2021 GMT+0.


Next: , Previous: , Up: Top   [Contents][Index]

1 Introduction

#+options: ':nil *:t -:t ::t <:t H:3 \n:nil ^:t arch:headline
#+options: author:t broken-links:nil c:nil creator:nil
#+options: d:(not "LOGBOOK") date:t e:t email:nil f:t inline:t num:t
#+options: p:nil pri:nil prop:nil stat:t tags:t tasks:t tex:t
#+options: timestamp:t title:t toc:t todo:t |:t
#+title: README
#+date: <2021-01-29 Пт>
#+author:
#+email: mnasoft@gmail.com
#+language: en
#+select_tags: export
#+exclude_tags: noexport
#+creator: Emacs 27.1 (Org mode 9.3)
#+options: html-link-use-abs-url:nil html-postamble:auto
#+options: html-preamble:t html-scripts:t html-style:t
#+options: html5-fancy:nil tex:t
#+html_doctype: xhtml-strict
#+html_container: div
#+description:
#+keywords:
#+html_link_home:
#+html_link_up:
#+html_mathjax:
#+html_head:
#+html_head_extra:
#+subtitle:
#+infojs_opt:
#+creator: Emacs 27.1 (Org mode 9.3)
#+latex_header:

System *MNAS-HASH-TABLE* defines some functions for working with hash tables.


Next: , Previous: , Up: Top   [Contents][Index]

2 Systems

The main system appears first, followed by any subsystem dependency.


Previous: , Up: Systems   [Contents][Index]

2.1 mnas-hash-table

Author

Nick Matvyeyev <mnasoft@gmail.com>

License

GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 or later

Description

System @b(mnas-hash-table) defines some functions for working with hash tables.

Version

0.1.0

Source

mnas-hash-table.asd (file)

Component

src (module)


Next: , Previous: , Up: Top   [Contents][Index]

3 Modules

Modules are listed depth-first from the system components tree.


Previous: , Up: Modules   [Contents][Index]

3.1 mnas-hash-table/src

Parent

mnas-hash-table (system)

Location

src/

Component

mnas-hash-table.lisp (file)


Next: , Previous: , Up: Top   [Contents][Index]

4 Files

Files are sorted by type and then listed depth-first from the systems components trees.


Previous: , Up: Files   [Contents][Index]

4.1 Lisp


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.1 mnas-hash-table.asd

Location

mnas-hash-table.asd

Systems

mnas-hash-table (system)


Previous: , Up: Lisp files   [Contents][Index]

4.1.2 mnas-hash-table/src/mnas-hash-table.lisp

Parent

src (module)

Location

src/mnas-hash-table.lisp

Packages

mnas-hash-table

Exported Definitions

Next: , Previous: , Up: Top   [Contents][Index]

5 Packages

Packages are listed by definition order.


Previous: , Up: Packages   [Contents][Index]

5.1 mnas-hash-table

@b(Описание:) пакет @b(mnas-hash-table) определяет некоторые функции для работы с хеш-таблицами.

Пакет содержит следующие применимые к хеш-таблицам функции: @begin(list)
@item(populate - наполнения элементами;)
@item(to-list - преобразования в список;) @item(print-items - вывода элементов в поток;) @item(hash-table-copy - копирования.)
@end(list)

Source

mnas-hash-table.lisp (file)

Use List

common-lisp

Exported Definitions

Next: , Previous: , Up: Top   [Contents][Index]

6 Definitions

Definitions are sorted by export status, category, package, and then by lexicographic order.


Previous: , Up: Definitions   [Contents][Index]

6.1 Exported definitions


Previous: , Up: Exported definitions   [Contents][Index]

6.1.1 Functions

Function: hash-table-copy HASH-TABLE

@b(Описание:) функция @b(hash-table-copy) возвращает копию хеш-таблицы @b(hash-table).

@b(Пример использования:)
@begin[lang=lisp](code)
(let* ((ht-1 (populate (make-hash-table) ’((1 2 3)(4 5 6)(7 8 9)) 1 2)) (ht-2 (hash-table-copy ht-1)))
(list (eq ht-1 ht-2)
(equal ht-1 ht-2)
(equalp ht-1 ht-2)
(to-list ht-1)
(to-list ht-2)))
@end(code)

Package

mnas-hash-table

Source

mnas-hash-table.lisp (file)

Function: populate HASH-TABLE 2D-LIST KEY-INDEX VALUE-INDEX

@b(Описание:) функция @b(populate) добавляет в хеш-таблицу @b(hash-table) элементы, находящиеся в таблице @b(2d-list) в качестве ключей используются элементы, находящиеся в позиции @b(key-index) в качестве значений используются элементы, находящиеся в позиции @b(value-index).

@b(Пример использования:)
@begin[lang=lisp](code)
(print-items
(populate (make-hash-table :test #’equal)
’(("key_1" "val_1" "Vval_1")
("key_2" "val_2" "Vval_2")
("key_3" "val_3" "Vval_3")
("key_4" "val_4" "Vval_4"))
0 2)) =>
"key_1" "Vval_1"
"key_2" "Vval_2"
"key_3" "Vval_3"
"key_4" "Vval_4"
@end(code)

Package

mnas-hash-table

Source

mnas-hash-table.lisp (file)

Function: print-items HASH-TABLE &key STREAM FIELD-FORMAT FIELD-SEPARATOR LINE-SEPARATOR

@b(Описание:) функция @b(print-items) выводит содержимое хеш-таблицы @b(hash-table) в поток @b(stream).

@b(Пример использования:)
@begin[lang=lisp](code)
(print-items
(populate (make-hash-table :test #’equal)
’(("key_1" "val_1" "Vval_1")
("key_2" "val_2" "Vval_2")
("key_3" "val_3" "Vval_3")
("key_4" "val_4" "Vval_4"))
0 2))
@end(code)

Package

mnas-hash-table

Source

mnas-hash-table.lisp (file)

Function: to-list HASH-TABLE

@b(Описание:) функция @b(to-list) возвращает 2d-список, каждый элемент которо содержажит ключ и значение, соответствующих элементов, содержащихся в хеш-таблице @b(hash-table).

@b(Пример использования:) @begin[lang=lisp](code)
(to-list (populate (make-hash-table) ’((1 2 3)(4 5 6)(7 8 9)) 1 2)) @end(code)

Package

mnas-hash-table

Source

mnas-hash-table.lisp (file)


Previous: , Up: Top   [Contents][Index]

Appendix A Indexes


Next: , Previous: , Up: Indexes   [Contents][Index]

A.1 Concepts

Jump to:   F   L   M  
Index Entry  Section

F
File, Lisp, mnas-hash-table.asd: The mnas-hash-table․asd file
File, Lisp, mnas-hash-table/src/mnas-hash-table.lisp: The mnas-hash-table/src/mnas-hash-table․lisp file

L
Lisp File, mnas-hash-table.asd: The mnas-hash-table․asd file
Lisp File, mnas-hash-table/src/mnas-hash-table.lisp: The mnas-hash-table/src/mnas-hash-table․lisp file

M
mnas-hash-table.asd: The mnas-hash-table․asd file
mnas-hash-table/src: The mnas-hash-table/src module
mnas-hash-table/src/mnas-hash-table.lisp: The mnas-hash-table/src/mnas-hash-table․lisp file
Module, mnas-hash-table/src: The mnas-hash-table/src module

Jump to:   F   L   M  

Next: , Previous: , Up: Indexes   [Contents][Index]

A.2 Functions

Jump to:   F   H   P   T  
Index Entry  Section

F
Function, hash-table-copy: Exported functions
Function, populate: Exported functions
Function, print-items: Exported functions
Function, to-list: Exported functions

H
hash-table-copy: Exported functions

P
populate: Exported functions
print-items: Exported functions

T
to-list: Exported functions

Jump to:   F   H   P   T  

Next: , Previous: , Up: Indexes   [Contents][Index]

A.3 Variables


Previous: , Up: Indexes   [Contents][Index]

A.4 Data types

Jump to:   M   P   S  
Index Entry  Section

M
mnas-hash-table: The mnas-hash-table system
mnas-hash-table: The mnas-hash-table package

P
Package, mnas-hash-table: The mnas-hash-table package

S
System, mnas-hash-table: The mnas-hash-table system

Jump to:   M   P   S