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
Haskell libraries to switch to #223
Comments
text and aeson would be cool. Don't know much about the others. |
I would definitely recommend optparse-applicative rather than cmdargs. |
@nc6 I like it. Adding. |
How about an alternative Prelude ? |
Rationale for classy-prelude (which depends on basic-prelude). At a cursory glance it looks like we'd be adding a bunch of dependencies for the sake of convenient imports. I'm sure I'm missing something obvious, @withhat, which is why I'm asking. |
I like |
That does sound nice, in particular the bit about not having to qualify my use of map, fold, etc. |
I'm thinking more about a custom one that has more ties to semigroupoids. |
Should we roll one? A monotraverable-like that pulls from semigroupoids? Or should we just alter monotraverable? |
I think an alteration would probably be safest; I'll start on one after I finish configuring NixOS (it's seriously awesome (enough to pull me from Arch :D)). I've noticed quite a few Prelude functions that could be generalized but aren't in classy-prelude (e.g. iterate on Monoid Applicatives). |
Nice, it would be a good thing to have. |
Dyre looks like it could help on the config front. |
Dyre looks good, but would it give us the ability to do recompiles without any haskell dependencies? (that is, in a temporary cabal sandbox). |
One issue I had with dyre when I was playing with it (using yi I think) was
|
Let's make sure to include a "reset to default" option. |
This seems to be a hot topic. |
The main problem I see (it may not actually be there) is that extensible-transformers still uses the transformers stack internally, and that could hit performance more than, say, effin. I'm not sure though, so don't quote me. :) |
I wish there were a guide for |
Let me take the opportunity to say this: The Aura Monad is convenient as it gives us "the Monad" to work with through any point in our program. This keeps mental overhead low. However, some problems I've found are:
Whatever we decide, we should keep in mind that Hook writers will appreciate a simple API. They need to be able to see function signatures and understand the constraints they're writing under. The question is, which effects library will give them that? |
"Support for GHC 7.6. This will require very extremely heavy abuse of OverlappingInstances, but it can be done."[1] - That makes me nervous. Haskell Platform featuring 7.8 won't be released until August, and even then, I suspect it will be a while before it becomes standard everywhere. I guess as the first target will be Arch, this isn't a big deal, but I can see this becoming a problem if we decided to support Debian's package manager. |
The goal is to take over all of GNU/Linux, so we should do what is most compatible. |
@aspidites I'm pretty sure that's old, as I loaded it just fine in a new GHC. |
out of dat documentation also makes me nervous ;-) On Tue, Jul 29, 2014 at 9:07 PM, Brayden notifications@github.com wrote:
Regards, |
Er....date
|
Out of date documentation can be fixed more easily than out of date code. :) |
The README doesn't seem any older than the code itself (checked the Blame on the |
Is there an easy way to get into |
I'd think just pulling it down and trying some code after reading the paper from Oleg et all. |
I'll give that a whirl then. |
Here's the first version of my labours: https://github.com/bb010g/yapp/ {-# LANGUAGE RebindableSyntax, ConstraintKinds #-}
import YAPP Share and enjoy! Also, a bit off-topic, but how does the idea of using #aura on Freenode for discussion sound? |
👍 for #aura. @bb010g , any chance you could add why it's more "magical" to the readme along with an example of how to use it? edit: Glancing at the source file it mostly makes sense. I think examples are still nice. That whole advertising and being friendly to noobs thing... |
@aspidites I'm still working on putting in documentation and fixing some things as I try it out. Examples will be added. The README is a placeholder until I get closer with the main source. I just wanted to get it out sooner than later. |
@bb010g Awesome! That'll be really nice to have. I take it |
@fosskers AFAIK. |
You're a pioneer, then. |
A bunch of good tips in these slides |
Thanks for those slides. |
optparse-applicative currently doesn't allow short flags to be specified together, a la There is an open PR for it, though: |
I see what you mean now. My initial reading was "it doesn't allow short flags". |
You got me excited there for a moment; I was feverishly looking through your playground to see what I was missing! |
Haha my bad. Well at least the maintainer of the library says he'll be adding it. |
|
Aura is two years old now, and some libraries have since moved on. Others have better replacements. This is a list of libraries that should be switched to:
http-conduit
, and uses Lenses.json
package, which is quite out of date by now.Text
is modern and more performant. Also,parsec
can work withText
.Data.List.NonEmpty
. This would be good to have after initial dep checks are done.I'm up for suggestions.
The text was updated successfully, but these errors were encountered: