flix / book

The Flix Programming Book
Other
16 stars 22 forks source link

`mod` and `rem` #112

Closed magnus-madsen closed 8 months ago

magnus-madsen commented 10 months ago

/ https://doc.flix.dev/precedence.html states that 'mod' and 'rem' have a certain operator precedence (multiplicative). I read the website as 'rem' and 'mod' meaning remainder and modulo. It appears that 'mod' has been changed to mean module while modulo and remainder have been moved to Int32.mod and Int32.rem. /