freenode/#lisp - IRC Chatlog
Search
1:36:40
xanlsh
Has anyone else had issues installing the `common-lisp-sly` layer? I've tried replacing the `common-lisp` layer with `common-lisp-sly` like the instructions say, but it just doesn't seem to work at all. For instance, I don't get any major-mode bindings under `SPC m` and the command to turn on evil-cleverparens everywhere just doesn't exist
1:51:34
xanlsh
@oni-on-ion how do you have company configured? Whenever I press enter for newline I often end up accidentally completing something and it's really annoying
1:54:12
oni-on-ion
i would rather disable enter to accept a completion for company, and just use TAB or M-/
3:22:21
xanlsh
It returns a list (a generator, really) over all possible combinations of a bunch of iterables: so for example, itertools.product(["a", b"], [1, 2]) = [("a", 1), ("a", 2), ("b", 1), ("b", 2)]
3:23:03
xanlsh
It wouldn't be hard to implement wit a closure, but I was wondering if there was a more idiomatic way to do it
3:26:54
rdh
xanlsh, https://stackoverflow.com/questions/49869728/how-to-generate-one-cartesian-product-in-lisp ?
3:27:13
pjb
There's com.informatimago.common-lisp.cesarum.combination which implements combinations arrangement arrangement-sans-repeat and arrangement-with-repeat.
8:17:53
MichaelRaskin
oni-on-ion — I don't think so, in the Nix project we definitely know about Guix and would probably have known about a Nix-similar package manager in Common Lisp
8:20:56
MichaelRaskin
(And given that I manage my Nix-built system with a Common Lisp daemon and talk about that, I guess someone would have asked me if I want to switch…)