We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Exact-Complex
Exact-Number
1 parent 85b2855 commit 9da6a65Copy full SHA for 9da6a65
typed-racket-doc/typed-racket/scribblings/reference/types.scrbl
@@ -97,6 +97,14 @@ Exact-Imaginary
97
Inexact-Imaginary)]
98
These types correspond to Racket's complex numbers.
99
100
+@ex[
101
+(ann 1+1i Exact-Number)
102
+(ann 1+1i Exact-Complex)
103
+(ann 1+0i Exact-Number)
104
+(eval:error (ann 1+0i Exact-Complex))
105
+(ann 0+1i Exact-Number)
106
+(eval:error (ann 0+1i Exact-Complex))]
107
+
108
@history[#:changed "1.7"]{@elem{Added @racket[Imaginary],
109
@racket[Inexact-Complex],
110
@racket[Exact-Complex],
0 commit comments