[racket-users] Re: Implementation of threading macros

2018-04-01 Thread 若草春男
Thanks for your advice, Alex. I'll be used to require point-free package. -- 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.c

[racket-users] Re: Implementation of threading macros

2018-03-31 Thread 若草春男
I want to be close this issue but I cannot close by my response. Please post any message. -- 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.

[racket-users] Re: Implementation of threading macros

2018-03-31 Thread 若草春男
I see. I understand that racket's threading macros are NOT SIMPLE IMPLEMENTATIONS. Racket's threading macros can reduce lambda object creations. #lang racket (require threading) (define (add2 x) (+ x 2)) (~> 1 add2) ; ok (~> 1 ((lambda (x) (+ x 2)) _)) ; ng -> ok (~> 1 ((curry + 2) _)) ; ng -> o