https://docs.racket-lang.org/file/resource.html
For the proc write-resource, type : (or/c <https://docs.racket-lang.org/reference/data-structure-contracts.html#%28def._%28%28lib._racket%2Fcontract%2Fbase..rkt%29._or%2Fc%29%29> 'string 'bytes 'integer) = 'string should read type : (or/c <https://docs.racket-lang.org/reference/data-structure-contracts.html#%28def._%28%28lib._racket%2Fcontract%2Fbase..rkt%29._or%2Fc%29%29> 'string 'bytes 'dword) = 'string As the 'integer value is not supported. Attempting to use the 'integer value returns the following error: write-resource: expected argument of type <'string, 'bytes, or 'dword>; given: 'integer Cheers, Dex -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/racket-users/3a88a91a-864d-4b63-a7f1-db25798a708bn%40googlegroups.com.