Giter Site home page Giter Site logo

cl-colors's Issues

No longer exporting color constants?

The older version of cl-colors exported things like cl-colors:+black+ via define-rgb-color. It does not seem like the new version does that any more. This breaks a number of projects which reference cl-colors:+black+ and other stuff. Is this package change intentional or accidental?

Symbols won't be exported on ABCL

Although this may be a bug of ABCL, some symbols (ex. RGB-RED) won't be exported though they are specified in :export of defpackage.

CL-USER(1): (ql:quickload :cl-colors)
To load "cl-colors":
  Load 1 ASDF system:
    cl-colors
; Loading "cl-colors"
[package cl-colors]
......
(:CL-COLORS)
CL-USER(2): (apropos "rgb-red")
CL-COLORS::RGB-RED (fbound)                 ;; <- not exported

It worked well if I removed the part unexporting symbols.

diff --git a/package.lisp b/package.lisp
index b559140..af16901 100644
--- a/package.lisp
+++ b/package.lisp
@@ -2,6 +2,7 @@

 (in-package #:common-lisp-user)

+#-abcl
 (eval-when (:compile-toplevel :load-toplevel :execute)
   ;; this is needed because the color names in the autogenerated file are
   ;; exported manually and some implementations (eg SBCL) complain about the

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.