I am a beginner to Haskell and I am facing some strange behaviour. Same code sometimes executes and sometimes it doesn’t. It was hard to explain but somehow I managed to create a video to show this behaviour.
Please go through this video and help me if you got any idea.
I suspect that this could be due to some indentation or spacing but really not sure how.
I am using vscode and set space instead of tabs for indentation.