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 upCannot find type `Set` #293
Comments
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
jvoigtlaender
Jul 10, 2015
Contributor
Either of these should work:
import Set
update : (Time.Time, Set.Set KeyCode) -> Program -> Programor:
import Set exposing (Set)
update : (Time.Time, Set KeyCode) -> Program -> Program|
Either of these should work: import Set
update : (Time.Time, Set.Set KeyCode) -> Program -> Programor: import Set exposing (Set)
update : (Time.Time, Set KeyCode) -> Program -> Program |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
jvoigtlaender
Jul 10, 2015
Contributor
What I really meant to say is that both of my above versions should work.
|
What I really meant to say is that both of my above versions should work. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
jvoigtlaender
Aug 30, 2015
Contributor
@ericariello, do my comments above address your concern? Can this issue be closed?
|
@ericariello, do my comments above address your concern? Can this issue be closed? |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
jvoigtlaender
Sep 11, 2015
Contributor
I'm closing this, as the comments above should address the issue in terms of using the imports correctly. If the feedback from the compiler is the problem, opening an issue at https://github.com/elm-lang/error-message-catalog could prepare the ground for an improved error message.
|
I'm closing this, as the comments above should address the issue in terms of using the imports correctly. If the feedback from the compiler is the problem, opening an issue at https://github.com/elm-lang/error-message-catalog could prepare the ground for an improved error message. |
jvoigtlaender
closed this
Sep 11, 2015
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
ericariello
Sep 21, 2015
Sorry for answering this late @jvoigtlaender:
Yes, your comment helped very much, thank you!
ericariello
commented
Sep 21, 2015
|
Sorry for answering this late @jvoigtlaender: |
ericariello commentedJul 10, 2015
------- message from online compiler
NAMING ERROR
Cannot find type
Set44| update : (Time.Time, Set KeyCode) -> Program -> Program
Maybe you want one of the following?
------- if I add "import Set"
NAMING ERROR
Cannot find type
Set45| update : (Time.Time, Set KeyCode) -> Program -> Program
Maybe you want one of the following?
------ if I change to "import Set.Set
NAMING ERROR
Could not find a module named
Set.Set7| import Set.Set