[racket-users] Are there interfaces for IP ports at least raw sockets?

2020-04-09 Thread Tony Garnock-Jones
If you've not already seen and considered it, https://github.com/tonyg/racket-packet-socket might be worth a look. Regards, Tony -- 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,

Re: [racket-users] Examples of sending HTML email w/ Racket?

2020-04-09 Thread Philip McGrath
I put up an example taken from my code for Digital Ricoeur in response to an old mailing list thread . It is not ready for general-purpose use—in particular, I basically only have to deal with trusted input—but here it is: https

Re: [racket-users] Error loading libreadline dll when using readline package

2020-04-09 Thread K H
Thanks for the info, Matthew, On Thu, Apr 9, 2020 at 7:02 AM Matthew Flatt wrote: > I think you probably have the "readline-gpl" package installed. That's > where the "libreadline-5.dll" comes from in "private/readline-lib.rkt": > > Yes. Prior to installing readline-gpl the file not found was "l

Re: [racket-users] rename-in issue

2020-04-09 Thread Lucas Liendo
Thanks all for the suggestions and for pointing out that `interface-version` was the conflict, I didn't carefully read the message and assumed `make` was the culprit! On Thu, Apr 9, 2020 at 10:33 PM Bogdan Popa wrote: > > I'd recommend using `prefix-in' with the dispatcher modules, as that > avoi

Re: [racket-users] Examples of sending HTML email w/ Racket?

2020-04-09 Thread Matthew Flatt
At Thu, 9 Apr 2020 07:09:21 -0700 (PDT), Brian Adkins wrote: > I looked at the net/mime library, but, as the title of the doc page > suggests, it seemed to only be about decoding, not creating: > > https://docs.racket-lang.org/net/mime.html?q=net%2Fmime Ah, right. I think I've made this mistake

Re: [racket-users] Examples of sending HTML email w/ Racket?

2020-04-09 Thread Brian Adkins
On Thursday, April 9, 2020 at 8:47:09 AM UTC-4, Matthew Flatt wrote: > > At Wed, 8 Apr 2020 21:28:11 -0400, George Neuner wrote: > > There's nothing in Racket for MIME that I'm aware of > > There's a `net/mime` library. > > I'm replying with an attachment so you can see what it generates, since

Re: [racket-users] Error loading libreadline dll when using readline package

2020-04-09 Thread Matthew Flatt
I think you probably have the "readline-gpl" package installed. That's where the "libreadline-5.dll" comes from in "private/readline-lib.rkt": (define readline-library (ffi-lib "libreadline" '("5" "6" "4" ""))) Even if "7" were added to that list, `ffi-lib` assumes a versioning convention that a

Re: [racket-users] Examples of sending HTML email w/ Racket?

2020-04-09 Thread Matthew Flatt
At Wed, 8 Apr 2020 21:28:11 -0400, George Neuner wrote: > There's nothing in Racket for MIME that I'm aware of There's a `net/mime` library. I'm replying with an attachment so you can see what it generates, since my email client uses that library. Matthew -- You received this message because

Re: [racket-users] Examples of sending HTML email w/ Racket?

2020-04-09 Thread Hendrik Boom
On Wed, Apr 08, 2020 at 09:28:11PM -0400, George Neuner wrote: > > There's nothing in Racket for MIME that I'm aware of ... but then multipart > formatting is needed only for multi-version messages, or for embedding > non-text data (graphics, etc.) into a message.   Since so many people read > ma

Re: [racket-users] rename-in issue

2020-04-09 Thread Bogdan Popa
I'd recommend using `prefix-in' with the dispatcher modules, as that avoids these types of issues altogether: (require (prefix-in files: web-server/dispatchers/dispatch-files) (prefix-in sequencer: web-server/dispatchers/dispatch-sequencer)) (sequencer:make (files:make .

Re: [racket-users] rename-in issue

2020-04-09 Thread Jens Axel Søgaard
Den tor. 9. apr. 2020 kl. 11.04 skrev Lucas Liendo : > Hi everyone! I've a very dumb question (as still not very experienced > Racket programmer), I'm doing the following: > > (require net/url > web-server/dispatchers/filesystem-map > (rename-in web-server/dispatchers/dispatch-fi

Re: [racket-users] rename-in issue

2020-04-09 Thread Sorawee Porncharoenwase
There are two colliding names. make and interface-version. As shown in the error message, you fixed one but not the other. (require net/url web-server/dispatchers/filesystem-map web-server/dispatchers/dispatch-files (rename-in web-server/dispatchers/dispatch-sequencer

[racket-users] rename-in issue

2020-04-09 Thread Lucas Liendo
Hi everyone! I've a very dumb question (as still not very experienced Racket programmer), I'm doing the following: (require net/url web-server/dispatchers/filesystem-map (rename-in web-server/dispatchers/dispatch-files (make dispatch-files)) (rename-i