Top "Haskell" questions

Haskell is a functional programming language featuring strong static typing, lazy evaluation, extensive parallelism and concurrency support, and unique abstraction capabilities.

Exponentiation in Haskell

Can someone tell me why the Haskell Prelude defines two separate functions for exponentiation (i.e. ^ and **)? I thought the …

haskell exponent exponentiation
Find the longest common starting substring in a set of strings

This is a challenge to come up with the most elegant JavaScript, Ruby or other solution to a relatively trivial …

javascript python ruby haskell longest-prefix
What does the "Just" syntax mean in Haskell?

I have scoured the internet for an actual explanation of what this keyword does. Every Haskell tutorial that I have …

haskell syntax
Haskell Type vs Data Constructor

I am learning Haskell from learnyouahaskell.com. I am having trouble understanding type constructors and data constructors. For example, I …

haskell
What does the `forall` keyword in Haskell/GHC do?

I'm beginning to understand how the forall keyword is used in so-called "existential types" like this: data ShowBox = forall s. …

haskell syntax types ghc forall
Using Maybe type in Haskell

I'm trying to utilize the Maybe type in Haskell. I have a lookup for key, value tuples that returns a …

haskell maybe
Good Haskell source to read and learn from

What are some open source programs that use Haskell and can be considered to be good quality modern Haskell? The …

haskell coding-style open-source
Error haskell: not in scope. What does that mean?

I started with Haskell today and all the functions I perform on ghci display this message. I just want to …

haskell ghci
How to print integer literals in binary or hex in haskell?

How to print integer literals in binary or hex in haskell? printBinary 5 => "0101" printHex 5 => "05" Which libraries/functions allow this? …

haskell binary io hex
How can I uninstall a version of a Cabal package?

Happstack Lite is breaking on me because it's getting blaze-html version 0.5 and it wants version 0.4. Cabal says that both versions 0.4.3.4 …

haskell ghc cabal