(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.

Reply via email to