I got a Haskell exam in a few days and doing the pastpaper of it. Since the anwer of it is not given it would be very helpful if anyone could check some of my answer which I am not sure about, and answer the questions which I have no idea...
Thank you very much
(a) What is a qualified type in Haskell?
Qualified type is a type which consist of more than one type. For instance, Integral a=> a-> a is a qualified type where Integral is type class whose element is int and Integer.
(b) What are the types of the following Haskell functions?
(i) one x y = x < y
(ii) two x y = x + y
(iii) three x y = xy
(iv) four x y = x + + y
(v) five x y = x ! ! y
An element of List. Eq. (not sure)
(vi) six x y = x = = y
(c) In the context of a functional programming language what is a homomorphism?
(a) Discuss the advantages and disadvantages of pure functional programming
languages as compared with other sorts of language.
Good programming practise.
Simpler and shorter code.
Strict Syntax. Need to specify type for each function.
It only deals with calculation problem.
Your question borders on a violation of the policies of EE.
I believe I can, however, point you in the right direction with my old friend "altavista.com"
Discover new time-saving features in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children.
So, while being a kid is still extremely important, it’s also …
Computer science students often experience many of the same frustrations when going through their engineering courses. This article presents seven tips I found useful when completing a bachelors and masters degree in computing which I believe may he…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…