Skip to content

Commit 5e18221

Browse files
authored
Merge pull request #1159 from metosin/fix-typo-in-predicate-schema-readme
Fix typo in predicate schema readme
2 parents c0d9e3f + efd6b54 commit 5e18221

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ Most core-predicates are mapped to Schemas:
331331
; => true
332332
```
333333

334-
*NOTE*: Predicate Schemas do not cover any schema properties, e.g. `string?` can be modified with properties like `:min` and `:max`. If you want to use the schema properties, use real schema types instead, e.g. `:string` over `string?`.
334+
*NOTE*: Predicate Schemas do not cover any schema properties, e.g. `string?` can't be modified with properties like `:min` and `:max`. If you want to use the schema properties, use real schema types instead, e.g. `:string` over `string?`.
335335

336336
See [the full list of default schemas](#schema-registry).
337337

@@ -3502,7 +3502,7 @@ The transformation engine is smart enough to just transform parts of the schema
35023502

35033503
Contains both function values and unqualified symbol representations for all relevant core predicates. Having both representations enables reading forms from both code (function values) and EDN-files (symbols): `any?`, `some?`, `number?`, `integer?`, `int?`, `pos-int?`, `neg-int?`, `nat-int?`, `pos?`, `neg?`, `float?`, `double?`, `boolean?`, `string?`, `ident?`, `simple-ident?`, `qualified-ident?`, `keyword?`, `simple-keyword?`, `qualified-keyword?`, `symbol?`, `simple-symbol?`, `qualified-symbol?`, `uuid?`, `uri?`, `decimal?`, `inst?`, `seqable?`, `indexed?`, `map?`, `vector?`, `list?`, `seq?`, `char?`, `set?`, `nil?`, `false?`, `true?`, `zero?`, `rational?`, `coll?`, `empty?`, `associative?`, `sequential?`, `ratio?`, `bytes?`, `ifn?` and `fn?`.
35043504

3505-
*NOTE*: Predicate Schemas do not cover any schema properties, e.g. `string?` can be modified with properties like `:min` and `:max`. If you want to use the schema properties, use real schema types instead, e.g. `:string` over `string?`.
3505+
*NOTE*: Predicate Schemas do not cover any schema properties, e.g. `string?` can't be modified with properties like `:min` and `:max`. If you want to use the schema properties, use real schema types instead, e.g. `:string` over `string?`.
35063506

35073507
### `malli.core/class-schemas`
35083508

0 commit comments

Comments
 (0)