haskell-platform Questions
3
Solved
I am practising from LYAH.
phoneBook.hs file contains following code:
phoneBook :: [(String, String)]
While trying to compile the above-mentioned code I am getting following error:
*Main> :load...
Consultative asked 27/7, 2012 at 7:37
5
Record or simple ADT in haskell are pretty much equivalent to boxed tuples.
Is there a way (ideally some fancy extensions or a lib from the haksell platform) which allow conversion between such typ...
Clinch asked 27/4, 2014 at 10:5
3
Solved
I'm trying to parse JSON data in haskell. Having gone through a slew of websites, this is the furthest I have been able to get to.
data Address = Address { house :: Integer, street :: String, city...
Geerts asked 24/7, 2013 at 20:29
3
edit : I ended up upgrading to macOS Catalina yesterday and replacing bash with zsh. One thing that should be noted is that the stackcommand worked previously, but despite all the tinkering not ghc...
Tandem asked 19/8, 2020 at 8:22
2
Solved
I been learning Haskell for around 4 months now and I have to say, the learning curve is definitely hard(scary also :p).
After solving about 15 easy questions, today I moved to my first medium diff...
Melodymeloid asked 6/10, 2021 at 12:5
2
Solved
I installed Haskell Platform 7.10.3 on my mac and when it finished it said that it had detected older versions of GHC and to uninstall them, but how do I do that?
I'm using a macbook air with OS X...
Neils asked 4/5, 2016 at 18:4
2
Solved
I'm installing Haskell on Windows based on the instructions at https://www.haskell.org/platform/ and looking at step 3, it says, Modify your cabal config file (you can verify the location by runnin...
Deoxygenate asked 2/3, 2017 at 12:14
2
Solved
As there is no haskell-plattform for the newest Ubuntu 13.04, I only downloaded the GHCi and had no problems until now.
But now I want to work with monads. Importing them with
import Control.Mona...
Lordosis asked 24/11, 2013 at 17:25
2
Solved
I am trying to learn Haskell from the book Learn You a Haskell by Miran Lipovača. Both the book and haskell.org recommends installing the Haskell Platform but there is no download for Manjaro Linux...
Leake asked 11/2, 2018 at 16:54
2
I'm writing a program in Haskell on my Mac (command line executable, not an app). I'm using GitHub to host the git repository and homepage. I made the <project>.cabal and Setup.hs files since...
Lutes asked 22/7, 2012 at 20:37
4
Solved
What is the recommended library for web client programming which involves HTTP requests.
I know there is a package called HTTP but it doesn't seem to support HTTPS. Is there any better library for...
Creath asked 7/4, 2013 at 19:24
0
I am installing Haskell on my desktop, which is windows system. I follow the instruction. It says: Modify your cabal config file (you can verify the location by running "cabal user-config init") to...
Grane asked 10/3, 2017 at 18:42
2
Solved
I am trying reinstall my Haskell libraries with profiling enabled by following the instructions listed here
However, whenever cabal attempts to reinstall one of the libraries I get the following m...
Milanmilanese asked 3/5, 2014 at 22:43
2
The basic problem:
I'm attempting to install Haskell's gtk package using the standard mac instructions on OSX 10.10.4. Specifically, I want to run threadscope, so I need gtk. Early stages with ho...
Peremptory asked 13/10, 2015 at 14:38
1
Solved
I wrote this small bit of Haskell to figure out how GHC proves that for natural numbers, you can only halve the even ones:
{-# LANGUAGE DataKinds, GADTs, KindSignatures, TypeFamilies #-}
module Na...
Southsouthwest asked 23/10, 2014 at 8:36
1
Solved
I tried using haddock to generate documentation for a library and while it works, it won't link any types that are part of GHC/the standard libraries and emits this error:
Warning: The documentati...
Cincinnati asked 28/6, 2015 at 0:55
1
Solved
Which actions does the term "configure" cover in the command cabal configure?
I have read through documentation, but everything I can find essentially says "configure configures", or install also ...
Kenleigh asked 26/12, 2014 at 2:44
3
Here is what cabal update outputs:
Downloading the latest package list from hackage.haskell.org
cabal: out of memory (requested 2097152 bytes)
The reason may be shortage of memory. What about ta...
Geraldina asked 25/12, 2013 at 4:56
4
My haskell application has the following directory structure:
src/
utils/Utils.hs
subsystem/Subsystem.hs
The Subsystem module imports Utils module. I would like to hand test this code in GHCi....
G asked 7/7, 2011 at 5:7
1
Solved
I just did brew install haskell-platform and it installed The Glorious Glasgow Haskell Compilation System, version 7.6.3 .
$ cabal --version
cabal-install version 1.16.0.2
using version 1.16.0 of ...
Bayonne asked 4/9, 2014 at 3:46
1
Solved
I'm trying to implement simple TCP Client in Haskell. But it gets closed as soon as it connects. I don't know what is causing it to close. How could I make it so that it would print lines from serv...
Poona asked 10/8, 2014 at 7:53
3
Solved
Any suggestions for a good graph and network library for Haskell ?
I'm looking on functionality something like which networkx library has for Python.
Ziska asked 6/2, 2013 at 8:25
1
Solved
I noticed that when I do compilation, installing some module, haskell compiler uses only one processor (blue chart 1/4)? 1 of 4 on my laptop.
I've heard that Haskell Compiler is smart, so it could...
Wieland asked 9/5, 2014 at 22:58
1
Solved
I wrote a Haskell program that preforms a binary search on a list. At least that's what I thought it does. When I compiled the program with ghc v7.6.3 and ran the program I got the following output...
Burette asked 1/2, 2014 at 23:45
2
Solved
I'm using HaskellPlatform-2012.4.0.0 on Win7. It's installed as portable. Paths are managed through .bat file so ghci and ghc works. Cabal config and folder are made semi-portable with this.
The p...
Koski asked 14/2, 2013 at 2:14
1 Next >
© 2022 - 2024 — McMap. All rights reserved.