Skip to content

7max/cl-emacs-if

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

Emacs-If is a small package that provides Emacs-like IF and WHILE statements for Common Lisp.

Recommended Usage:

(defpackage :my-package
  (:use :cl)
  (:shadowing-import-from :emacs-if :if :while))

(in-package :my-package)

(defun test-1 ()
  (if (oddp (random 100)) (print 'one)
    (print 'two)
    (print 'three))
  (values))
    
(defun test-2 ()
  (let ((n 10))
    (while (plusp n)
      (print (decf n)))
  (values)))

About

Emacs-like IF and WHILE operators for Common Lisp

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published