Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
a8c4fd4fcf | ||
![]() |
5881bd94e0 | ||
![]() |
c27e1b2efa | ||
![]() |
8550b9aa83 |
|
@ -4,7 +4,7 @@ env:
|
|||
global:
|
||||
- RACKET_DIR=~/racket
|
||||
matrix:
|
||||
- RACKET_VERSION=6.4
|
||||
- RACKET_VERSION=6.5
|
||||
- RACKET_VERSION=HEAD
|
||||
|
||||
before_install:
|
||||
|
|
|
@ -4,6 +4,8 @@ trivial
|
|||
[](https://coveralls.io/github/bennn/trivial?branch=master)
|
||||
[](http://docs.racket-lang.org/trivial/index.html)
|
||||
|
||||
__WARNING:__ things are current in a heavy development state. See the [6.4 release branch](https://github.com/bennn/trivial/tree/6.4) for a stable version.
|
||||
|
||||
This [Typed Racket](http://docs.racket-lang.org/ts-reference/) library provides "smarter" versions of standard library functions.
|
||||
For example:
|
||||
|
||||
|
|
|
@ -83,6 +83,11 @@
|
|||
(U #f (List String)))
|
||||
'("hello"))
|
||||
|
||||
(check-equal?
|
||||
(ann (regexp-match: "\\(a+\\)([ab]*)" "(aa)bb")
|
||||
(U #f (List String String)))
|
||||
'("(aa)bb" "bb"))
|
||||
|
||||
(check-equal?
|
||||
(ann
|
||||
(regexp-match: "hello" "world")
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
;; =============================================================================
|
||||
|
||||
(: *TRIVIAL-LOG* (Parameterof Boolean))
|
||||
(define *TRIVIAL-LOG* (make-parameter #t))
|
||||
(define *TRIVIAL-LOG* (make-parameter #f))
|
||||
|
||||
(: *STOP-LIST* (Parameterof (Listof Identifier)))
|
||||
(define *STOP-LIST* (make-parameter '()))
|
||||
|
|
Loading…
Reference in New Issue
Block a user