On Wed, Mar 10, 2021 at 08:23:46PM +0700, Roger Keays wrote: > > I've been using the Clojure-like threading package for a while now and this > > has > > some nice advantages that are mentioned in the docs, like blending the first > > arg > and last arg >> variants easily in a sequence. > > > > How does fluent manage this infixing from a (require ...) rather than a > > #lang? > > It provides a custom #%app macro which rearranges the code into regular > s-expressions. I was surprised by how much flexibility this feature of racket > gives you. It would have taken months to build this from scratch in any other > language. The racket version is 25 lines of code. [1] > > > It might be nice to use ~> and ~>> (or |> and |>> or choose your own) as > > infix > > to avoid clashing with >. > > I wanted a single character because I use it so often. I suppose with the > unicode (→) option, there is less need for a single-character solution. Need > to think about this...
Only if your keyboard has a convenient single key to type it with. -- hendrik > > > [1] https://github.com/rogerkeays/racket-fluent/blob/main/main.rkt > > > > > > Dan > > > > -- > > 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 [email protected]. > > To view this discussion on the web visit https://groups.google.com/d/msgid/ > > racket-users/ > > CAFKxZVVBV1sP%2BKk%2B%2Bdw7k7a_TcEsL-yz6%2BLKDLZOa2Wfc1RAYw%40mail.gmail.com. > > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/racket-users/sigid.0703ba7d55.20210310132341.GA3081%40papaya.papaya. -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/racket-users/20210311003108.qjqsrn4kd6nbwtd5%40topoi.pooq.com.

