Discussion:
Using equally named modules from different packages
(too old to reply)
Pi
2017-09-23 11:24:10 UTC
Permalink
Hi!

Does someone know how to import modules with the same name from different
packages?

Eg. mdgriffith/style-elements exposes module "Element", as does
evancz/elm-graphics.

It seems I can't use both packages in the same project, since when I import
Element, compiler complains that "there are multiple modules named
'Element'".

Hoping for help,
Matthias
--
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+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
David Andrews
2017-09-23 20:52:40 UTC
Permalink
https://github.com/elm-lang/elm-compiler/issues/1625
Post by Pi
Hi!
Does someone know how to import modules with the same name from different
packages?
Eg. mdgriffith/style-elements exposes module "Element", as does
evancz/elm-graphics.
It seems I can't use both packages in the same project, since when I
import Element, compiler complains that "there are multiple modules named
'Element'".
Hoping for help,
Matthias
--
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
For more options, visit https://groups.google.com/d/optout.
--
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+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...