r/functionalprogramming • • Mar 17 '25

News Rhombus is ready for early adopters

https://rhombus-lang.org/

Rhombus is ready for early adopters.
Learn more and get it now at https://rhombus-lang.org/

25 Upvotes

1 comment sorted by

6

u/sdegabrielle Mar 17 '25

I like the |’s

fun
| hello(name):
    “Hello, “ +& name    // +& coerces to strings and concatenates
| hello(first, last):
    hello(first +& “ “ +& last)
> hello(“World”)
“Hello, World”
> hello(“Inigo”, “Montoya”)
“Hello, Inigo Montoya”