What does `exposing (..)` mean in Elm? -
i'm trying understand the first elm example , has this:
import graphics.element exposing (..)
what exposing (..) mean?
exposing (..) allows call function directly. example, if samplepackage had functions x , y, import samplepackage let call samplepackage.x , samplepackage.y, while import samplepackage exposing (..) let call x , y without specifying containing package.
Comments
Post a Comment