aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-11-18Add rational numbersRaymond Hogenson1-7/+26
Now calculations are done to arbitrary precision if possible.
2018-05-25Rename application to hscRaymond Hogenson5-18/+20
It's a more professional name, although pretty stupid. I should spend some time to come up with a good name. On the other hand, it's for "internal use only" so maybe it doesn't matter. Well, also I took the time to GPL it, so I guess the moral is that I'm bored.
2018-05-18Support exponentiationRaymond Hogenson2-0/+8
Haskell might make this overcomplicated, but it's a complicated problem to solve, I suppose. Whatever. It works well.
2018-05-17Add license information to the top of the filesRaymond Hogenson3-0/+57
Thanks Richard Stallman
2018-05-17Remove the swap fileRaymond Hogenson1-0/+0
Oops maybe I should have put it in the gitignore
2018-05-17Display output in an entryRaymond Hogenson2-4/+4
It looks a lot nicer this way. I've also cleaned up the window management code. I'm pleased at this point at how nice gtk is. I'll maybe even make more graphical applications in the future. It doesn't look as nice as dmenu, though. I wonder if it's possible to theme it like dmenu? Probably not without significant difficulty, and I'd be fighting it every step of the way. That's just a guess.
2018-05-17Copy the result to the clipboardRaymond Hogenson1-1/+3
It's copied to the primary selection since that's most convenient for me. I hope that's not confusing for anyone. Next step, multithreading.
2018-05-17Write a READMERaymond Hogenson1-0/+1
This is more to make Github happy than because I want to document it. It works perfectly as is.
2018-05-17Fix .cabal based on cabal checkRaymond Hogenson1-1/+4
I've taken out Wall, which I guess makes sense, and I've added a description. I don't plan on submitting this to Hackage or anything.
2018-05-17Write a calculatorRaymond Hogenson8-0/+903
It's pretty nice. It works for what I want. I don't think I have any complaints about its functionality. I'll add new functions as I need them. Haskell is actually really easy to program in. I wonder actually if this would have been easier in Python. I think no.