kalium icon indicating copy to clipboard operation
kalium copied to clipboard

Translate Pascal into Haskell

Results 2 kalium issues
Sort by recently updated
recently updated
newest added

This code: ``` pascal var x: integer; begin readln(x); writeln(x); end. ``` translates into this code: ``` haskell main :: IO () main = void (readLn >>= print) ``` Type...

bug

As of now, the only way to get an array is to apply `ReadLn` to it (which is horribly incorrect). The correct solution would be to use the `SetLength` function....

enhancement