Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

defstructs and packages

Name: Anonymous 2011-07-27 16:43

Why CL includes two non-orthogonal concepts for code organization? Why to define an IMAGE package I have to separately declare (defstruct image-state ...)?

Can we replace defstructs with packages in future Lisps?

Name: Anonymous 2011-07-28 11:02

>>22
Of course you can inspect bindings in a closure in a good-enough implementation, just like your can do the same with privates and a good enough debugger in other languages. Not that I see much point in ``privates'' (despite it not being that hard to implement with CLOS, however c.l.l already had a huge debate on this and it proves mostly useless).

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List