The meaning of (p => q | r) is "if p then q else r", i.e., the Shannon operator and that syntax is used in the lecture slides very often. So, it does not mean (p -> q | r) which would be an implication of a variable p and a disjunction. In teaching tools, we rather use the typical programming language syntax which would be "(p ? q : r)".