Re: [racket-users] copy-file does not preserve file attributes on linux version of Racket...

2021-05-10 Thread George Neuner
On 5/10/2021 8:16 PM, Don Green wrote: From Racket doc: "File permissions are transferred from src to dest; on Windows, the modification time of src is also transferred to dest." Is the above line meant to imply that a unix/linux version of Racket will NOT preserve file attributes using

[racket-users] copy-file does not preserve file attributes on linux version of Racket...

2021-05-10 Thread Don Green
>From Racket doc: "File permissions are transferred from src to dest; on Windows, the modification time of src is also transferred to dest." Is the above line meant to imply that a unix/linux version of Racket will NOT preserve file attributes using copy-file? -- You received this message

[racket-users] copy-file does not preserve attributes (file date)...

2021-05-10 Thread Don Green
Racket documentation claims that copy-file preserves attributes but I find that this is not the case. The destination file date is the current date, not the source file date. Comments? Don -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To

Re: [racket-users] Injecting local contracts for prefab constructors

2021-05-10 Thread Sage Gerard
I hope so! That's what I understood option B to mean. I could adjust the define-message macro according to the info in Ryan and Phillip's attachments, but I'm not well-educated on trapping struct operations. Phillip: Your example and email gives me the impression that when you add a chaperone,

Re: [racket-users] Injecting local contracts for prefab constructors

2021-05-10 Thread Hendrik Boom
On Sun, May 09, 2021 at 10:23:34PM +, Sage Gerard wrote: > I have a project with 57 prefab structure types. I need to construct > instances using a local contract (module level contracts do not fit my needs > here). Since I cannot define guards, the solution is easy enough. > > (struct foo