Sun & Moon

Draw a loop visiting all cells exactly once, by joining adjacent cell centres with horizontal and vertical line segments. No corner is formed between two consecutive identical markings. Exactly one corner is formed between consecutive different markings. Turns on the markings themselves are ignored by the previous two rules.