HN user

samdphillips

12 karma
Posts0
Comments8
View on HN
No posts found.
Racket v9.0 8 months ago

nice struct syntax

I am curious how you would change the struct syntax?

- Is there a LISP dialect that doesn't suffer from this problem?

I am not sure what problem you are referring to. Racket has been actively developed since the mid-90s.

Rhombus Language 1 year ago

The easiest way would be to rename the imported names

  #lang rhombus
  
  import rhombus:
    only: fun ...
    rename fun as fn
    rename ... as …
    open

  fn all_same([str0, str, …]):
    all(str0 == str, …)