Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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?


I'm just showing that a more accessible language like Python has a repl with a ratio type.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: