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.
1 parent d01ea97 commit 858d6d4Copy full SHA for 858d6d4
typed-racket-more/typed/xml.rkt
@@ -18,19 +18,15 @@
18
(Pair Symbol (Pair (Listof XExpr-Attribute) (Listof XExpr)))
19
(Pair Symbol (Listof XExpr))))
20
21
-(require/typed xml
+(require/typed/provide xml
22
[#:struct location
23
([line : (U False Exact-Nonnegative-Integer)]
24
[char : (U False Exact-Nonnegative-Integer)]
25
- [offset : Exact-Nonnegative-Integer])])
26
-
27
-(define-type Location
28
- (U location Symbol False))
29
30
-(require/typed/provide xml
+ [offset : Exact-Nonnegative-Integer])
+ #:type-name Location]
31
[#:struct source
32
- ([start : Location]
33
- [stop : Location])
+ ([start : (U Location Symbol False)]
+ [stop : (U Location Symbol False)])
34
#:type-name Source]
35
[#:struct external-dtd
36
([system : String])
0 commit comments