Code Monkey home page Code Monkey logo

my-tools's Introduction

my-tools

A collection of everyday common functions that I use but are not found in most Common Lisp implementations. Some functions may use SBCL specific features.

As the library grows, some functions may be moved and separated into more specific packages like command-line tools, http-tools, etc.

endorse

Downloading

Code is hosted at github, you can clone or fork the repo there.

Installation

Quicklisp's quickload is the best way to load the library once you've told ASDF2 where the code lives. This can be done by either putting the code in ASDF2's default search path: ~/.local/share/common-lisp/source/ or by specifying it in the configuration file (create it if it doesn't already exist): ~/.config/common-lisp/source-registry.conf.d/projects.conf.

In the configuration file, add the directory that you wish to use as the main storage point for lisp source files. For example, if you want to place the lisp source in ~/src/lisp, then projects.conf would contain:

(:tree (:home "src/lisp"))

After that, initialize ASDF2's source registry with (asdf:initialize-source-registry), asdf files will now be loadable from the specified directory.

If for some reason you prefer not to use Quicklisp, you can still load the files manually with ASDF2:

(asdf:load-system :my-tools)

Exported functions

l-swap - switches elements at defined positions with each other a-swap - same as list-switch but for arrays permutations - returns a list of all possible permutations of a passed list p-factors - lists prime factors

Comments, Criticisms, Extensions, etc are very welcome.

Mozart Reina [email protected]

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.