News for hackers. Stuff that matters.
Re:Rhombus Language by Y_Y on Tuesday March 18, 2025 @06:10PM (#43405784)
In Haskell:

  flip_one Posn(a,b) = Posn(b,a)
  flip_first p:ps = flip one : ps
  flip_all ps = map flip ps
To my taste that's a lot nicer

There are no comments on this comment yet.