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...
Hashum asked 7/3, 2019 at 12:19

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 ...
Dissimilar asked 26/9, 2015 at 19:0

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...
Publicize asked 11/1, 2013 at 15:0

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...
Cabalism asked 29/4, 2012 at 20:6

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 ...
Music asked 25/4, 2012 at 6:3

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...
Eighth asked 24/4, 2012 at 9:59

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 ------...
Crimson asked 22/4, 2012 at 14:16

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
Sullivan asked 22/4, 2012 at 21:2

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?
Aggri asked 17/9, 2010 at 7:8
1

© 2022 - 2024 — McMap. All rights reserved.