I have two types

    type alias Player =
        { ...
        , team : Team
        }

    type alias Team =
        { ...
        , players : List Players
        }

which clearly have a circular dependency. I am duplicating data and I am 
doing that on purpose.

Now the question is: is it possible is some way to have these two types in 
different modules/files? Or must I have them in the same module/file to 
avoid circular dependencies?

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to