Home
About Us
Contact Us
Bookmark
Saved Bookmarks
Current Affairs
General Knowledge
Chemical Engineering
UPSEE
BSNL
ISRO
BITSAT
Amazon
ORACLE
Verbal Ability
→
Programming
→
ASP Dot net Interview Questions in Programming
→
Difference between `data` and `newtype` in Haskell...
1.
Difference between `data` and `newtype` in Haskell?
Answer»
S.no
Data
NEW
type
1.
It declares an entirely new data structure at
RUNTIME
.
It
GUARANTEES
that data will have the exact same representation at runtime, as the type
PROGRAMMERS
wrap.
2.
It introduces lazy value
CONSTRUCTOR
It introduces strict value constructor
Show Answer
Discussion
No Comment Found
Post Comment
Related InterviewSolutions
Difference between `data` and `newtype` in Haskell?
How is Haskell different from modern dynamic languages?
What is the purpose of a functor Haskell?
Explain Haskell data types?
Explain the difference between Haskell and Erlang?
Explain the types of Modules used in Haskell
What is Zippers in Haskell?
What is currying in Haskell?
What is lazy evaluation in Haskell?
What are the kinds of operators used in Haskell?
Reply to Comment
×
Name
*
Email
*
Comment
*
Submit Reply
Your experience on this site will be improved by allowing cookies. Read
Cookie Policy
Reject
Allow cookies