File tree 1 file changed +8
-5
lines changed
1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -19,11 +19,14 @@ Malli is in well matured [alpha](README.md#alpha).
19
19
* Experimental ` :-> ` for simpler function defintions (not available on default schema registry) [ #1027 ] ( https://github.com/metosin/malli/pull/1027 )
20
20
21
21
``` 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]] ...)]]
27
30
```
28
31
29
32
* Fix ` mu/get-in ` for false-y keys [ #1065 ] ( https://github.com/metosin/malli/pull/1065 )
You can’t perform that action at this time.
0 commit comments