News for hackers. Stuff that matters.
Re:Dex: A research language for array processing in the Hask... by yiyus on Saturday October 26, 2019 @02:40PM (#21365412)
I like the syntax. Being able to define a lambda with

    f x y = x + y
or define a table with

    z.i = x.i + y.i
looks really clean to me. It avoids the stinking loops, but it is more obvious than the implicit names used in APL/J/K.

Function application binding more tightly than infix operators and then having $ for grouping is also an interesting solution.

Re:Dex: A research language for array processing in the Hask... by crimsonalucard on Saturday October 26, 2019 @03:00PM (#21365523)
Glad you like it. It's nothing new though. Haskell and many ML family languages have this syntax.

The table syntax is def new though.

Re:Dex: A research language for array processing in the Hask... by klipt on Saturday October 26, 2019 @05:27PM (#21366333)
Nit: that's not a lambda (anonymous function), it's a regular function called f :-)