[racket-users] Is it possible to define a substruct with the same fields as its superstruct?

2020-12-10 Thread Dimaugh Silvestris
I'm trying different ways to define a struct that has the same fields as its superstruct without adding any new field, but all I get is errors saying struct expects a list of fields. Something like: (struct edible (name grams) #:transparent) and then (struct fruit #:super edible #:transparent)

Re: [racket-users] Is it possible to define a substruct with the same fields as its superstruct?

2020-12-10 Thread Noah Ma
(struct fruit () #:super struct:edible #:transparent) -- 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

Re: [racket-users] Re: changing my email address on the package server?

2020-12-10 Thread Jay McCarthy
The expected thing for you to do is to 1. Create a new account 2. Add that new account as an author to the packages 3. Remove your old account as an author to the packages If you want, though, I can do a search & replace in the database for you Jay -- Jay McCarthy Associate Professor @ CS @

Re: [racket-users] compose in Typed Racket

2020-12-10 Thread Ben Greenman
>> A package for compose-n and compose-3 to like 10 or 20? Yes I like the idea of _small packages that do one thing_ better than _one-stop all-utility packages_ ... but do what you think makes sense. >> Someday later, perhaps poly dots and #:rest-star can combine to >> improve the built-in

Re: [racket-users] compose in Typed Racket

2020-12-10 Thread unlimitedscolobb
On Thursday, December 10, 2020 at 5:49:43 PM UTC+1 hen...@topoi.pooq.com wrote: > On Wed, Dec 09, 2020 at 10:16:16PM -0800, unlimitedscolobb wrote: > > > I'm not sure whether macros could be of use here. I'll give it a think. > > Idea: Have a look at parendown >

Re: [racket-users] compose in Typed Racket

2020-12-10 Thread Hendrik Boom
On Wed, Dec 09, 2020 at 10:16:16PM -0800, unlimitedscolobb wrote: > On Wednesday, December 9, 2020 at 11:50:26 PM UTC+1 Ben Greenman wrote: > > > > If the answer is no, is there any interest in including these three > > > functions (as well as compose-5, 6, 7, 8) into Typed Racket? > > > > I

Re: [racket-users] Is it possible to define a substruct with the same fields as its superstruct?

2020-12-10 Thread Laurent
or (struct fruit edible () #:transparent) On Thu, Dec 10, 2020 at 12:51 PM Noah Ma wrote: > (struct fruit () #:super struct:edible #:transparent) > > -- > You received this message because you are subscribed to the Google Groups > "Racket Users" group. > To unsubscribe from this group and stop

Re: [racket-users] compose in Typed Racket

2020-12-10 Thread unlimitedscolobb
On Thursday, December 10, 2020 at 9:51:50 PM UTC+1 Ben Greenman wrote: > >> A package for compose-n and compose-3 to like 10 or 20? > > Yes > > I like the idea of _small packages that do one thing_ better than > _one-stop all-utility packages_ ... but do what you think makes sense. > Sounds

[racket-users] TLS via make-ssl-connect@?

2020-12-10 Thread Sage Gerard
I've seen articles say "SSL" when they mean "TLS". When I read the docs for make-ssl-connect@, it does not clarify what algorithm backs use of HTTPS. Only that OpenSSL is used. Does make-ssl-connect@ track current recommendations like TLS 1.2 or 1.3, or is it fixed to some version of SSL?