Re: [racket-users] Re: mixfix and racket 2

2021-03-24 Thread Roger Keays
59:50 AM UTC-7 Roger Keays wrote: > > From racket-news [1]: > > mixfix (pkg/src) library allows users to define and use mixfix operators > in > Racket, by Sorawee Porncharoenwase. > > From the mixfix docs [2]: > > > (define-mixfix-rule

[racket-users] mixfix and racket 2

2021-03-23 Thread Roger Keays
>From racket-news [1]: mixfix (pkg/src) library allows users to define and use mixfix operators in Racket, by Sorawee Porncharoenwase. >From the mixfix docs [2]: > (define-mixfix-rule (c {~datum ?} t {~datum :} e) (if c t e)) > (#true ? 1 : 2) 1 This is what I expected

[racket-users] syntax-parse ~literal vs #:literals

2021-03-12 Thread Roger Keays
According to the docs for syntax-parse/#:literals [1], "syntax-parse requires all literals to have a binding", and "the syntax-patterns are interpreted as if each occurrence of pattern-id were replaced with the following pattern: (~literal literal-id #:phase phase-expr)" So, this error makes

Re: [racket-users] fluent: unix style pipes and lambda shorthand to make your code more readable

2021-03-11 Thread Roger Keays
> > > On Mar 9, 2021, at 10:20 AM, Roger Keays wrote: > > > > Hi all, > > > > I recently publish a new package called *fluent* which adds some syntax > > enhancements to Racket. Links and README below. Let me know what you > > think... > &g

Re: [racket-users] fluent: unix style pipes and lambda shorthand to make your code more readable

2021-03-11 Thread Roger Keays
ire fluent/unicode). I actually prefer the long arrow for thread-last to the current syntax (>>). Any thoughts? On Wed, Mar 10, 2021 at 07:31:08PM -0500, Hendrik Boom wrote: > On Wed, Mar 10, 2021 at 08:23:46PM +0700, Roger Keays wrote: > > > I've been using the Clojure-li

Re: [racket-users] fluent: unix style pipes and lambda shorthand to make your code more readable

2021-03-12 Thread Roger Keays
make them > rename-able. > Then fluent/unicode would not be necessary, but I also would not be bothered > by > it. > > On a technical level I would prefer a solution that does not result in more > and > more code generation for every renamed variant. > Roger Keays

Re: [racket-users] fluent: unix style pipes and lambda shorthand to make your code more readable

2021-03-10 Thread Roger Keays
esting, but ultimately I concluded that prefix should be the default, and infix should be the special case. > > On Tue, Mar 9, 2021 at 10:20 AM Roger Keays wrote: > > Hi all, > > I recently publish a new package called *fluent* which adds some syntax > enhancements to Rac

Re: [racket-users] fluent: unix style pipes and lambda shorthand to make your code more readable

2021-03-10 Thread Roger Keays
> 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

Re: [racket-users] fluent: unix style pipes and lambda shorthand to make your code more readable

2021-03-10 Thread Roger Keays
there is a proposal to add it to javascript too: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Pipeline_operator On Wed, Mar 10, 2021 at 03:28:12AM +0800, Tim Lee wrote: > > Using *fluent*, the same racket code can be written according to the UNIX > > philosophy: >

[racket-users] fluent: unix style pipes and lambda shorthand to make your code more readable

2021-03-09 Thread Roger Keays
Hi all, I recently publish a new package called *fluent* which adds some syntax enhancements to Racket. Links and README below. Let me know what you think... Roger https://pkgs.racket-lang.org/package/fluent https://github.com/rogerkeays/racket-fluent/ # fluent UNIX style pipes and a lambda

[racket-users] fluent: ~> syntax and (rename-in) support

2021-03-22 Thread Roger Keays
Based on feedback from this community, I've updated the default syntax for the fluent package to use ~> and ~~> for function composition. This way, there is no conflict with the > operator. Here is some example code: (require fluent) ("hello world" ~> string-split ~~> map string-upcase)

Re: [racket-users] Re: public email addresses on packages server

2021-02-24 Thread Roger Keays
equirements that might be > involved. > > > On Tuesday, February 23, 2021 at 12:49:18 PM UTC+1 Roger Keays wrote: > > > Has any consideration been given to concealing email addresses on > > pkgs.racket-lang.org for privacy purposes? > > > > > > -- &

Re: [racket-users] Re: public email addresses on packages server

2021-02-24 Thread Roger Keays
with the json and the database in terms of fields and names though. If I were building it from scratch I would have separate fields for author name and email. On Wed, Feb 24, 2021 at 04:09:42PM +0100, Tony Garnock-Jones wrote: > Hi Roger, > > On Wed, 24 Feb 2021 at 15:55, Roger Keays

[racket-users] public email addresses on packages server

2021-02-23 Thread Roger Keays
Has any consideration been given to concealing email addresses on pkgs.racket-lang.org for privacy purposes? -- 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] can't create a new package on pkgd.racket-lang.org

2021-02-23 Thread Roger Keays
hub.com/rogerkeays/racket-dollar should > also work, but currently it doesn’t > <https://github.com/racket/racket/issues/3672>. > > On Fri, Feb 19, 2021 at 6:52 PM Roger Keays wrote: > > > > > Hi, > > > > Today I made an account on racket-lang.org to post

Re: [racket-users] Tiny improvement to be made to pkgs.racket-lang.org

2021-04-19 Thread Roger Keays
In general, I think the package submission form has no validation. I made the mistake of putting in a version number (rather than using that field to add a new version sub-form) and it spat back an empty form. Took me ages to figure out what I was doing wrong. On Mon, Apr 19, 2021 at

[racket-users] can't create a new package on pkgd.racket-lang.org

2021-02-19 Thread Roger Keays
Hi, Today I made an account on racket-lang.org to post a package, but when I submit the form, it just bounces back at me, blank. The package I added does not appear under "my packages", so it seems the submission failed. There are no error messages. https://pkgd.racket-lang.org/pkgn/create

[racket-users] using raco to install executables

2021-09-21 Thread Roger Keays
Can you use raco to install executables on the system path like with python/pip? -- 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