Better HN
topnewbestaskshowjobs
Log inSign up

samdphillips

12 karma · joined Aug 14, 2021 (5y ago) · 8 submissions

Submissions

comment 12mo ago · link · parent

> nice struct syntax

I am curious how you would change the struct syntax?

comment 1y ago · link · parent

> - 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.

comment 1y ago · link · parent

No, it is dynamically typed. The annotations work like run time contracts.

comment 1y ago · link · parent

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, …)

comment 2y ago · link · parent

Python with extensible syntax and not afraid of functional programming.

comment 5y ago · link · parent

You may be able to run it with Xvfb.

https://github.com/jeapostrophe/racket-langserver/issues/45 https://github.com/Eugleo/magic-racket/issues/29

comment 5y ago · link · parent

You're critique is valid. `length` `vector-length` and `string-length` are from the very monomorphic old Scheme libraries.

The Racket module system does provide ways to use the names you want without having to change the core language. The `collections` package (https://pkgs.racket-lang.org/package/collections) also smooths over some of these issues.

comment 5y ago · link · parent

Matthew has been working on a prototype (https://github.com/racket/rhombus-brainstorming/pull/163) that works on the current snapshot version of Racket.

It is possible to use to write some basic things and most existing Racket libraries are usable with the prototype.