#haskell

2025-06-21
Ramkumar Ramachandraartagnon@mathstodon.xyz
2025-06-21

@glocq #Haskell has some cool toys like trifecta, liquid-haskell, and quickcheck, and afaik, there are no equivalents in OCaml. I wouldn't think that outdated #LLVM bindings would bother you so much, as they're pretty easy to generate mechanically: just write a Perl script; it shouldn't take more than a week of work. If the idea is to have fun and keep the compiler small, why not use Haskell? The #OCaml ecosystem is healthier in general, as it is actually used to build real software (by say, Jane Street or the #Rocq community). If ecosystem is so important to you, why not pick #Rust, which has high-quality packages like chumsky/ariadne? Would you be having fun though?

2025-06-21

Property-based testing of attribute grammars. ~ José Nuno Macedo, Marcos Viera, João Saraiva. dl.acm.org/doi/pdf/10.1145/373 #Haskell #FunctionalProgramming

2025-06-21

Freer arrows and why you need them in Haskell. ~ Grant VanDomelen, Gan Shen, Lindsey Kuper, Yao Li. arxiv.org/abs/2506.12212v1 #Haskell #FunctionalProgramming

Philipp :emacs: :nixos:pmidden@fosstodon.org
2025-06-20

I've surprised myself how fun it is to write this pure #haskell #hdf5 parser. It's, in a way, gruesome, fiddling with raw bytes, guessing some details, getting new files with features still unsupported, and I have no clue how exciting it will be to implement all the common filters. But the language is delightful and I'm making constant glacial progress. That accounts for a lot I suppose...

Beady Belle FanchannelProfpatsch@mastodon.xyz
2025-06-20

Looks like I have finally found a way to make Contravariants ergonomic…!!!

#haskell

bar ::
  ( HasField "foo" a Text,
    HasField "bar" a Natural,
    HasField "baz" a Natural
  ) =>
  p ->
  TextBuilder a
bar _ =
  field #foo textT
    <> "foo"
    <> (field #bar naturalDecimalT)
    <> "x"
    <> (field #baz naturalDecimalT)
Bryce3DKeygen.midibryce3dkeygen
2025-06-20

Every time I use a language other than I wonder how they get by without some type system feature. Haskell is under adopted so the ecosystem kind of sucks but on the other hand I looked at how emulates higher-kinded types and it ruined my day.

2025-06-19

"I believe that effect libraries are good for actual effects (IO, State, Reader, Non-determinism, etc...) but not for creating software components"
reddit.com/r/haskell/comments/

Do we need effects to get abstraction? (2019) medium.com/barely-functional/d

#Haskell

Andrzej Wąsowski ☑️ 🟥AndrzejWasowski@social.itu.dk
2025-06-19

I am using one tool implemented in Haskell. Cost: my #ArchLinux updates about 100 #Haskell packages every 2 days on average. Seriously? I am starting to think that even though I am a #functional programmer, programming in Haskell would not be for me - and not for the ferocious purity and laziness, but for the stability of the environment!

Disclaimer: I know nothing about the Haskell ecosystem. It may well be that these updates are just as innocuous as they are irritating.

2025-06-19

Yay! My PR¹ for building static executables for #Haskell projects with #Nix has been merged in my favourite Nix-for-haskell framework Nixkell.

¹ github.com/pwm/nixkell/pull/50

Woke Leftist Trashagentultra@types.pl
2025-06-18

Stream is on tonight, working on tigerbeetle-hs at 8:10pm EST twitch.tv/agentultra

#haskell

2025-06-18

#Haskell #opinion #poll:

Check all that you consider functions in Haskell. (The question is not whether you believe these exist in Haskell (all 4 do), but rather which ones (according to your opinion / your terminology use) are to be considered to be "functions".)

#functionalProgramming #opinionPoll #concept #mentalModel

2025-06-18

I want goroutines in #haskell, how do I get them? forkIO? The answer is simple:

2025-06-18

While you all know the fold function, not everyone is aware of its powerful counterpart, unfold. #scala #haskell fpilluminated.org/allSlides/26
From: @philip_schwarz
fosstodon.org/@philip_schwarz/

Sean 🤷‍♂️🤷‍♀️🤷seanwbruno@infosec.exchange
2025-06-18

Must ... resist ... urge ... to ... code ... strudel.cc/

#Haskell #Music

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst