Top "Haskell" questions

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

What is a monad?

Having briefly looked at Haskell recently, what would be a brief, succinct, practical explanation as to what a monad essentially …

haskell functional-programming monads terminology
Getting started with Haskell

For a few days I've tried to wrap my head around the functional programming paradigm in Haskell. I've done this …

haskell functional-programming
What is Haskell used for in the real world?

There is a lot of hype around Haskell, however, it is hard to get information on how it is used …

haskell functional-programming programming-languages
What is the difference between . (dot) and $ (dollar sign)?

What is the difference between the dot (.) and the dollar sign ($)? As I understand it, they are both syntactic sugar …

haskell syntax function-composition
A monad is just a monoid in the category of endofunctors, what's the problem?

Who first said the following? A monad is just a monoid in the category of endofunctors, what's the problem? And …

haskell monads category-theory monoids
Haskell: Converting Int to String

I know you can convert a String to an number with read: Prelude> read "3" :: Int 3 Prelude> read "3" :: Double 3.0 …

string haskell int casting
How can I get nth element from a list?

How can I access a list by index in Haskell, analog to this C code? int a[] = { 34, 45, 56 }; return a[1];

haskell
Speed comparison with Project Euler: C vs Python vs Erlang vs Haskell

I have taken Problem #12 from Project Euler as a programming exercise and to compare my (surely not optimal) implementations in …

python c performance haskell erlang
How to split a string in Haskell?

Is there a standard way to split a string in Haskell? lines and words work great from splitting on a …

string haskell
Convert String to Integer/Float in Haskell?

data GroceryItem = CartItem ItemName Price Quantity | StockItem ItemName Price Quantity makeGroceryItem :: String -> Float -> Int -> …

haskell floating-point int