Quantcast
Channel: ReScript Forum - Latest posts
Viewing all articles
Browse latest Browse all 2592

Rational numbers

$
0
0

You beat me to it!

However, the whole fromString-conversion can be skipped with infix if we are ok with the n behind each number:

Playground

Edit: Again not sure if it makes sense, because then division has no operator anymore.


Viewing all articles
Browse latest Browse all 2592

Trending Articles