Learning more about how Haskell evaluates lists []. by visualizing a spine tree and counting down the elements before it reaches an empty list.
I also learnt the different between WHNF (Weak head normal form) & NF (Normal form) as it play a critical role in how Haskell evaluates functions and values. An interesting concept I will hope to have stuck in my head one day...…comfortably.
I also learnt the different between WHNF (Weak head normal form) & NF (Normal form) as it play a critical role in how Haskell evaluates functions and values. An interesting concept I will hope to have stuck in my head one day...…comfortably.