cl-gserver icon indicating copy to clipboard operation
cl-gserver copied to clipboard

Provide pre-configured agent for generic-cl containers

Open Ambrevar opened this issue 4 years ago • 2 comments

Issues #34 and #35 raise the question of genericity for container-wrapping agents.

What if we provided CL-abiding agents for lists, plists, etc. and then another agent that would wrap https://alex-gutev.github.io/generic-cl/ containers? This way the user would have the choice between the standard CL API, or a common (and extensible) API for all kinds of data structures.

Ambrevar avatar Jul 10 '21 10:07 Ambrevar

generic-cl looks like an interesting project. I didn't know it.

I just had a quick look at generic-cl. Does it use the standard Common Lisp collections under the hood? Yeah, an agent that implements the generic functionality of generic-cl would be a good addition. Since it is an additional dependency (and it also pulls quite some more) that maybe not all people want or need it should probably be a separate .asd.

mdbergmann avatar Jul 10 '21 14:07 mdbergmann

I just had a quick look at generic-cl. Does it use the standard Common Lisp collections under the hood?

It has methods specializing against some standard CL types.

Since it is an additional dependency (and it also pulls quite some more) that maybe not all people want or need it should probably be a separate .asd.

I believe just a separate system is enough, no need for a separate .asd.

Ambrevar avatar Jul 10 '21 14:07 Ambrevar