0ch4rl3s.nfo

17.5K posts

0ch4rl3s.nfo banner
0ch4rl3s.nfo

0ch4rl3s.nfo

@acid2

Also @[email protected]

London เข้าร่วม Şubat 2007
1.1K กำลังติดตาม3.8K ผู้ติดตาม
ทวีตที่ปักหมุด
0ch4rl3s.nfo
0ch4rl3s.nfo@acid2·
In light of all the recent decisions made, I've decided to wind down activity here now. I can't use this platform in good conscience, and will be moving to Mastodon. You can find me at @ocharles@mastodon.social. Peace ✌️ @ocharles" target="_blank" rel="nofollow noopener">mastodon.social/@ocharles
English
1
0
11
0
0ch4rl3s.nfo รีทวีตแล้ว
Tom Sydney Kerckhove
Tom Sydney Kerckhove@kerckhove_ts·
A new Haskell coverage report tool is ready to try out! github.com/NorfairKing/de… If you've been looking forward to try it, please have a look. I would be happy with any feedback.
English
2
5
17
0
aaron levin
aaron levin@aaronmblevin·
a surprise to no one familiar with the people involved, but the Source Direct 12” on Good Looking Records is a real crusher youtu.be/Cqct4H95xQg
YouTube video
YouTube
English
2
0
2
0
0ch4rl3s.nfo รีทวีตแล้ว
Jason Burne
Jason Burne@Monty_Brogan69·
Tout plaquer et déposer son CV pour être testeur de jeux de parc pour enfants, clairement c'est l'objectif.
Français
159
5.4K
30K
0
0ch4rl3s.nfo
0ch4rl3s.nfo@acid2·
@mpeytonjones @typed_hole This might sound like I'm just moving the goal posts, but there are plenty of cases where there isn't an obvious API/library that you can extract. In that case I keep it internal
English
0
0
0
0
0ch4rl3s.nfo
0ch4rl3s.nfo@acid2·
@mpeytonjones @typed_hole A user does care - the compiler! I don't think in terms of only the end-user of the whole product. A compiler is really acting like a controller, delegating work to subcomponents and then aggregating - it really doesn't do a huge amount. foo-ir sounds like a good library.
English
2
0
2
0
0ch4rl3s.nfo
0ch4rl3s.nfo@acid2·
@mpeytonjones @typed_hole My personal take is biased to the first point though. If testing this composite becomes too difficult I take a step back and work out what change would make testing easier. Exposing all sub-parts is usually the answer answer, but not necessarily the best one.
English
1
0
1
0
Tom Sydney Kerckhove
Tom Sydney Kerckhove@kerckhove_ts·
@acid2 @typed_hole You hit the nail on the head with this. The question is not whether you test private functions. The question is "who is the user?".
English
1
0
3
0
0ch4rl3s.nfo
0ch4rl3s.nfo@acid2·
@typed_hole If you truly need to test something private that's probably a signal that there's a little library with a good API hiding in there
English
1
0
5
0
0ch4rl3s.nfo
0ch4rl3s.nfo@acid2·
@typed_hole 💯 I never got the argument that we should be able to test private functions. No, test the things your users actually get to use!
English
3
0
0
0
0ch4rl3s.nfo
0ch4rl3s.nfo@acid2·
@kosmikus @tomjaguarpaw Because it's not at all obvious what the intent of the call is. It's like using `id` for `traverse`. That said, perhaps there's a contribution of `traverseLens = toLensVL`?
English
1
0
2
0
0ch4rl3s.nfo
0ch4rl3s.nfo@acid2·
I'm exploring replacing a project's use of "lens" with "optics". Does anyone know how I traverse over a lens (not a traversal)? In lens this is `traverseOf`, but `traverseOf` in optics requires `Applicative f` (but `Functor f` is enough).
English
2
2
5
0
Tom Ellis
Tom Ellis@tomjaguarpaw·
@acid2 I guess toLensVL is the unsatisfying answer: #v:toLensVL" target="_blank" rel="nofollow noopener">hackage.haskell.org/package/optics…
English
1
0
2
0
0ch4rl3s.nfo
0ch4rl3s.nfo@acid2·
Days since I lost hours of producitivity due accidentally writing let x = x: 0
English
5
1
22
0