libera/commonlisp - IRC Chatlog
Search
20:29:13
huckleberry
I've been using closures as pseudo-streams (basically generators) in a lot of projects instead of separate state objects. I haven't really noticed an issue with speed but should I be doing that or should I be using separate state objects i.e. gray streams?
20:30:40
mfiano
I would much prefer them over a closure that is hard to debug/poke at from the outside
23:20:38
bollu
Oh neat, "Gray" is after the person who invented the CLOS spec for how streams "should" be?
8:18:01
ns12
Why do Common Lispers tend to (:use :alexandria) instead of using package local nicknames or using the full form (e.g. #'alexandria:extremum)?
8:22:22
ns12
Before the existence of PLN, why didn't CL programmers use the full name of Alexandria symbols (e.g. #'alexandria:extremum)?
8:23:46
ns12
"the symbol names are pretty importable and very commonly used" - Oh. Sorry. It didn't click for me. What do you mean by symbol names being "importable"?
8:23:50
White_Flame
it is recommended style to use PLNs for ease of use nowadays. the actual abbreviation is up to you
8:24:15
White_Flame
they don't conflict, as they're named pretty globally appropriately to what they do
8:24:53
White_Flame
and if you have your own personal suite of library functions that do conflict with alexandria, it's recommended to use alexandria instead and standardize your code
8:25:01
ns12
"it's effectively treated as an extension to the standard CL functions" - I guess this is the answer.