News for hackers. Stuff that matters.
Re:Rhombus Language by coolio1232 on Tuesday March 18, 2025 @12:31AM (#43395769)
This actually looks good. It's like a less-obtuse Haskell. At a glance the features seem to be just the right mix of functional programming paradigms and standard imperative programming.
Re:Rhombus Language by steve_adams_86 on Tuesday March 18, 2025 @12:52AM (#43395891)
The other day I saw someone describe writing Haskell as “programming with your elbows while listening to math rock”, which is awesome. I can see the need for a less-obtuse Haskell
Re:Rhombus Language by bmitc on Tuesday March 18, 2025 @01:27AM (#43396057)
Less obtuse Haskells have existed for years: Standard ML, OCaml, and F#.
Re:Rhombus Language by ksp-atlas on Tuesday March 18, 2025 @07:19AM (#43398098)
It also involves sending values forwards and backwards in time using Tardises occasionally
Re:Rhombus Language by bmitc on Tuesday March 18, 2025 @01:26AM (#43396051)
What is the relation to Haskell?

The language is basically Racket, which is a Scheme at its core. There's very little in common with a language like Haskell.

Re:Rhombus Language by galaxyLogic on Tuesday March 18, 2025 @02:12AM (#43396232)
So it's not PURE!
Re:Rhombus Language by otabdeveloper4 on Tuesday March 18, 2025 @03:10AM (#43396505)
Yeah, it doesn't have the one thing that makes Haskell Haskell.
Re:Rhombus Language by tromp on Tuesday March 18, 2025 @04:15AM (#43396818)
It's also strict rather than lazy by default. So it doesn't have the two things that make Haskell Haskell.
Re:Rhombus Language by pjmlp on Tuesday March 18, 2025 @06:10AM (#43397589)
Actually it started with Miranda.
Re:Rhombus Language by tromp on Tuesday March 18, 2025 @03:04PM (#43403520)
Re:Rhombus Language by coolio1232 on Tuesday March 18, 2025 @04:27AM (#43396886)
Syntax-wise it looks a lot like Haskell to me, especially the pattern-matching, the variable declarations (with `::`), as well as the indent-based blocks.
Re:Rhombus Language by cies on Tuesday March 18, 2025 @05:10AM (#43397133)
It's usually called ML-syntax. SML, OCaml, Elm, PureScript, and many more have used this.
Re:Rhombus Language by cies on Tuesday March 18, 2025 @05:11AM (#43397146)
> What is the relation to Haskell?

I could only think of is they are both being a "typed lambda calculus" language with an ML-syntax.