From mantoniotti at common-lisp.net Fri Dec 28 10:14:56 2012 From: mantoniotti at common-lisp.net (CVS User mantoniotti) Date: Fri, 28 Dec 2012 02:14:56 -0800 Subject: [cl-enumeration-cvs] CVS enumerations/docs/html Message-ID: Update of /project/cl-enumeration/cvsroot/enumerations/docs/html In directory tiger.common-lisp.net:/tmp/cvs-serv14580 Modified Files: concepts.html current-function.html downloads.html enumerate-function.html enumerations-dictionary.html enumerations-package.html foreach-macro.html has-next-function.html has-previous-function.html index.html next-function.html previous-function.html range-function.html reset-function.html Added Files: links.html Log Message: Added missing file 'links.html', fixed several broken links, updated copyright notices. --- /project/cl-enumeration/cvsroot/enumerations/docs/html/concepts.html 2005/03/09 18:18:02 1.1.1.1 +++ /project/cl-enumeration/cvsroot/enumerations/docs/html/concepts.html 2012/12/28 10:14:56 1.2 @@ -147,7 +147,7 @@ - + @@ -184,7 +184,7 @@
-

News

+
@@ -209,7 +211,7 @@ --- /project/cl-enumeration/cvsroot/enumerations/docs/html/current-function.html 2005/03/10 17:57:32 1.1 +++ /project/cl-enumeration/cvsroot/enumerations/docs/html/current-function.html 2012/12/28 10:14:56 1.2 @@ -14,8 +14,9 @@ CL Enumerations: Standard Generic Function CURRENT @@ -109,7 +110,7 @@
-

News

+ +
@@ -135,7 +137,7 @@ --- /project/cl-enumeration/cvsroot/enumerations/docs/html/downloads.html 2005/03/10 16:50:58 1.5 +++ /project/cl-enumeration/cvsroot/enumerations/docs/html/downloads.html 2012/12/28 10:14:56 1.6 @@ -64,7 +64,7 @@ -

Site Map

+ @@ -99,7 +100,7 @@
-

News

+
@@ -126,7 +127,7 @@ --- /project/cl-enumeration/cvsroot/enumerations/docs/html/enumerate-function.html 2005/03/09 18:18:02 1.1.1.1 +++ /project/cl-enumeration/cvsroot/enumerations/docs/html/enumerate-function.html 2012/12/28 10:14:56 1.2 @@ -14,8 +14,9 @@ CL Enumerations: Standard Generic Function ENUMERATE @@ -238,7 +239,7 @@
-

News

+
@@ -264,7 +265,7 @@ --- /project/cl-enumeration/cvsroot/enumerations/docs/html/enumerations-dictionary.html 2005/03/09 18:18:02 1.1.1.1 +++ /project/cl-enumeration/cvsroot/enumerations/docs/html/enumerations-dictionary.html 2012/12/28 10:14:56 1.2 @@ -14,8 +14,8 @@ CL Extensions: ENUMERATIONS Dictionary @@ -58,6 +58,7 @@ ;;; will not be held liable etc etc etc etc etc. --> + @@ -85,7 +86,7 @@
-

News

