Git Product home page Git Product logo

vector-utils's Introduction

Build Status

Overview

Vector-manipulation utility functions for Emacs.

Quickstart

(require 'vector-utils)
 
(vector-utils-flatten '[1 2 [3 4 [5 6 7]]])
;; '[1 2 3 4 5 6 7]
 
(vector-utils-depth '[1 2 [3 4 [5 6 7]]])
;; 3

vector-utils

Vector-utils is a collection of functions for vector manipulation. This library has no user-level interface; it is only useful for programming in Emacs Lisp.

Furthermore (when programming in Emacs Lisp), be aware that the modification of a vector is not permitted: only vector elements may be changed. All "modification" operations herein can only work by making copies, which is not efficient.

The following functions are provided:

vector-utils-depth
vector-utils-flatten
vector-utils-insert-before
vector-utils-insert-after
vector-utils-insert-before-pos
vector-utils-insert-after-pos

To use vector-utils, place the vector-utils.el library somewhere Emacs can find it, and add the following to your ~/.emacs file:

(require 'vector-utils)

Compatibility and Requirements

GNU Emacs version 24.4-devel     : yes, at the time of writing
GNU Emacs version 24.3           : yes
GNU Emacs version 23.3           : yes
GNU Emacs version 22.2           : yes
GNU Emacs version 21.x and lower : unknown

No external dependencies

See Also

vector-utils's People

Contributors

rolandwalker avatar

Watchers

 avatar  avatar

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.