Thanks for the quick replies. I found my mistake (my Dict declaration what missing a type). Coming from Haskell, I find Elm's error messages a Joy as they are normally right on the money. This was a rare instance where the error message had me barking up the wrong tree.
Having said that, even one line examples in the package Docs is extremely helpful but not always there. Such an example would have ruled out "maybe I am using empy incorrectly" Thanks again On Sunday, December 11, 2016 at 12:07:39 PM UTC-5, Bob Lee wrote: > > (Or more generally, how to make an empty Dict) > > I have guessed the following: > > r=SomeRecordType f1 f2 Dict.empty > > the compiler error I get back is a type mismatch (expected > SomeOtherRecordType > but actual was Dict k v) > > I also tried to be sneaky and use Dict.fromList [] but got the same error > > Does someone have an example? > -- 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.