Git Product home page Git Product logo

cl-skip-list's People

Contributors

kraison avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

cl-skip-list's Issues

Some systems failed to build for Quicklisp dist

Building with SBCL 2.1.6 / ASDF 3.3.1 for quicklisp dist creation.

Trying to build commit id db45fc8

cl-skip-list fails to build with the following error:

Unhandled TYPE-ERROR in thread #<SB-THREAD:THREAD "main thread" RUNNING {1001A18103}>: The value * is not of type LIST

Full log here

cl-skip-list does not compile on arm64 chips:

I am using SBCL 2.1.9 on macOS Monterey (Apple M1) and there is an error in loading the file skip-list.lisp during macroexpansion of DEFSTRUCT SKIP-LIST.

; in: DEFSTRUCT SKIP-LIST
;     (DEFSTRUCT
;         (CL-SKIP-LIST::SKIP-LIST (:PREDICATE CL-SKIP-LIST:SKIP-LIST?)
;          (:PRINT-FUNCTION CL-SKIP-LIST::PRINT-SKIP-LIST))
;       (CL-SKIP-LIST::HEAD (CL-SKIP-LIST::MAKE-HEAD))
;       (CL-SKIP-LIST::KEY-EQUAL #'EQUAL)
;       (CL-SKIP-LIST::VALUE-EQUAL #'EQUAL)
;       (CL-SKIP-LIST::COMPARISON #'CL-SKIP-LIST:LESS-THAN)
;       (CL-SKIP-LIST::DUPLICATES-ALLOWED? NIL)
;       (CL-SKIP-LIST::NODE-FN #'CL-SKIP-LIST::MAKE-SKIP-NODE)
;       (LENGTH 0 :TYPE))
; 
; caught ERROR:
;   (during macroexpansion of (DEFSTRUCT (SKIP-LIST # ...) ...))
;   Error while parsing arguments to DESTRUCTURING-BIND:odd number of elements in keyword/value list: (:TYPE)

The reason is that #+CFFI-FEATURES:X86-64 is no longer in *features*. Instead #+ARM64 (UNSIGNED-BYTE 64)should be added as an additional option to the type initialisation of the lengthslot. Could you please fix this so I can load cl-skip-list through quicklisp again (now I have my local copy). Thanks a lot!

Not just SBCL-only, but SBCL/amd64-only

I tried building this project for Quicklisp on a 32-bit system, and it barfed on the declaration of the length as an (unsigned-byte 64). For 32-bit systems, it has to be (unsigned-byte 32).

random.lisp has a buggy cerror form

random.lisp has this:

(cerror "STATE should not have a value of ~A")

There's no corresponding argument to the cerror format control string. This causes a full warning on SBCL and it fails to load as a result.

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.