25 Sep 2018 |
bendlas | kloimhardt Sorry, erst jetzt mal gesehen. Das is, weil (make-method foo-multi foo) schon das Funktionsobjekt aus foo-multi rausnimmt (äquivalent zu (deref (var foo-multi)) ), bevor ts/instrument die var instrumentiert. | 13:49:06 |
bendlas | erm ... s/foo-multi/foo | 13:51:53 |
bendlas | probier zum vergleich
(do
(require '[clojure.spec.alpha :as s])
(require '[clojure.spec.test.alpha :as ts])
(defn foo [bar] bar)
(s/fdef foo :args (s/cat :baz number?))
(defmulti foo-multi identity)
(defn make-method [multi-fct fct]
(defmethod multi-fct :no-exeption [bar] (fct bar)))
(make-method foo-multi #(foo %))
(ts/instrument)
(foo-multi :no-exeption))
| 13:52:56 |
3 Oct 2018 |
kloimhardt | bendlas, danke für den Hinweis von "foo" auf "#(foo %). Ich hab in der Zwischenzeit dem Maintainer von sicmutils eine Lösung mit Macros vorgeschlagen https://github.com/littleredcomputer/sicmutils/issues/33 . Die hat er angenommen. Ich hoff ich hab da jetzt nicht die schlechtere Lösung vorgeschlagen. | 17:44:38 |
1 Dec 2018 |
bendlas | I created an advent-2018 project in the clojure-vienna github org: https://github.com/clojure-vienna/advent-2018
feel free to contribute :-) | 16:25:37 |
10 Dec 2018 |
| odi79 joined the room. | 21:12:46 |
16 Jan 2019 |
bendlas | kloimhardt: hier was für dich: https://clojureverse.org/t/online-meeting-clojure-data-science/3503 | 23:00:03 |
17 Jan 2019 |
kloimhardt | Cool, danke | 00:07:16 |
| @odi_79:matrix.org joined the room. | 07:10:45 |
28 Mar 2019 |
| @odi_79:matrix.org set a profile picture. | 14:03:31 |
6 May 2019 |
kommen | we launched nextjournal's public beta today: https://nextjournal.com/mk/public-beta | 13:34:36 |
kommen | upvotes on hackernews and producthunt weclome ;) https://news.ycombinator.com/item?id=19837742 https://www.producthunt.com/posts/nextjournal-2 | 13:34:58 |
7 May 2019 |
ferakpeter | In reply to @kommen:matrix.org we launched nextjournal's public beta today: https://nextjournal.com/mk/public-beta Congratulations! | 07:07:22 |
ferakpeter | Has anyone experimented with the new version of spec? | 07:38:29 |
| ferakpeter changed their profile picture. | 07:39:28 |
kommen | ferakpeter: yes, I've replicated our graphql-like spec approach with spec-alpha2, where I can now use s/select forms to generate a Datomic pull query when it encoutners a Datomic entity in a value to be conformed | 10:46:55 |
ferakpeter | ah, cool, would love to see that. | 11:21:18 |
kommen | here's my playground https://gist.github.com/kommen/d5de2ab9495402dbc89d7d89b6b965fe | 13:43:24 |
ferakpeter | thanks! | 13:44:44 |
kommen | let me know what you think :) | 15:26:36 |
8 May 2019 |
ferakpeter | looks useful, I want to try some things with it. did I get it right from Rich's talk that he wants to make "parts" of the schema reusable. For instance if you use the defined schema to make sure that data comes correctly from the DB, and then use ONLY "id text1" for a method, then you can specify that? | 07:17:25 |
kommen | yeah, that would be one use case | 14:39:15 |
17 May 2019 |
kommen | p_brc: can't remember: did we already talk about what we want to do at the next meetup? | 05:44:21 |
1 Jun 2019 |
| @quite:matrix.org joined the room. | 18:08:10 |
2 Jun 2019 |
p_brc | @kommen we have not. One thing we wanted to look at previously was cljfx. But the new spec stuff would also be an option | 14:42:29 |
4 Jun 2019 |
| @zacklocx:matrix.org left the room. | 14:10:10 |
8 Jun 2019 |
| @quite:matrix.org left the room. | 13:05:19 |
27 Jul 2019 |
kommen | somebody here wants to spontaniously join us to the heart of clojure conf in Leuven next week? | 16:55:19 |
kommen | https://heartofclojure.eu | 16:55:45 |
kommen | nextjournal is sponsoring, and we have still have a free ticket to give away | 16:56:09 |