I understand import Data.List.
But what does qualified mean in the statement import qualified Data.List?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
A qualified import makes the imported entities available only in qualified form, e.g.
With just
import Data.List, the entities are available in qualified form and in unqualified form. Usually, just doing a qualified import leads to too long names, so youA qualified import allows using functions with the same name imported from several modules, e.g.
mapfrom thePreludeandmapfromData.Map.