Sorry, posted too soon. dictEquals : Dict a b -> Dict a b -> Bool dictEquals d1 d2 = d1 == d2 || Dict.toList d1 == Dict.toList d2
This will short-circuit when the object references are the same and otherwise do the work necessary to always give the correct answer. (I think - please tell me if I'm wrong.) -- You received this message because you are subscribed to the Google Groups "Elm Discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to elm-discuss+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.