Skip to main content

All Questions

3 votes
3 answers
236 views

Precisely define "what to solve" and "how to solve" corollary in functional and imperative programming respectively

I am not sure if I ever clearly understood standard corollary "what to solve" and "how to solve" used to point out difference between functional (declarative) and imperative programming paradigm ...
rahulaga-msft's user avatar
4 votes
2 answers
183 views

Functional Programming - Functions defining specific evaluation of functions passed to it for optimization

Firstmost, I am just getting started with functional programming so I would appreciate corrections in any terminology I may have used incorrectly. Story time, While doing a Project Euler Problem 1 in ...
Fabián Heredia Montiel's user avatar
4 votes
1 answer
333 views

How should I recursively process a file in Haskell?

Basically I'm expanding a literate program in Haskell. There are two things I need to look for to expand. Here's an example file: program.c.lit: ============== Some comments in the source file that I ...
cdosborn's user avatar
  • 154
11 votes
1 answer
2k views

Maths needed to understand theory behind Haskell's type system?

Recently, I've become deeply interested in Haskell. While attempting to learn new concepts (e.g. the forall keyword and ST monad) and Haskell's type system in general, I continually run into ...
Rob's user avatar
  • 390
3 votes
2 answers
2k views

Why don't we have a non-turing complete general purpose language yet? [duplicate]

Non-turing complete languages can solve every practical problem that a turing-complete language can. Also, they are much more analyzable than turing complete languages. The compiler can comprehend the ...
MaiaVictor's user avatar
  • 5,850
6 votes
2 answers
551 views

What's a good math textbook to have on my desk while studying Haskell? [closed]

I just started learning Haskell and it seems like you can't get too far in the language without being comfortable ( or at least exposed ) to certain branches of mathematics. Unfortunately I have major ...
chibro2's user avatar
  • 189
14 votes
8 answers
3k views

Why isn't functional language syntax more close to human language?

I'm interested in functional programming and decided to get head to head with Haskell. My head hurts... but I'll eventually get it... I have one curiosity though, why is the syntax so cryptic (in lack ...
JohnDoDo's user avatar
  • 2,319
14 votes
5 answers
5k views

What is the most compatible, widely used production language to export knowledge and skills gained from Haskell?

I like Haskell, plain and simple. While Haskell is used in production software, it's not especially widely deployed from what I've seen. What is the most similar and still widely used language in ...
user avatar
16 votes
4 answers
854 views

Why is it good not to rely on changing state?

This question arises out of the question https://softwareengineering.stackexchange.com/questions/25569/is-haskell-worth-learning Generally a few often repeated statements are made, about how Haskell ...
ocodo's user avatar
  • 2,967