Re: [racket-users] go cheney yourself

2019-01-08 Thread 'Paulo Matos' via Racket Users
And here I was hoping for the piece to somehow have a Rackety end... On 08/01/2019 22:09, Tim Hanson wrote: > great piece by Michelle Goldberg, imho: > > https://www.nytimes.com/2019/01/07/opinion/rashida-tlaib-profanity.html > -- Paulo Matos -- You received this message because you are

[racket-users] Re: Dumb question about Windows paths

2019-01-08 Thread Alex Harsanyi
I asked a similar question a while ago, and I received a good explanation of why this is the case (you have to work with bytes instead of strings). However, the error messages reported by the path functions are indeed confusing and could be improved:

Re: [racket-users] Dumb question about Windows paths

2019-01-08 Thread Philippe Mechaï
Hi, If I understand the racket code correctly (*), you cannot generate windows paths using strings on unix. But you can do it using bytes->path-element which allows you to specify the path-convention (windows here): (build-path/convention-type 'windows (bytes->path-element (string->bytes/utf-8

[racket-users] Dumb question about Windows paths

2019-01-08 Thread David Storrs
(build-path/convention-type type base sub ...) → path-for-some-system? type : (or/c 'unix 'windows) base : (or/c path-string? path-for-some-system? 'up 'same) sub : (or/c (and/c (or/c path-string? path-for-some-system?) (not/c complete-path?)) (or/c 'up 'same)) >

Re: [racket-users] go cheney yourself

2019-01-08 Thread Tim Hanson
Sorry! Yes, wrong list; noticed immediately; deleted immediately, butI guess that doesn’t stop the mails. Mea maxima culpa. I’ll try to be more careful in the future. Tim > On Jan 8, 2019, at 10:37 PM, Matthias Felleisen > wrote: > > > This is totally inappropriate. > > >> On Jan 8,

Re: [racket-users] go cheney yourself

2019-01-08 Thread Matthias Felleisen
This is totally inappropriate. > On Jan 8, 2019, at 4:09 PM, Tim Hanson wrote: > > great piece by Michelle Goldberg, imho: > > https://www.nytimes.com/2019/01/07/opinion/rashida-tlaib-profanity.html > > -- > You received this message because you are subscribed to the Google Groups >

Re: [racket-users] Re: Functional augmenting

2019-01-08 Thread Jens Axel Søgaard
Den tir. 8. jan. 2019 kl. 21.40 skrev David Storrs : > > This. In an ideal world, before/after/around would be parameterized so > that you can make the change only for a defined scope. > Still, the intent was never that it would extend its effects outside the > current module. > In that case

[racket-users] go cheney yourself

2019-01-08 Thread Tim Hanson
great piece by Michelle Goldberg, imho: https://www.nytimes.com/2019/01/07/opinion/rashida-tlaib-profanity.html -- 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

Re: [racket-users] Re: Functional augmenting

2019-01-08 Thread David Storrs
On Tue, Jan 8, 2019 at 12:47 PM Eric Griffis wrote: > Apologies for the backtracking, but I'm still having trouble understanding > before/after/between and ordinary function composition. For non-method > functions, what's the difference? > Easy extension of existing code. For example:

Re: [racket-users] Re: Functional augmenting

2019-01-08 Thread Neil Van Dyke
Sorry, I think I was being very unclear.  I was only discouraging something `defadvice`-like mutating the behavior of normal Racket procedures, which looks like what was probably originally described: > (define (greet name)   (println (string-append  "Hi, " name))) [...] > (before greet ~a) 

Re: [racket-users] Re: Functional augmenting

2019-01-08 Thread Eric Griffis
My bad. I confused ordinary with generic. On Tue, Jan 8, 2019, 9:47 AM Eric Griffis Apologies for the backtracking, but I'm still having trouble understanding > before/after/between and ordinary function composition. For non-method > functions, what's the difference? > > Also, I'd never heard of

Re: [racket-users] Experiences with Racket on RISC-V?

2019-01-08 Thread 'Paulo Matos' via Racket Users
On 08/01/2019 18:01, Alexander Shopov wrote: > Won't emulators like QEMU do good enough job for the initial ironing out > of problems like the mentioned RISC-V backend for Chez and libffi for > Racket? Yes, they will. For sure. I own a Hifive Unleashed but use it mostly for nightly testing.

Re: [racket-users] Re: Functional augmenting

2019-01-08 Thread George Neuner
Hi Neil, On 1/7/2019 9:58 PM, Neil Van Dyke wrote: George Neuner wrote on 1/7/19 4:49 PM: Though I mostly agree with you, your "advice" does have its uses: http://www.gigamonkeys.com/book/object-reorientation-generic-functions.html     in particular see the sections on method combinations.

Re: [racket-users] Re: Functional augmenting

2019-01-08 Thread David Storrs
On Mon, Jan 7, 2019 at 9:58 PM Neil Van Dyke wrote: > George Neuner wrote on 1/7/19 4:49 PM: > > Though I mostly agree with you, your "advice" does have its uses: > > > > > http://www.gigamonkeys.com/book/object-reorientation-generic-functions.html > > in particular see the sections on

Re: [racket-users] Experiences with Racket on RISC-V?

2019-01-08 Thread Hendrik Boom
On Mon, Jan 07, 2019 at 06:38:07PM -0300, Andrei Formiga wrote: > Sorry to slightly hijack the thread here, but what would be a good RISC-V > dev board to experiment with Racket on it? Not available at all yet, but there's the Libre-RISC-V development, being discussed on a mailing list:

Re: [racket-users] Experiences with Racket on RISC-V?

2019-01-08 Thread 'Paulo Matos' via Racket Users
On 08/01/2019 13:34, Bruce O'Neel wrote: > > Hi, > > The HiFive1 is a 32 bit integer only machine, sadly.  I guess I must > admit being a bit old to re-do software floating point.  I still have > nightmares of ARM and then later 68000 systems. > > Your right about the HiFive Unleashed would

Re: [racket-users] Experiences with Racket on RISC-V?

2019-01-08 Thread Bruce O'Neel
Hi, The HiFive1 is a 32 bit integer only machine, sadly.  I guess I must admit being a bit old to re-do software floating point.  I still have nightmares of ARM and then later 68000 systems. Your right about the HiFive Unleashed would be a good system, but, expensive. There is

[racket-users] Re: Giving scribble a shot

2019-01-08 Thread Sorawee Porncharoenwase
> > > 1. @#reader scribble/comment-reader doesn't help comments to be rendered > in this case. Is it because it only works with a racketblock? How can I > get comments in examples to be displayed > This is asked in the Slack channel recently. Florence replied: You want `code:comment` I

[racket-users] Giving scribble a shot

2019-01-08 Thread 'Paulo Matos' via Racket Users
Hi, I am working on some scribble and I am having trouble understanding what's going on with a few cases. Here's a simple test: test.scrbl: --- #lang scribble/book @require[scribble/example scribble/manual scribble-abbrevs scriblib/footnote] @title{Scribble to odt}