Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Add explanation of weakness in hash tables #2

Closed
wants to merge 1 commit into from

2 participants

Nowhere Man Luís Oliveira
Nowhere Man

The semantics of the various possible arguments for :weakness is not obvious, so I added an explanation.

Luís Oliveira
Owner

Sorry for the delay. I wasn't getting issue notifications for this project. Commited as 26f9e6a, thanks!

Luís Oliveira luismbo closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

Apr 30, 2012
Nowhere Man kephas Explain hash table weakness options f93e949
This page is out of date. Refresh to see the latest.

Showing 1 changed file with 6 additions and 0 deletions. Show diff stats Hide diff stats

  1. +6 0 trivial-garbage.lisp
6 trivial-garbage.lisp
@@ -203,6 +203,12 @@
203 203 is to signal an error). @code{weakness} can be one of @code{:key},
204 204 @code{:value}, @code{:key-or-value}, @code{:key-and-value}.
205 205
  206 + If @code{weakness} is @code{:key} or @code{:value}, an entry is
  207 + kept as long as its key or value is reachable, respectively. If
  208 + @code{weakness} is @code{:key-or-value} or @code{:key-and-value},
  209 + an entry is kept if either or both of its key and value are
  210 + reachable, respectively.
  211 +
206 212 @code{tg::make-hash-table} is available as an alias for this
207 213 function should you wish to import it into your package and shadow
208 214 @code{cl:make-hash-table}."

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.