An open API service indexing awesome lists of open source software.

https://github.com/fiddlerwoaroof/data-lens

Functional utilities for Common Lisp
https://github.com/fiddlerwoaroof/data-lens

data data-transformation functional-programming lisp transducers

Last synced: 3 months ago
JSON representation

Functional utilities for Common Lisp

Awesome Lists containing this project

README

          

* Intro

This library provides a language for expressing data manipulations as
the composition of more primitive operations.

#+BEGIN_SRC lisp
DATA-LENS> (funcall (on (alexandria:compose
(over (transform-tail (over (slice 1))))
(compress-runs :collector 'combine-matching-lists))
(alexandria:compose
(over (juxt (element 0)
'identity))
(sorted 'char<
:key (element 0))))
'("January" "February" "March" "April"
"May" "June" "July" "August"
"September" "October" "November" "December"))
#| ==> ((#\A "pril" "ugust")
(#\D "ecember")
(#\F "ebruary")
(#\J "anuary" "une" "uly")
(#\M "arch" "ay")
(#\N "ovember")
(#\O "ctober")
(#\S "eptember")) |#
#+END_SRC