3 ms·
You didn't like the parentheses and prefix operator syntax? Syntax-wise, you could use Racket (or another Scheme, with a little more difficulty) to make a very
by neilv 2y ago
You didn't like the parentheses and prefix operator syntax?
Syntax-wise, you could use Racket (or another Scheme, with a little more difficulty) to make a very thin layer over normal Scheme, and package it into a program called `calc`, like this:
user@computer:~$ calc
> 1/2 + 1/8 + 1/8
$1 = 3/4
>
Or do you want a bigger library of off-the-shelf numeric tools, like Python, Julia, or R?
- hombre_fatal 2y agoI'm just showing that a more accessible language like Python has a repl with a ratio type.