Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upadded explicit export list to Char.elm #100
Conversation
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
jvoigtlaender
Jan 15, 2015
Contributor
When exporting a type alias, like KeyCode here, will the importing module "know" that KeyCode is Int, or will this be opaque from the outside?
|
When exporting a |
pushed a commit
that referenced
this pull request
Jan 16, 2015
evancz
merged commit 73c4c15
into
elm:master
Jan 16, 2015
1 check failed
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
evancz
Jan 16, 2015
Member
As things stand, the outside module will know. I think this is the right way to go in the sense that you can do hiding with type KeyCode = KeyCode Int and we'll eventually do the same unboxing trick that OCaml and Haskell do (the newtype trick in Haskell)
|
As things stand, the outside module will know. I think this is the right way to go in the sense that you can do hiding with |
jvoigtlaender commentedJan 15, 2015
meant to address part of elm/elm-lang.org#173