https://github.com/samth/match-count
https://github.com/samth/match-count
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/samth/match-count
- Owner: samth
- Created: 2013-10-22T20:42:42.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2013-10-22T20:42:53.000Z (over 12 years ago)
- Last Synced: 2025-10-10T13:38:21.806Z (8 months ago)
- Language: Racket
- Size: 97.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### Instrumentation for `match` clauses
```
#lang racket
(require match-count)
(for ([i 100])
(match/count (random 3)
[0 0]
[1 1]
[2 2]))
```
```
$ racket /tmp/mc.rkt
'((8 . 37) (9 . 36) (7 . 27))
```