Twitter | Search | |
Gabriel Gonzalez
Haskell enthusiast
10,745
Tweets
94
Following
8,170
Followers
Tweets
Gabriel Gonzalez 7h
Replying to @hillelogram
It's not really an "issue" (graphs are useful in other regard), but the book "Optimal implementation of functional programming languages" does a good job of explaining the limitations of using graphs to represent functional ASTs
Reply Retweet Like
Gabriel Gonzalez 7h
Replying to @hdgarrood
It does make a difference to people who depend on the purescript package as a library rather than an executable For example if I want to create a project that depends on the purescript and pandoc packages then the purescript project's stack.yaml is no use to me
Reply Retweet Like
Gabriel Gonzalez Sep 19
Replying to @hillelogram
If you study Lamping's algorithm you'll find that even graphs are insufficiently general to model efficient functional computation. Optimal beta-reduction algorithms require a more sophisticated representation
Reply Retweet Like
Gabriel Gonzalez Sep 19
Replying to @hdgarrood
Packages that build for Stackage also do so for Nixpkgs. For example, pandoc and hakyll are both on Stackage LTS, so you should expect them to build for Nixpkgs, too. The purescript package is not on Stackage (and should be, IMO), which is why you're running into issues
Reply Retweet Like
Gabriel Gonzalez Sep 19
Replying to @hdgarrood
Not exactly. It's very similar to the way stack/Stackage work. They have a default package set (analogous to a Stackage resolver) and you can selectively deviate from that package (analogous to stack's extra-deps)
Reply Retweet Like
Gabriel Gonzalez retweeted
Ἑκάτη Sep 17
Just got a merge request approved in GHC to stop with the madness of listing every. single. bloody. module. that is loaded in the REPL. Not preventing you from hurting yourself, but the default will now be "ghci>" like a sensible REPL does (looking at you iex and irb).
Reply Retweet Like
Gabriel Gonzalez retweeted
ACLU Sep 14
The forced hysterectomies of immigrants is violent, grotesque, and clearly unconstitutional. Once again, ICE reminds us that it has total disregard for the health, safety, and dignity of detained people.
Reply Retweet Like
Gabriel Gonzalez retweeted
⬜️🟥⬜️ Sep 14
Didn't know you could just throw Haskell code into a file and run it as a script. That shouldn't be surprising though: if you can run "sh" scripts, what stops you from running "hs" scripts.
Reply Retweet Like
Gabriel Gonzalez Sep 14
Replying to @jonathoda @pchiusano
Ah, I misunderstood. I retract my original comment, then
Reply Retweet Like
Gabriel Gonzalez Sep 14
Replying to @jonathoda @pchiusano
Yes, we do want to be able to verify functions that have not been called. If not, then we could have replaced all type errors with runtime exceptions which is what Python/JavaScript do, and it does not scale well
Reply Retweet Like
Gabriel Gonzalez Sep 12
Another thing nix-shell supports is debugging a derivation (e.g. nix-shell /nix/store/....drv)
Reply Retweet Like
Gabriel Gonzalez Sep 11
Replying to @ericmoritz
You're welcome! 🙂
Reply Retweet Like
Gabriel Gonzalez Sep 11
Replying to @ericmoritz
Although the language cannot, there are conversion tools like yaml-to-dhall as a stopgap
Reply Retweet Like
Gabriel Gonzalez Sep 11
I don't believe one should use Haskell in the same capacity as Nix, not because of Haskell the language but rather because of the heavyweight toolchain and time required to compile and run the build script. You don't want your build DSL to itself be expensive to build
Reply Retweet Like
Gabriel Gonzalez Sep 11
Version 1.35.0 of the Haskell implementation of is out: ☑ Standard version 18.0.0 ☑ Formatting preserves more comments ☑ API support for custom HTTP Managers ☑ FromDhall instances for Int*/Word* types For more details:
Reply Retweet Like
Gabriel Gonzalez Sep 11
I added nix-shell support for optionally preserving PS1:
Reply Retweet Like
Gabriel Gonzalez retweeted
Dmitrii Kovanikov Sep 8
Have you ever wondered how to be the most productive in open-source? In my new blog post, I'm describing an approach that I use for this. ⚠️I also ask maybe a provocative, but rather important question for community. I'd love to hear your opinion!
Reply Retweet Like
Gabriel Gonzalez Sep 8
Replying to @deech @runarorama
Not Lenovo per se, but salvaging stuff I can find that is old or that I can get the < $250 price range
Reply Retweet Like
Gabriel Gonzalez Sep 8
Replying to @runarorama
Also, if that's still too expensive for your tastes, just buy the same brand used. Lenovo's durability and longevity is great. I view Lenovo as the "discount Mac" in terms of build quality. I have kids who have stepped-on/dropped/slammed my Lenovo laptops and they survive fine
Reply Retweet Like
Gabriel Gonzalez Sep 8
Replying to @runarorama
My recommendation is one of Lenovo's budget laptop lines. I have a hobby of doing Haskell dev on all sorts of hand-me-down/minimal/reclaimed machines (even netbooks back when those were a thing) and Lenovo has always performed well and had good build quality for the price
Reply Retweet Like