From: Kevin M. Rosenberg Date: Mon, 20 Jun 2011 22:03:01 +0000 (-0600) Subject: Merge branch 'master' of ssh://git.b9.com/home/gitpub/kmrcl X-Git-Tag: v1.104 X-Git-Url: http://git.kpe.io/?p=kmrcl.git;a=commitdiff_plain;h=6f648fded1f0eca5c58f4ba5f472f02b5b87f57b;hp=c75067c8a9cb10b8c0d1f39c6fa6cafabea0a6f8 Merge branch 'master' of ssh://git.b9.com/home/gitpub/kmrcl --- diff --git a/hash.lisp b/hash.lisp new file mode 100644 index 0000000..98e9439 --- /dev/null +++ b/hash.lisp @@ -0,0 +1,24 @@ +;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; Base: 10 -*- +;;;; ************************************************************************* +;;;; FILE IDENTIFICATION +;;;; +;;;; Name: hash.lisp +;;;; Purpose: Hash functions for KMRCL package +;;;; Programmer: Kevin M. Rosenberg +;;;; Date Started: Apr 2000 +;;;; +;;;; This file, part of KMRCL, is Copyright (c) 2002-2011 by Kevin M. Rosenberg +;;;; +;;;; KMRCL users are granted the rights to distribute and use this software +;;;; as governed by the terms of the Lisp Lesser GNU Public License +;;;; (http://opensource.franz.com/preamble.html), also known as the LLGPL. +;;;; ************************************************************************* + + +(in-package #:kmrcl) + +;;; hashs + +(defun print-hash (h &optional (stream *standard-output*)) + (maphash #'(lambda (k v) (format stream "~S -> ~S~%" k v)) h) + h)