-
Notifications
You must be signed in to change notification settings - Fork 376
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
move tests to corresponding structures? #200
Comments
Now that is an awesome idea |
If some |
Sorry, I've deleted my comment after realizing that it was invalid :) Sounds very complicated. Edit: duplicating implementations of these structures in FL repo sounds like a lesser evil. |
For example someone opens PR to adds Yeah it's sort of complicated but the way we are doing it is not any better. |
I don't. Duplication is an evil in itself. I can't fathom why we constantly have to duplicate libraries containers over and over again. The point of the spec included the libraries around it, they're a standard for the spec and because people have decided to implement their own (and have worse implementations!!!), they're neglected because of this. I went to rectify this... Fantasyland has standard libraries with the spec and should have been promoted from the start (which I regret not doing!) and we should strive to do this... |
Could you elaborate on this point, @SimonRichardson? |
Invalid functors is a very common one, also checking types on maybes which If I come across some I'll try to take a note so that we can help the On Sun, 30 Oct 2016, 21:41 David Chambers, [email protected] wrote:
|
Ah, yes. I've seen this sort of thing several times. Thanks for the clarification. |
@SimonRichardson maybe we should provide standard library for basic data structure? Maybe, Either are basic data structure i think. Haskell provide this on Prelude and Purescript community only use one implementation. But on Fantasy Land, many library provides their own implementations, which make difficult to integrate them (hence the need for spec). Maybe we should introspec, our implementations on Fantasy-Land repo doesn't have good documentation, and even it doesn't transpile it (it will create problem on browser, as we don't have it). Then we can make other library authors to depend our implementations. |
After #197 is merged we will have implementations of structures:
This might grove after adding more algebras in future.
Possibly solution is to completely remove
test
from FL, but in this case fantasy-id, fantasy-maybe ... should be always up to date and if we have a PR to add some spec to FL, before we land it, PRs forfantasy-*
should be opened, to ensure PR in FL is correct, then PR in FL could be merged and version bumped. After which PRs infantasy-*
could update FL and be merged as well.Related discussion
The text was updated successfully, but these errors were encountered: