Generating sequences in Common Lisp
Python provides a useful function for enumerating a sequence of
numbers in the form of the range
function.
If you are looking for range function in Common Lisp you would find
lots of various implementations.
A place about Open Source Software, Operating Systems and some random thoughts
Python provides a useful function for enumerating a sequence of
numbers in the form of the range
function.
If you are looking for range function in Common Lisp you would find
lots of various implementations.
Emacs provides a mechanism for advising functions, which is useful in situations when you need to override the original function with your own one, transform the arguments before passing them down to the advised function, execute some code before, or after the function being advised is called, etc.
Common Lisp provides a variety of data structures for mapping key/value pairs.
In my spare time (whenever I get to have some these days) I like to poke around in the world of Lisp.
The vSAN Management SDK for Python is distributed as a Zip archive available at code.vmware.com. The latest version as of writing this document is 6.7.0 and can be found here.
In Clojure when you need to work with maps you get the option to choose from a number of builtin core functions such as get, assoc, dissoc, merge, select-keys, zipmap, keys, vals and many others.
For the past couple of months or so I’ve been programming in Clojure and I really enjoy it.
One of the API services that I have developed recently for internal project returns a flat sequence of items, where each item in the sequence may or may not be related to other items with a parent-child relationship.
As mentioned in a previous blog post one of the past projects I’ve been involved in was an internal CMDB system and the development of collection of Cisco UCS Configuration Items (CIs) such as Fabric Interconnects, Chassis and Blade servers.