Why is the function for lifting a value into a functor named pure in Control.Applicative?
Why is the function for lifting a value into a functor named pure in
Share
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.
Think of
pureas an adjective.foo <*> pure 4=fooapplied on a pure value4.(As for the exact reason why it’s called
pure, probably only McBride and Paterson will know.)