Anonymous user
Execute HQ9+/Haskell: Difference between revisions
does not work fine for '+'
m (moved RCHQ9+/Haskell to Execute HQ9+/Haskell) |
(does not work fine for '+') |
||
Line 1:
{{implementation|HQ9+}}{{collection|RCHQ9+}}
This [[HQ9+]] interpreter is written in [[Haskell]].
{{incomplete|haskell|Command '+' is treated incorrectly. Implementing the accumulator in Haskell is not trivial because it has no variables.}}
<lang haskell>import Char (toLower, toUpper)
|