Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
frenchy64 committed Feb 28, 2024
1 parent 4780c7f commit f559393
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,7 @@ A `:tuple` schema describes a fixed length Clojure vector of heterogeneous eleme

To create a vector schema based on a seqex, use `:and`.

```
```clojure
;; non-empty vector starting with a keyword
(m/validate [:and [:cat :keyword [:* :any]]
vector?]
Expand All @@ -528,13 +528,13 @@ To create a vector schema based on a seqex, use `:and`.
; => false
```

Note: To generate values from a vector seqex, see [:and generation](#:and-generation)
Note: To generate values from a vector seqex, see [:and generation](#and-generation).

## Set schemas

You can use `:set` to describe homogeneous Clojure sets.

```
```clojure
(m/validate [:set int?] #{42 105})
;; => true

Expand Down

0 comments on commit f559393

Please sign in to comment.