-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
questionFurther information is requestedFurther information is requested
Description
I recently got this issue request:
which was to fix the argument order on adjacent-map to be consistent with Racket's builtin map. However, when playing around with Racket I noticed many other functions like take and drop have lst as the first argument. Opening this issue to determine what the best practice should be. At the end of the day, Racket has the threading module with thread-first, thread-last and the _ placeholder, but still want to know the motivation for differences in builtin Racket functions.
(require threading)
(define l '(1 2 3))
(~>> l
(reverse _)
(take _ 2)
(drop _ 1))Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested