2015-02-27 01:20:32 +01:00
|
|
|
# ʜƨiloꟼ
|
|
|
|
### RPN calculator in haskell
|
|
|
|
|
2015-02-27 01:26:32 +01:00
|
|
|
```python
|
2015-02-27 01:20:32 +01:00
|
|
|
$ hsilop
|
2015-02-28 00:29:23 +01:00
|
|
|
ꟼ 1 2 sqrt / acos
|
|
|
|
∘ 0.7853981634
|
2015-02-27 01:20:32 +01:00
|
|
|
|
2015-02-28 00:29:23 +01:00
|
|
|
ꟼ 5 8 9 2 * cos ^ - 2 0.452 tan / +
|
|
|
|
∘ 5.1717299516
|
2015-02-27 01:20:32 +01:00
|
|
|
|
2015-02-28 00:29:23 +01:00
|
|
|
ꟼ e pi ^ pi -
|
|
|
|
∘ 19.9990999792
|
2015-02-27 01:20:32 +01:00
|
|
|
|
2015-02-28 00:29:23 +01:00
|
|
|
ꟼ 1 + 2
|
2015-02-27 01:20:32 +01:00
|
|
|
Ꞥ∘ syntax error
|
|
|
|
```
|
|
|
|
|
|
|
|
## License
|
|
|
|
|
|
|
|
Dual licensed under the MIT and GPL licenses:
|
|
|
|
http://www.opensource.org/licenses/mit-license.php
|
2015-02-27 01:26:32 +01:00
|
|
|
http://www.gnu.org/licenses/gpl.html
|