Re: [racket-users] Re: [ANN] Simple, Deterministic Dictionaries (ddict)

2017-01-23 Thread Andrew Kent
On Monday, January 23, 2017 at 4:27:56 PM UTC-5, Philip McGrath wrote: > Have you considered implementing theĀ gen:dict generic interface? > > > > -Philip > > > > On Mon, Jan 23, 2017 at 7:58 AM, Greg Trzeciak wrote: > On Monday, January 23, 2017 at 2:18:53 PM UTC+1,

Re: [racket-users] Re: [ANN] Simple, Deterministic Dictionaries (ddict)

2017-01-23 Thread Philip McGrath
Have you considered implementing the gen:dict generic interface? -Philip On Mon, Jan 23, 2017 at 7:58 AM, Greg Trzeciak wrote: > On Monday, January 23, 2017 at 2:18:53 PM UTC+1, Andrew Kent wrote: > > > ddict seeks to mimic Racket's `hash` API as much as possible and is >

Re: [racket-users] Safely using port->string where nothing has been written to the port

2017-01-23 Thread David Storrs
Hi Sean, Does (byte-ready?) work for your case? https://docs.racket-lang.org/reference/Byte_and_String_Input.html?q=peek#%28def._%28%28quote._~23~25kernel%29._byte-ready~3f%29%29 On Mon, Jan 23, 2017 at 6:05 AM, Sean Kemplay wrote: > Hello, > > I am using the URL

[racket-users] Re: Client side web applications in Racket

2017-01-23 Thread Ethan Estrada
On Sunday, January 22, 2017 at 6:13:28 AM UTC-7, spdegabrielle wrote: > Hi, > > > What are my options for doing client side web applications in Racket ? > There are far more client side options for general Scheme implementations that compile to or run in JS. There is a decent list here:

Re: [racket-users] Mann-Whitney test?

2017-01-23 Thread Leif Andersen
You _could_ use the FFI, but you'd have to use the Racket FFI to go to C, and then use R's FFI to go to C, and then coerce all of R's data to Racket and all of Racket's data back to R. Because of this (provided no one makes a #lang R first ;) ), I think it would be easier to just spawn up a new

[racket-users] Re: [ANN] Simple, Deterministic Dictionaries (ddict)

2017-01-23 Thread Greg Trzeciak
On Monday, January 23, 2017 at 2:18:53 PM UTC+1, Andrew Kent wrote: > ddict seeks to mimic Racket's `hash` API as much as possible and is hopefully > a a convenient "drop in" replacement for `hash` when you'd like deterministic > iteration order. Thank you, just when I need it! One minor issue

[racket-users] [ANN] Simple, Deterministic Dictionaries (ddict)

2017-01-23 Thread Andrew Kent
Good day all! I just wanted to announce that I threw together a simple, deterministic dictionary package: ddict. ddict seeks to mimic Racket's `hash` API as much as possible and is hopefully a a convenient "drop in" replacement for `hash` when you'd like deterministic iteration order. If

[racket-users] Safely using port->string where nothing has been written to the port

2017-01-23 Thread Sean Kemplay
Hello, I am using the URL library to interact with a REST API. One of the Endpoints sends returns no content for a POST request with a status code of 204 (a little unusual however it is an external API so we have to cater to it). I can check the status code for 204 and only apply