Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reduced dependencies to closer-mop, alexandria, and iterate.
- Loading branch information
Showing
6 changed files
with
50 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
|
||
(defpackage :modf | ||
(:use :cl :toolbox :iter) | ||
(:export modf | ||
modf-eval | ||
define-modf-rewrite | ||
define-modf-function | ||
define-modf-method | ||
define-modf-expander )) | ||
(:use :cl :iter) | ||
(:import-from :alexandria #:with-gensyms) | ||
(:export #:modf | ||
#:modf-eval | ||
#:define-modf-rewrite | ||
#:define-modf-function | ||
#:define-modf-method | ||
#:define-modf-expander )) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
|
||
(in-package :modf) | ||
|
||
;; @The point of this file is to remove big library dependencies by placing the | ||
;; handful of functions I use here instead of keeping them in a big library. | ||
;; This means that there is more code to maintain, but it also makes the library | ||
;; more portable and means I can be much sloppier in my toolbox library, so I | ||
;; guess it's a win. | ||
|
||
(defun mkstr (&rest args) | ||
"MaKe STRing" | ||
(with-output-to-string (s) | ||
(dolist (a args) (princ a s)) )) |