I have just started to learn Haskell out of interest. I follow learnyouahaskell.com.
There I found this:
nullchecks if a list is empty. If it is, it returnsTrue, otherwise it returnsFalse. Use this function instead ofxs == [](if you have a list calledxs)
Why is that? Why should we use null instead of == when both produce the same result?
Thanks.