winghci Questions
4
I've started to teach myself Haskell, and for that I've installed The Haskell Platform for Windows. I'm using WinGHCi as of now. I learned that it has command :cd which is used to change directory....
Bick asked 28/6, 2012 at 17:53
1
Solved
The basic question comes along with the quotes from the GHCI interpreter. Yes, I know that the supposed use of code is compiling it into executable, however, as I am a beginner in Haskell, GHCI see...
2
Solved
I'm trying out Haskell in GHCi on Windows. In the tutorial I'm following, a function name is enclosed in backticks: x `mod` 7. However, I can't enter the character in GHCi.
The backtick character ...
1
Solved
So, I tried to ":set prompt "λ> "" in WinGHCi, it crashed and after that wouldn't start again (Not Responding). I reinstalled the Haskell Platform and it still won't start (Not Responding). GHCi wo...
2
Solved
Question 1
Hi, if in WinGHCi I intentionally do the following wrong piece of code :
3 4
Then the error message I get is
<interactive>:1:1:
No instance for (Num (a0 -> t0))
arising...
2
Solved
suppose I have two modules NecessaryModule1 & NecessaryModule2 (as outlined in the post Haskell : loading ALL files in current directory path. Then I have noticed in both WinGHCi and GHCi that ...
1
Solved
I loaded two modules (NecessaryModule1.hs and NecessaryModule2.hs as outlinked in Haskell : loading ALL files in current directory path). Now I want to unload NecessaryModule2.hs. I found an 'unloa...
2
Solved
The command (in GHCi)
:load abc
Loads the functions in the file abc (which must exist in the current directory path). How would I load all the files in the current directory path? Thanks
------...
2
Solved
Is there a command in Haskell which displays (or get as a list of) all the user defined functions which have been loaded/defined in the GHCi? Thanks
4
Solved
I'm new to Haskell (and functional programming in general) and was wondering how I can access a new element that I've added to a list using the cons (:) operator?
For example, using WinGHCi I crea...
Lyrebird asked 28/2, 2012 at 17:33
2
Solved
How can I clear WinGhci's (one of Haskell's Windows IDEs) command prompt and all the current "session" values?
1
© 2022 - 2024 — McMap. All rights reserved.