Permalink
Switch branches/tags
Nothing to show
Commits on Jun 20, 2010
  1. cl-merge-pp: Correctly indent printed output.

    haxney committed Jun 20, 2010
    If the printed values contained strings with newlines, the printed output would
    be incorrect, since the indenting was oblivious to the fact that the string
    shouldn't be indented.
    
    This means that a structure like this:
    
    (make-person :name "Dave\n")
    
    would be printed as:
    
    (:name "Dave
     ")
    
    Note that there is an extra space at the end of the printed version of the :name
    slot which was not originally present.
    
    Signed-off-by: Dan Hackney <dan@haxney.org>
Commits on Mar 15, 2010
  1. Add `cl-merge-pp' structure.

    haxney committed Mar 15, 2010
    Adapted from the `elx-pkg-pp' function. Prints a plist representation of a
    structure.
    
    Signed-off-by: Dan Hackney <dan@haxney.org>
Commits on Mar 12, 2010
  1. Create function `cl-merge-mapslots'

    haxney committed Mar 12, 2010
    Extracts the application of a function to each slot of a structure into its own
    function, which seems to be generally useful.
    
    Signed-off-by: Dan Hackney <dan@haxney.org>
Commits on Mar 8, 2010
  1. Require the CL package.

    haxney committed Mar 8, 2010
    It is kind of meaningless without it.
    
    Signed-off-by: Dan Hackney <dan@haxney.org>
  2. Correct errors in porting from old version.

    haxney committed Mar 8, 2010
    It was originally part of the elx package, so it had some left-over assumptions
    of that old package.
    
    Signed-off-by: Dan Hackney <dan@haxney.org>
  3. Initial commit.

    haxney committed Mar 8, 2010
    Signed-off-by: Dan Hackney <dan@haxney.org>