haskell-platform Questions
4
Solved
Someone can explain this coding to me.
[ x*y | x <- [2,5,10], y <- [8,10,11], x*y > 50]
I don't understand the meaning of this | symbol in haskell
Hanoverian asked 22/1, 2014 at 9:2
2
Solved
I followed HaskellWiki, but I've still have no idea that how to start it.
I've tried:
yi
ghci yi
import Yi
main
Lisk asked 16/12, 2011 at 9:33
1
Solved
I need to install Yesod and dependancies trough Cabal, unfortunately I'm not able to update cabal. Shell output:
...$ sudo cabal install cabal-install
Resolving dependencies...
Configuring cabal-...
Spirit asked 29/10, 2013 at 8:3
1
Why doesn't my GHC 7.6.3 work after upgrading to OSX Mavericks?
Barnie asked 25/10, 2013 at 1:24
1
Solved
I have Windows XP and Haskell Platform 2013 installed on it. When I want to compile my code on some computer, which has not Haskell Platform installed on it, and I'm not allowed to install anything...
Mcclintock asked 25/9, 2013 at 14:2
1
Solved
Initially I thought I would get install Haskell with couple of commands using apt-get but its seems somehow complex.
As I look at the haskell org download page, I downloaded haskell-platform-2013...
Berberidaceous asked 24/8, 2013 at 5:39
4
Solved
I'm on OSX 10.6 and I have platform 2010.2.0.0 currently. Should I just install 2011.2.0.1 on top or is there an update mechanism that will be smoother?
Cloddish asked 25/9, 2011 at 16:42
1
Solved
I was intrigued when I heard that GHC can output a file to C .
The Glasgow Haskell Compiler (GHC) compiles to native code on a number of different architectures—as well as to ANSI C—using C-- as...
Bartley asked 13/8, 2013 at 11:0
1
let x=1
y=2
z=3
does not work in GHCi, forcing me to use let {x=1;y=2;y=3} instead. How can I fix this problem?
Administration asked 10/8, 2013 at 13:36
2
Solved
I'm on a shared Linux server where I can't install software. It seems like installing OpenGL from source is a major pain (I stopped after finding that Mesa depends on libxml2), and I don't use it i...
Polygamy asked 8/8, 2013 at 0:52
2
Solved
I downloaded the Haskell-platform source from here: http://www.haskell.org/platform/linux.html, installed ghc, and did /.configure. However when I do sudo make, I get the following error:
Preproce...
Caucus asked 24/10, 2012 at 20:32
2
Solved
I'm about to get into Haskell, and I'm a bit confused why I'm recommended to install both GHC and the Haskell-platform via brew.
Isn't GHC a Haskell implementation/compiler?
When does one need the...
Atchison asked 24/2, 2013 at 17:21
3
Is it possible to build the Haskell's Yi editor in Windows?
UPDATE: I fixed the previous error by installing cabal-dev but now the next one I get is:
C:\Data\yi> cabal-dev install -f-vty -fpan...
Microphyte asked 3/4, 2012 at 3:45
2
The Haskell platform includes two obsolete libraries, old-time and old-locale. For old-time, it also includes the preferred alternative (namely time), but I can't figure out what the recommended al...
Evvy asked 1/6, 2010 at 13:48
1
I am using HaskellPlatform-2012.4.0.0 on Win7. It's installed as portable. Paths are managed through .bat file so ghci and ghc works.
But cabal installs it self at C:\Users\name\AppData\Roaming\cab...
Kowtko asked 16/1, 2013 at 21:42
2
Solved
There are several generics libraries with numerous overlapping modules in just the Haskell Platform alone (syb, Data.Typeable, Data.Data, GHC.Generics), but I'm having trouble with a very basic gen...
Eupepsia asked 9/8, 2012 at 16:18
1
Solved
I am currently reading http://hackage.haskell.org/packages/archive/containers/latest/doc/html/Data-Set.html#t:Set
What does following detail convey (to an absolute haskell beginner)?
Portability:...
Absorption asked 17/7, 2012 at 16:19
3
Solved
I can install hoogle using cabal install hoogle on Windows, however, when I run hoogle data from MinGW shell, I encounter the following error:
$ hoogle data
Extracting tarball...
gzip: ..\hackage-...
Phebephedra asked 23/9, 2011 at 0:56
1
Solved
I'm running the default installation of Haskell platform on Ubuntu and when I run this example http://www.haskell.org/haskellwiki/Calling_Haskell_from_C "ghc -c -O Safe.hs" is not producing the Saf...
Bresnahan asked 11/6, 2012 at 16:5
2
Solved
There's a very common pattern in the implementation of many functions in the haskell platform that bothers me, but I wasn't able to find an explanation. It's about the use of nested functions for o...
Burcham asked 18/3, 2012 at 10:16
4
Assume I want to completely reinstall GHC/HP. I want to (as much for superstition as anything) delete anything and everything from previous installs. What do I actually need to delete (and where)?
...
Mistassini asked 30/7, 2011 at 16:32
4
Solved
Making a ternary logic table, and I would like to make my own function for an operator that I'll call <=>.
So, for example, I want to do this, but that isn't right. what's the correct way t...
Punctilio asked 20/2, 2012 at 5:8
2
Solved
Here is a code taken from http://www.angelfire.com/tx4/cus/shapes/haskell98.html .
It compiles and executes correctly in WinGHCi if I comment the names in the module header. But if the names are ke...
Lenora asked 24/1, 2012 at 8:25
2
Solved
Ok, maybe the title is a little confusing, but what I am trying to do is have a function like this: f (a:b:c:d:is) = ... but be able to refer to a:b:c:d without writing it again. As it turns out, I...
Frau asked 3/1, 2012 at 11:38
2
Solved
I needed a String tokenizer in Haskell but there is apparently nothing already defined in the Prelude or other modules. There is splitOn in Data.Text, but that's a pain to use because you need to w...
Tarrah asked 25/11, 2011 at 4:14
© 2022 - 2024 — McMap. All rights reserved.