lispdoc - results for merge |
(merge result-type sequence1 sequence2 predicate &key key) | Function: Merge the sequences SEQUENCE1 and SEQUENCE2 destructively into a sequence of type RESULT-TYPE using PREDICATE to order the elements.
|
Example:(defun insert-path (path paths) "Put path into the right position, sorted by total cost." (merge 'list (list path) paths #'< :key #'path-total-cost)) | Mentioned in: CLtL2 - 14.5. Sorting and Merging HyperSpec - Function MERGE PCL - combining recycling with shared structure PCL - sequence mapping functions PCL - sorting and merging Successful Lisp - chapter13 |
(merge-pathnames pathname &optional (defaults *default-pathname-defaults*) (default-version newest)) | Function: Construct a filled in pathname by completing the unspecified components from the defaults.
|
Example:(defun figure-out-fname (fname) "should be made into one line later.." (let* ((fname (pathname fname)) (result (merge-pathnames fname))) (namestring result))) | Mentioned in: CLtL2 - 23.1.2. Case Conventions CLtL2 - 23.1.3. Structured Directories CLtL2 - 23.1.5.2. Parsing of Logical Pathname Namestrings CLtL2 - 23.1.6. Pathname Functions CLtL2 - 23.3. Renaming, Deleting, and Other File Operations HyperSpec - Function MERGE-PATHNAMES PCL - constructing new pathnames |
(asdf:merge-pathnames* specified &optional (defaults *default-pathname-defaults*)) | Function: MERGE-PATHNAMES* is like MERGE-PATHNAMES except that if the SPECIFIED pathname does not have an absolute directory, then the HOST and DEVICE come from the DEFAULTS. Also, if either argument is NIL, then the other argument is returned unmodified.
|
ql-dist:dist-merge | Undocumented
|
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
| By Bill Moorier |