+
@@ -114,7 +115,7 @@ --- /project/cl-enumeration/cvsroot/enumerations/docs/html/enumerations-package.html 2005/03/09 18:18:02 1.1.1.1 +++ /project/cl-enumeration/cvsroot/enumerations/docs/html/enumerations-package.html 2012/12/28 10:14:56 1.2 @@ -14,8 +14,9 @@ CL Enumerations: Package COMMON-LISP.EXTENSIONS.DATA-AND-CONTROL-FLOW.ENUMERATIONS @@ -77,12 +78,12 @@ order to appease ACL Modern mode.
  • The actual package name is - "ORG.NTUNIOTT.COMMON-LISP.EXTENSIONS.DATA-AND-CONTROL-FLOW.ENUMERATIONS". + "IT.UNIMIB.DISCO.MA.COMMON-LISP.EXTENSIONS.DATA-AND-CONTROL-FLOW.ENUMERATIONS". The "name" "COMMON-LISP.EXTENSIONS.DATA-AND-CONTROL-FLOW.ENUMERATIONS" is actually a nickname. You can re-implement the whole package with - similar interfaces and using the same nickname but different package - name. That way most CL implementations will complain is they see + similar interfaces using the same nickname but a different package + name. That way most CL implementations will complain if they see two different implementations of "COMMON-LISP.EXTENSIONS.DATA-AND-CONTROL-FLOW.ENUMERATIONS" in their running image.
  • @@ -101,7 +102,7 @@
    -

    News

    + +
    @@ -127,7 +129,7 @@ --- /project/cl-enumeration/cvsroot/enumerations/docs/html/foreach-macro.html 2005/03/09 18:18:02 1.1.1.1 +++ /project/cl-enumeration/cvsroot/enumerations/docs/html/foreach-macro.html 2012/12/28 10:14:56 1.2 @@ -14,8 +14,9 @@ CL Enumerations: Macro FOREACH @@ -177,7 +178,7 @@
    -

    News

    +
    @@ -203,7 +204,7 @@ --- /project/cl-enumeration/cvsroot/enumerations/docs/html/has-next-function.html 2005/03/09 18:18:02 1.1.1.1 +++ /project/cl-enumeration/cvsroot/enumerations/docs/html/has-next-function.html 2012/12/28 10:14:56 1.2 @@ -14,8 +14,9 @@ CL Enumerations: Standard Generic Function HAS-NEXT-P @@ -115,7 +116,7 @@
    -

    News

    + +
    @@ -141,7 +143,7 @@ --- /project/cl-enumeration/cvsroot/enumerations/docs/html/has-previous-function.html 2005/03/09 18:18:02 1.1.1.1 +++ /project/cl-enumeration/cvsroot/enumerations/docs/html/has-previous-function.html 2012/12/28 10:14:56 1.2 @@ -14,8 +14,9 @@ CL Enumerations: Standard Generic Function HAS-PREVIOUS-P @@ -114,7 +115,7 @@
    -

    News

    + +
    @@ -140,7 +142,7 @@ --- /project/cl-enumeration/cvsroot/enumerations/docs/html/index.html 2012/01/16 15:50:59 1.3 +++ /project/cl-enumeration/cvsroot/enumerations/docs/html/index.html 2012/12/28 10:14:56 1.4 @@ -95,7 +95,7 @@ + @@ -160,7 +162,7 @@ --- /project/cl-enumeration/cvsroot/enumerations/docs/html/next-function.html 2005/03/09 18:18:02 1.1.1.1 +++ /project/cl-enumeration/cvsroot/enumerations/docs/html/next-function.html 2012/12/28 10:14:56 1.2 @@ -14,8 +14,9 @@ CL Enumerations: Standard Generic Function NEXT @@ -97,7 +98,7 @@
    -

    News

    + +
    @@ -123,7 +125,7 @@ --- /project/cl-enumeration/cvsroot/enumerations/docs/html/previous-function.html 2005/03/09 18:18:02 1.1.1.1 +++ /project/cl-enumeration/cvsroot/enumerations/docs/html/previous-function.html 2012/12/28 10:14:56 1.2 @@ -14,8 +14,9 @@ CL Enumerations: Standard Generic Function PREVIOUS @@ -97,7 +98,7 @@
    -

    News

    + +
    @@ -123,7 +125,7 @@ --- /project/cl-enumeration/cvsroot/enumerations/docs/html/range-function.html 2005/03/09 18:18:02 1.1.1.1 +++ /project/cl-enumeration/cvsroot/enumerations/docs/html/range-function.html 2012/12/28 10:14:56 1.2 @@ -14,8 +14,9 @@ CL Enumerations: Function RANGE @@ -114,7 +115,7 @@
    -

    News

    + +
    @@ -140,7 +142,7 @@ --- /project/cl-enumeration/cvsroot/enumerations/docs/html/reset-function.html 2005/03/10 22:35:03 1.1 +++ /project/cl-enumeration/cvsroot/enumerations/docs/html/reset-function.html 2012/12/28 10:14:56 1.2 @@ -14,8 +14,9 @@ CL Enumerations: Standard Generic Function RESET @@ -125,7 +126,7 @@
    -

    News

    + +
    @@ -151,7 +153,7 @@ --- /project/cl-enumeration/cvsroot/enumerations/docs/html/links.html 2012/12/28 10:14:56 NONE +++ /project/cl-enumeration/cvsroot/enumerations/docs/html/links.html 2012/12/28 10:14:56 1.1 CL Enumeration Links
    CL Extensions: Enumerations
     

    Links

    Here are some links which are pertinent to the CL Enumerations project.

     
     
    From mantoniotti at common-lisp.net Fri Dec 28 10:15:58 2012 From: mantoniotti at common-lisp.net (CVS User mantoniotti) Date: Fri, 28 Dec 2012 02:15:58 -0800 Subject: [cl-enumeration-cvs] CVS enumerations Message-ID: Update of /project/cl-enumeration/cvsroot/enumerations In directory tiger.common-lisp.net:/tmp/cvs-serv16230 Modified Files: COPYING INSTALLATION README TIMESTAMP Log Message: Updated copyright notices and other meta information. --- /project/cl-enumeration/cvsroot/enumerations/COPYING 2012/01/16 15:51:27 1.4 +++ /project/cl-enumeration/cvsroot/enumerations/COPYING 2012/12/28 10:15:58 1.5 @@ -1,4 +1,4 @@ -Copyright (c) 2003-2012 Marco Antoniotti +Copyright (c) 2003-2013 Marco Antoniotti All rights reserved. Permission is hereby granted, without written agreement and without --- /project/cl-enumeration/cvsroot/enumerations/INSTALLATION 2005/03/10 22:11:41 1.1 +++ /project/cl-enumeration/cvsroot/enumerations/INSTALLATION 2012/12/28 10:15:58 1.2 @@ -1,6 +1,11 @@ CL-ENUMERATION INSTALLATION -The package comes with a MK:DEFSYSTEM definition: +CL-ENUMERATIONS is available via quicklisp. You can install in the standard +quicklisp way. + +In alternative, CL-ENUMERATIONS comes with a MK:DEFSYSTEM and a ASDF file. + +To load the library via the MK:DEFSYSTEM definition - "enumerations.system". Issuing @@ -13,6 +18,12 @@ will make the ENUM package available. +The library comes with a ASDF definition and it can therefore be +loaded by issuing the usual command: + + (asdf:oop 'asdf:load-op "enumerations") + + If your CL implementation is ASDF-INSTALL aware, you should also be able to just say --- /project/cl-enumeration/cvsroot/enumerations/README 2012/01/09 15:09:35 1.3 +++ /project/cl-enumeration/cvsroot/enumerations/README 2012/12/28 10:15:58 1.4 @@ -1,6 +1,6 @@ CL-ENUMERATION -Marco Antoniotti (c) 2004-2012 +Marco Antoniotti (c) 2004-2013 The directory containing this file you are reading should contain the code and the documentation of the CL-ENUMERATION package. --- /project/cl-enumeration/cvsroot/enumerations/TIMESTAMP 2012/01/16 15:48:23 1.1 +++ /project/cl-enumeration/cvsroot/enumerations/TIMESTAMP 2012/12/28 10:15:58 1.2 @@ -1 +1 @@ -20120116 +20121227 From mantoniotti at common-lisp.net Fri Dec 28 10:17:22 2012 From: mantoniotti at common-lisp.net (CVS User mantoniotti) Date: Fri, 28 Dec 2012 02:17:22 -0800 Subject: [cl-enumeration-cvs] CVS enumerations Message-ID: Update of /project/cl-enumeration/cvsroot/enumerations In directory tiger.common-lisp.net:/tmp/cvs-serv16448 Modified Files: hash-table-enumerations.lisp Log Message: Added a few not-yet-exported functions. ENUMERATE-HASH-TABLE-KEYS, ENUMERATE-HASH-TABLE-VALUES, ENUMERATE-HASH-TABLE-KEY-VALUE-PAIRS. --- /project/cl-enumeration/cvsroot/enumerations/hash-table-enumerations.lisp 2010/12/30 13:24:23 1.3 +++ /project/cl-enumeration/cvsroot/enumerations/hash-table-enumerations.lisp 2012/12/28 10:17:21 1.4 @@ -92,4 +92,21 @@ (reset (underlying-enumeration x))) +;;; Extra hash-table utilities. + +(defun enumerate-keys (ht) + (declare (type hash-table ht)) + (enumerate ht :keys t :values nil :key-value-pairs nil)) + + +(defun enumerate-values (ht) + (declare (type hash-table ht)) + (enumerate ht :keys nil :values t :key-value-pairs nil)) + + +(defun enumerate-key-value-pairs (ht) + (declare (type hash-table ht)) + (enumerate ht :keys nil :values nil :key-value-pairs t)) + + ;;;; end of file -- hash-table-enumerations.lisp -- From mantoniotti at common-lisp.net Fri Dec 28 10:26:35 2012 From: mantoniotti at common-lisp.net (CVS User mantoniotti) Date: Fri, 28 Dec 2012 02:26:35 -0800 Subject: [cl-enumeration-cvs] CVS enumerations/docs/html Message-ID: Update of /project/cl-enumeration/cvsroot/enumerations/docs/html In directory tiger.common-lisp.net:/tmp/cvs-serv17833 Modified Files: links.html Log Message: Fixed link to Java documentation. --- /project/cl-enumeration/cvsroot/enumerations/docs/html/links.html 2012/12/28 10:14:56 1.1 +++ /project/cl-enumeration/cvsroot/enumerations/docs/html/links.html 2012/12/28 10:26:35 1.2 @@ -41,7 +41,10 @@
  • common-lisp.net: the host site.
  • -
  • The Java site
  • +
  • The + Oracle Java documentation site; you can find the description of + the java.util.Enumeration interface there.
  • Structure and Interpretation of Computer Programs: the SICP site, where inspiration for the unifier can be found.
  • Paradigms of Artificial Intelligence Programming: the PAIP site, where more inspiration for the unifier can be found.
  • From mantoniotti at common-lisp.net Fri Dec 28 10:27:08 2012 From: mantoniotti at common-lisp.net (CVS User mantoniotti) Date: Fri, 28 Dec 2012 02:27:08 -0800 Subject: [cl-enumeration-cvs] CVS enumerations/docs/html Message-ID: Update of /project/cl-enumeration/cvsroot/enumerations/docs/html In directory tiger.common-lisp.net:/tmp/cvs-serv17898 Modified Files: links.html Log Message: Copyright updated. --- /project/cl-enumeration/cvsroot/enumerations/docs/html/links.html 2012/12/28 10:26:35 1.2 +++ /project/cl-enumeration/cvsroot/enumerations/docs/html/links.html 2012/12/28 10:27:08 1.3 @@ -52,7 +52,7 @@
  • The - Oracle Java documentation site; you can find the description of - the java.util.Enumeration interface there.
  • -
  • Structure and Interpretation of Computer Programs: the SICP site, where inspiration for the unifier can be found.
  • -
  • Paradigms of Artificial Intelligence Programming: the PAIP site, where more inspiration for the unifier can be found.
  • + Oracle Java documentation site; you can find there the description of + the java.util.Enumeration and java.util.Iteratorinterfaces. +
  • Structure and + Interpretation of Computer Programs: the SICP site, where + inspiration for the unifier can be found.
  • +
  • Paradigms of + Artificial Intelligence Programming: the PAIP site, where more + inspiration for the unifier can be found.