Fork me on GitHub
#announcements
<
2022-09-17
>
ambrosebs03:09:33

Typed Clojure 1.0.32 Adds type-level map merging, like spec's s/merge or malli's :merge except lifts clojure.core/merge's type checking semantics to type level.

(t/Merge '{:a t/Int} '{:b t/Int}) => '{:a t/Int :b t/Int}
(t/Merge '{:a t/Int} '{:a t/Bool}) => '{:a t/Bool}
Thanks to @ciccio for the suggestion. https://www.patreon.com/posts/72093965 https://github.com/typedclojure/typedclojure/blob/main/CHANGELOG.md#1032-20220917 Channel: #core-typed

😍 6
🎉 8
😁 1