Skip to content

Commit aa39a16

Browse files
committed
update CHANGELOG
1 parent 51617cd commit aa39a16

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

CHANGELOG.md

+8-5
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,14 @@ Malli is in well matured [alpha](README.md#alpha).
1919
* Experimental `:->` for simpler function defintions (not available on default schema registry) [#1027](https://github.com/metosin/malli/pull/1027)
2020

2121
```clojure
22-
[:=> [:cat :int] :int]
23-
[:-> :int :int]
24-
25-
[:=> [:cat :int [:? :int]] :int]
26-
[:-> :int [:? :int] :int]
22+
[:-> :any] ; [:=> :cat :any]
23+
[:-> :int :any] ; [:=> [:cat :int] :any]
24+
[:-> [:cat :int] :any] ; [:=> [:cat [:cat :int]] :any]
25+
[:-> a b c d :any] ; [:=> [:cat a b c d] :any]
26+
27+
;; guard property
28+
[:-> {:guard (fn [[[arg] ret]] ...)} :string :boolean]
29+
; [:=> [:cat :string] :boolean [:fn (fn [[[arg] ret]] ...)]]
2730
```
2831

2932
* Fix `mu/get-in` for false-y keys [#1065](https://github.com/metosin/malli/pull/1065)

0 commit comments

Comments
 (0)