mdbergmann / cl-gserver

Sento - Actor framework featuring actors and agents for easy access to state and asynchronous operations.

Home Page:https://mdbergmann.github.io/cl-gserver/index.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Provide pre-configured agent for generic-cl containers

Ambrevar opened this issue · 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.

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.