News for hackers. Stuff that matters.
Re:A calculator for the Terminal that renders beautiful math by johnklos on Saturday January 11, 2020 @10:21PM (#22024248)
It's beautiful! It's a real shame that Haskell isn't portable.
Re:A calculator for the Terminal that renders beautiful math by aratakareigen on Sunday January 12, 2020 @01:30AM (#22024839)
What do you mean? Haskell has, last time I checked, an LLVM IR and a C backend, so it should be very portable.
Re:A calculator for the Terminal that renders beautiful math by jdc on Saturday January 11, 2020 @10:49PM (#22024334)
What modern desktop or server platforms does it not run on?
Re:A calculator for the Terminal that renders beautiful math by SkyMarshal on Sunday January 12, 2020 @12:00AM (#22024587)
It seems not to run well on some platforms like the minds of developers who don't want to take the time learn it.
Re:A calculator for the Terminal that renders beautiful math by pabs3 on Saturday January 11, 2020 @11:14PM (#22024432)
It seems to build on all the Debian ports, except SuperH and kFreeBSD, neither of which are modern desktop or server platforms.

https://buildd.debian.org/status/package.php?p=ghc

Re:A calculator for the Terminal that renders beautiful math by pmkary on Sunday January 12, 2020 @04:25AM (#22025336)
When I have the time I will port it to JavaScript to make it universal on all systems. But for now it only works on desktop machines that run Haskell. The installation script is only good for the UNIX for the time but I will add for windows
Re:A calculator for the Terminal that renders beautiful math by dan-robertson on Sunday January 12, 2020 @08:12AM (#22026136)
There’s ghcjs right? So maybe not super hard to port the core. I have basically no idea though.
Re:A calculator for the Terminal that renders beautiful math by mightybyte on Sunday January 12, 2020 @08:56AM (#22026271)
Haskell can build for Linux, Mac, Windows, iOS, Android, and it can also compile to JavaScript. I don't know what your particular need is, but that fits my definition of portable.