freenode/#lisp - IRC Chatlog
Search
2:07:10
gjulio
hey i'm new to the channel and new-ish to lisp. i'm getting stuck with the syntax on using remove with reduce. if i have a blacklist ofsymbols '(a b c) and a list '(a b a c a b b a). I want to use reduce to obtain '(a a b b a).
3:58:26
shukryzablah
is it possible to make + add two vectors element-wise? (+ (vector 1 2) (vector 3 4)) -> #(4 6) . How can I do this?
4:00:49
White_Flame
of course, that's not making + do anything new, but using + element-wise across two vectors
4:05:01
beach
shukryzablah: No, you can't alter the behavior of +, nor of many other basic Common Lisp functions. But you can create your own package and your own + function that is able to add vectors.
4:37:05
aeth
If you want type-based generics (as opposed to class-based... normally classes are sufficient, but for numbers/arrays they often aren't), one library to do this is https://github.com/markcox80/specialization-store/
5:32:37
fbmnds
Hi, maybe first some context: I intend to use the Qt5 bindings for ECL (EQL5 https://gitlab.com/eql/EQL5) for my own project. EQL5 comes with a nice collection of examples which most of them I got running on my ARM64 developer platform. I expect to figure out how to use EQL5 for my project on my own.
5:32:46
fbmnds
I'd like to know whether there is interest in this community to dig into EQL5 in essence to be able to further maintain this project. From what I understood going through the code base, EQL5 is based on witty design ideas and allows for cross platform GUI development (the examples apps work nice on my Android mobile, too - iOS is also supported).
5:41:46
beach
fbmnds: Hello. You may have better luck some other time. This is early Saturday morning in Europe, and late Friday evening in north America.
6:03:40
beach
Good plan. Oh, and this is IRC, and the @ convention is not used. Just type the nickname followed by a `:'. Your IRC client should complete for you.
6:10:05
adlai
ACTION occasionally sees a comma instead of colon, this seems like a less formal convention... most IRC clients will highlight the message in either case
6:11:43
adlai
fbmnds: there is also an #ecl channel that might be useful since you are asking about an ECL-specific project
6:13:27
adlai
ACTION mumbles something about how maybe they'd get more excitement about ECL if it implemented the complete ANSI specification
6:13:47
beach
fbmnds: jackdaniel is the current maintainer of ECL, and he fulfills all the criteria. He has a family (new baby too), and he is very busy. But he is often around.
6:14:52
adlai
beach: no, I am only aware of one painful incompliance - the lack of :arguments in the long form of define-method-combination
6:16:13
adlai
I've considered taking this on as a project, since at least one other implementation (Clasp) has inherited that problem, by reusing ECL's code
6:17:18
beach
Indeed. And I was planning to use ECL to bootstrap SICL, so I might be interested as well. Plus, I have this long-term plan to try to create a Cleavir-based compiler for ECL.
6:19:49
adlai
it seems understandable to me that an attempt to write an efficient method dispatch system would skip that one feature, although the result is a nuisance, because it is a very useful feature
6:32:58
fbmnds
phoe: ref. [2020-03-28, 13:46 <phoe> nope, it's non-portable and SBCL-only] osicat runs on ECL too (https://pastebin.com/VSQDwAKu) - just saying
7:16:36
phoe
fbmnds: my answer was to "do other distributions have a sb-posix compatibility layer? ccl?" not to osicat itself
7:17:50
phoe
ECL follows some SBCL interfaces, but the last time I checked (and I might have failed) it doesn't have a layer that follows SB-POSIX