A couple of questions about CIEL
Hi,
I'm considering using CIEL for one of my projects, but I'm not sure.. I have some questions.
My project has already started and is not using CIEL. Is it possible to "add CIEL on top" ? Like, in my package, instead of :use :cl, just replace with :use :ciel-cl or something like that ..
Also, I'm looking for a lambda expression with ignorable arguments support. Like (lambda (_ x) ...) . Does CIEL or some other package you know implement that?
Thanks
PD: I've used hu.dwim.defclass-star extension recently, and it is handy for easy class accessor names and exports; could be worth a look for CIEL.
It would be a great sign if you started using CIEL :) I bet you know the usual warnings. But at the same time, since the day I use it there is little to no breakage (and, if I remove something, it's simply a library we can install and use in addition of the others). From the top of my head: I am not happy with the current JSON library (cl-json), I will change it. The only thing that is brittle right now is ciel-repl, but this is not an issue for CIEL the library.
Yes we can use CIEL "on top". We ":use" :ciel in addition fo :cl:
https://github.com/ciel-lang/CIEL#usage
(defpackage yourpackage
(:use :cl :ciel))
(note: I seldom tested the generic-ciel package)
I checked cbaggers' fn and cl-punch, they don't seem to support that and I don't know others.
Thanks for the reminder of declass-star, I have heard good things too. I had used defclass-std which I liked, I'll need to compare the two, but I definitely want to ship such a library.
Ok. Thanks. I'll see what I do.
Also, I'm looking for a lambda expression with ignorable arguments support. Like
(lambda (_ x) ...). Does CIEL or some other package you know implement that?
I've implemented this today: https://github.com/mmontone/mutils/blob/master/docs/mu-lambda-list.md
Some examples: https://github.com/mmontone/mutils/blob/master/tests/mu-lambda-list-tests.lisp
Perhaps it is worth considering for integration.