I was very confused as to why this is necessary and have come to the conclusion that it is a simple typo. Hence, the goal of this PR is to improve the comprehensibility of this function's definition by removing the duplicate initialisation check. The result is:
initializeTldrPages
, inapp/Main.hs
, contains two sequential initialisation checks (calls totldrInitialized
):I was very confused as to why this is necessary and have come to the conclusion that it is a simple typo. Hence, the goal of this PR is to improve the comprehensibility of this function's definition by removing the duplicate initialisation check. The result is:
This successfully compiles and runs on my Ubuntu
18.04.1
machine, with stack1.7.1
.