[racket-users] Re: mixfix and racket 2

2021-03-23 Thread jackh...@gmail.com
Honu's enforestation is approximately this. See https://www.cs.utah.edu/plt/publications/gpce12-rf.pdf. There's been some discussion about whether to base rhombus on a similar approach. On Tuesday, March 23, 2021 at 8:59:50 AM UTC-7 Roger Keays wrote: > From racket-news [1]: > > mixfix (pkg/src)

[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