continue-with <continuation>
define-compound define make-generic
+ define-method define-predicate-class
define-tuple define-temp define-tuple-slots
define-writer define-predicate define-generic
?make-generic define-reader define-slot define-slots
close readln read1 read (lines) with-server
stream-read
stream-readln stream-read1 lines contents stream-copy
+ stream-write log-stream stream-format set-line-reader-cr
stream-flush (readln)
word-xt.
stdio
- group
-
.s
double>bits float>bits >bignum
changed-words
callstack namespace namestack global vocabularies
- file. (file.) path+ parent-dir
+ file. (file.) path+ parent-dir directory.
<continuation> continue-with
set-delegate
+ closure
+
+ tabular-output simple-slots
+
+ join
+
}
{ "arrays" "errors" "generic" "graphs" "hashtables" "io"
: inputs ( -- seq )
{
- 0
+ 0 -1 -1000000000000000000000000
! -268435457
inert
! T{ inert-object f }
- -29/2
- -3.14
+ -29/2 1000000000000000000000000000000/1111111111111111111111111111111111111111111
+ 3/4
+ -1000000000000000000000000/111111111111111111
+ -3.14 1/0. 0.0 -1/0. 3.14 0/0.
C{ 1 -1 }
W{ 55 }
{ }
- f
+ f t
H{ }
- V{ }
+ V{ 65536 0 0 0 65536 }
""
SBUF" "
[ ]
SYMBOL: err
SYMBOL: type-error
SYMBOL: params
+SYMBOL: last-time
: throws? ( data... quot -- ? )
err off type-error off
>r
dup clone params set
maybe-explode
r>
- ! "<<<<<testing" .
- .s
- ! "-----" . flush
-
- ! dup [ standard-combination ] = [
- ! >r 3dup . sheet . . r> dup .
- ! ] when
+ dup [ nth-byte ] = [ .s ] when
+ ! .s
+ dup last-time get = [ dup . dup last-time set ] unless
[ call ] [ err on ] recover
- ! .s
- ! ">>>>>tested" .
err get [
dup type-error? dup [
! .s
: test-inputs ( word -- seq )
[ word-inputs ] keep
unit [
- throws? not
+ throws? not clear
] curry each-permutation ;
: test1