Warning: calling polyEqual
‘a means “any type”, while ”a means “any type that can be compared for equality”. Since your alreadyVisited function compared x and v using =, x and v need to have a type that supports comparing them for equality, so you get the type ”a. The warning means that you’re comparing two values with polymorphic … Read more