Hello, Im studing functional programming using haskell and i have problems with some excercises about types. They give me an expresion and i have to wirte down the type for that expresion. I was wondering if there is any method or something that allow me to make that without loosing the track, because some expressions are really a mess and i've got lost a lot trying to solve this kind of problems. Thanks a lot!
sj87
19
Light Poster
Recommended Answers
Jump to PostAwesome. Haskell is the best programming language.
I'm not sure how complicated the expressions you're getting are, but there is only one way in which expressions get combined in Haskell: by function application. A good way to organize your thinking is to first get rid of all infix operators -- …
All 4 Replies
Rashakil Fol
978
Super Senior Demiposter
Team Colleague
sj87
19
Light Poster
Rashakil Fol
978
Super Senior Demiposter
Team Colleague
sj87
19
Light Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.