News for hackers. Stuff that matters.
Re:Ivy – An interpreter for an APL-like language by dan-robertson on Sunday August 07, 2022 @05:02AM (#32375021)
Is it just that fractions are first-class objects? And I guess then you just want to always separate operators with spaces.
Re:Ivy – An interpreter for an APL-like language by masklinn on Sunday August 07, 2022 @05:36AM (#32375130)
> Is it just that fractions are first-class objects?

The problem is that

    3/4
is a rational literal, while

    3 / 4
is a division. This seems unique(ly error prone) in the language, other operators do not have to be spaced.