haskell
Application of Haskell for writing mobile applications, Windows applications, web applications
I'm starting to master Haskell, but all the lessons and guides are working in the console. Tell me, is it possible, for examp ... he Haskell language, and advise a guide for this particular application task, or is Haskell just a calculator in the console?
Literature on the Haskell programming language [closed]
Closed. This question is off-topic. Answers to it are not accepted at the moment.
...
Good time of day!
Tell me the literature on the Haskell programming language. Preferably in Russian. Thank you in advance!
Error: "Warning: You asked to install executables, but there are no executables in target sqlite-simple"
I try to install SQLite in Haskell, but it gives an error:
D:\hq>cabal install sqlite-simple
Resolving dependencies...
Up ... s in
target: sqlite-simple. Perhaps you want to use --lib to install libraries
instead.
Can you tell me what to do about it?
Haskell functions on sample lists
The task description is below. In my opinion, only process1 is suitable, but this answer is incorrect. What other functions a ... = []
process4 f (t1 : t2 : (x,y,z) : ts) = f y : process4 f ts
process4 f ts = []
A definite integral by the trapezoid method
Please help me. I'm a complete novice at haskell, I've been teaching it for less than a week.
There is a task:
"Implement a ... the first test: out of memory. For the life of me, I don't understand what was done wrong. What to change? How to improve it?
Traversing a two-dimensional array with a clockwise spiral
Competition task:
There is a two-dimensional array N x N. You need to write a function that will traverse a two-dimensional ... pt in 81 bytes
Thank you all very much for your participation, all comments will be taken into account for future contests.
2-list comparison function in Haskell
The work forced me to study Haskell. Faced with the need to write a function, the input of which is served two lists. It comp ... must be in the same order. I sit thinking how to do it. The elem function comes to mind. but I don't know how to attribute it
How can you program without variables? The question of functionalism)
While I'm doing the repetition of Python and C, and still can't get my hands on Haskell. And the question has not left my head for a long time) Can as the in short can be on him answer?
Pros and cons of the functional paradigm and Haskell
I have seen that clearly the functional programming paradgima is nothing famous in the world of programming in general. Howev ... ial from so simple, while in other languages this is difficult, arduous and due to poor implementation only brings problems".
Placing an element in the list
Well, I had to make a function that, given a list and a number, returns the element of the list that is in that position (the ... as) b = localiza (as) (b-1)
where b+1<=length(a)
Gives this error: parse error on input 'where'
Error in calculating a PA with Haskell
The function does not return the expected result but I followed the formula and I can not understand the error in logic. I ho ... :: Int -> Int -> Int -> Int
termoPA p1 r i | i == 0 = 0
| otherwise = p1 + r * termoPA p1 r (i-1)
Binary to decimal conversion
I made an algorithm that converts from binary to Decimal, now I need to develop one that does the opposite. I will leave the ... ^ comprimento xs) * x) + (2 ^ (comprimento xs-1)) * x
Ps: function comprimento measures the tail size of the current list
Functional programming and Referential Transparency
Referential transparency ensures me that given same input values for a function, it will always give me the same return value ... e database that has state, for example at the time of writing something to the bank and returning the id of what was written?