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 upAvoid double definition of KeyCode alias #382
Conversation
jvoigtlaender
referenced this pull request
Aug 31, 2015
Closed
Added docu links between Char and Keyboard modules #237
pushed a commit
that referenced
this pull request
Aug 31, 2015
evancz
merged commit aa1ce6d
into
elm:master
Aug 31, 2015
1 check failed
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
Nice, this makes a lot of sense! |
jvoigtlaender
deleted the
jvoigtlaender:keycode
branch
Aug 31, 2015
hughfdjackson
referenced this pull request
Sep 6, 2015
Closed
Bumped Elm version requirement to 0.16+ #395
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
evancz
Sep 10, 2015
Member
This introduces a dependency cycle.
┌────┐
│ Keyboard
│ ↓
│ Set
│ ↓
│ Dict
│ ↓
│ String
│ ↓
│ Char
└────┘
I think the centralized thing needs to live in Char. Not sure yet though.
|
This introduces a dependency cycle.
I think the centralized thing needs to live in |
pushed a commit
that referenced
this pull request
Sep 10, 2015
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
evancz
Sep 10, 2015
Member
Alright, I did the reverse of this and it is all set!
The master branches of elm-compiler / elm-package / elm-make are able to produce code again. It will not run properly, but we can at least get all the normal error reporting again.
|
Alright, I did the reverse of this and it is all set! The master branches of elm-compiler / elm-package / elm-make are able to produce code again. It will not run properly, but we can at least get all the normal error reporting again. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
jvoigtlaender
Sep 10, 2015
Contributor
Ah, I had tried to check the module imports for dependencies manually, but missed that path. (Compiling to get the check automatically was not possible at the time.)
|
Ah, I had tried to check the module imports for dependencies manually, but missed that path. (Compiling to get the check automatically was not possible at the time.) |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
No worries, it only started working again in the past few days :) |
jvoigtlaender commentedAug 31, 2015
Previously existed both in
CharandKeyboardmodules.Now that the next compiler version will have dead code elimination, there should be no harm in importing the alias from one into the other.
Defining
KeyCodeonly in one place makes for more future-proofness.(Also, the
KeyCodein the type signatures inCharmodule will turn into links to the definition site inKeyboardmodule on the package site, so there's no harm in terms of documentation.)