
Evil Haskell Tips
@EvilHaskellTips
go forth, my statically typed minions. Eval! Apply!
قد يعجبك
Ugh, wish I’d have thunk of this one
Haskell be like RTS: do you have a value? Thunk: I have a concept of a value.
Create a Brobdingnagian monstrosity of 1.2m lines of Haskell. That way, the tooling you create to make working on it tolerable will be practically instant on codebases that don’t need 18 lanes for a 3 point turn. (With love and appreciation, @mercury)
“Semigroup” and “Monoid” are exclusionary terminology. Prefer “smashy-smashy” and “smashy-smashy-with-extra-nothing”.

It's spooky. It's esoteric. It's also the key to understanding the rise and relevance of functional programming. wired.trib.al/qNfcKv9
Tired of probabilistic correctness guarantees? instance Arbitrary UUID where … shrink uuid = case UUID.toWords uuid of (a,b,c,d) -> [UUID.fromWords a' b' c' d' | a' <- sw a, b' <- sw b, c' <- sw c, d' <- sw d] where sw w = take 10 $ iterate (`div` 2) w
Do as thou wilt shall be the whole of the Law, and the type system is really just a suggestion.
it's well known that satan and those who vibe with him are haskellers
Performance tip: s/sequence/mapConcurrently/g Good code can be run in any order.
The great thing about using Haskell with LLMs is that you can be absolutely precise about the nonsense you are ingesting and emitting.
If you're writing a parser for some type t, one fun thing to omit is a way to turn it back into a string. Easy visualisation, canonicalisation and roundtrip properties are for people who insist on putting bugs in their code and there is no reason to coddle them.
We must treasure our few gregarious programmers

cursed thought i can't exorcise

True friendship is when they're willing to tell it to you straight:

I've seen cursed #Haskell code I can't understand🥲 So, this happened even after many years... Anyone can explain how it works?

United States الاتجاهات
- 1. Bills 108K posts
- 2. Falcons 29.2K posts
- 3. phil 126K posts
- 4. Josh Allen 12.6K posts
- 5. Bijan 17.6K posts
- 6. Drake London 5,035 posts
- 7. Bears 46.1K posts
- 8. Chris Moore 1,818 posts
- 9. Dan Quinn 1,004 posts
- 10. #NLCS 5,444 posts
- 11. McDermott 3,885 posts
- 12. Caleb 31.1K posts
- 13. #RaiseHail 4,845 posts
- 14. Snell 3,469 posts
- 15. Commanders 30.4K posts
- 16. Jayden 11.9K posts
- 17. phan 93.1K posts
- 18. Beane 1,904 posts
- 19. Teoscar N/A
- 20. #BUFvsATL 2,850 posts
قد يعجبك
-
Edward Kmett
@kmett -
Well-Typed
@welltyped -
gabby
@GabriellaG439 -
João Forte Carvalho @Conste11ation
@bgamari -
Tweag
@tweagio -
Neil Mitchell (neildmitchell @🪡)
@ndm_haskell -
Andres Löh
@kosmikus -
Michael Snoyman
@snoyberg -
Nikita Volkov
@NikitaYVolkov -
Matt Parsons
@mattoflambda -
Tikhon Jelvis
@tikhonjelvis -
Alejandro Serrano
@trupill -
gelisam
@haskell_cat -
Veronika Romashkina
@vrom911
Something went wrong.
Something went wrong.