winghci

Clearing WinGhci's command prompt (and also its values)

How can I clear WinGhci's (one of Haskell's Windows IDEs) command prompt and all the current "session" values? ...

Some issues when using WinGHCi

With WinGHCi, how can one implement the following code? soma :: Int -> Int soma 1 = aluno 1 soma n = aluno n + soma (n-1) I am currently writing multiline code using :{ ... :} but that doesn't seem to solve the issue, in this case. Also, why doesn't something as soma x y = x + y work, when I'm working in WinGHCi? I can only do i...