H
Since it is popular to have an AI policy these days, here is the one for the MicroHs project: There is no special AI policy for the Micro Haskell project. Every PR will be accepted or rejected on the usual grounds. I don’t care if it was you, Claude, or your cat who wrote it.
H
LLMLL.. el-el-m-el-el.. this is so hard to say fast
H
LLMLL is a language I’ve been building to experiment with AI (LLMs) writing code. A function starts as a contract with a typed hole for the body. The contract is a typed signature, optionally refined with predicates (`(where [x: int] (> x 0))`), plus a precondition and a postcondition. When an agent attempts to fill the hole, the fill must type-check, and then the compiler checks it against the predicates and conditions with Z3 before the patch is integrated into the AST. A body the solver…
H
The topic of effect systems is a very big one! You might like my talk: A History of Effect Systems. “Analytic” and “synthetic” are terms I introduced to distinguish two different ways of implementing effects: Synthetic: build data structures that represent computations and then interpret them. This is what transformers are, so for example exceptions are modelled by ExceptT e m r = m (Either e r), state is modelled by StateT s m r = s -> m (s, r) etc.. One problem with this approach is that it…
H
Answered! FYI, you can remove any mentions of “Riot” from the survey. It’s just Matrix.
H
Thanks for sharing this follow-up thoughts - much appreciated although to be honest I’ve never used effect systems or any of the mentioned alternatives so I’m feeling a bit lost here By the way, “analytic effect system” has been mentioned a couple of times… what does it mean (and what is an effect system for that matter)? Is there some place where I can look this stuff up?(I’m currently revisiting G. Hutton’s “Programming in Haskell 2nd edition” after a few years’ break but this topics are…
H
I guess that’s more of an anciliary point intended to ad absurdum the all-AI pipeline, and yes, AI may prefer a custom IR designed to find a balance between performance, development efficiency, and maintainability. The core point, however, is that as long as you have humans in the loop, you need artifacts that humans can inspect, read, and understand, and Haskell is reasonably good for this niche.
H
Liamzy: The winner for an all-AI pipeline isn’t Python or Javascript, it’s assembly, LLVM, or straight machine code. Of course not, for the same reason it isn’t the “winner” for human toolchains. System’s capabilities abstraction and composition will set the ceiling and the budget for project complexity. Low-level stuff expends the budget like there’s no tomorrow on the minutiae that aren’t even concern for the end users. I’m with @dmjio on this. Pervasive eDSL-fication of your domain enables…
H
The winner for an all-AI pipeline isn’t Python or Javascript, it’s assembly, LLVM, or straight machine code. If you’re not going to be utterly nuts and replace everything with AI, and leave humans in the loop, at least partially, would you rather look at a “beautiful” programming language or spaghetti in a high-boilerplate language? The most likely intermediate pipeline until the profession or hobby completely dies is with human validation and verification, and you’d rather look at an LLM…
H
Seeing as JavaScript is included in the options for targets (question 14), WebAssembly ought to be there too.
H
Thanks, I’ve added it to the list
H
Here’s the implementation: Codeberg.org cabal-progress-bar cabal-progress-bar What now needs to be done is connecting it to cabal and let cabal get the events (first/next module compilation started, component completely compiled). REQUEST FOR CONTRIBUTIONS! => Adding loading indicators to the build command · Issue #8943 · haskell/cabal · GitHub
H
dfilaretti: Yep, interesting… so according to the author what has been suggested before (and I ended up implementing) is an anti pattern. I don’t agree with Snoyman’s article. Some parts of it I agree with, but over all I don’t think it does a good job of charting a way forward. Let’s have a look through it. A common (bad) design pattern I see is something like the following: myFunction :: String -> ExceptT MyException IO Int There are (at least) three problems with this: It’s non-composable .…
H
LexicalNegation is missing from the list of non-GHC2024 extensions.
H
Hi all, during the last couple of months I’ve been working on a little music-related Haskell program. I thought I’d share it here in case anybody else finds it interesting or want to provide feedback. This blog post explains the underlying ideas and motivations in detail, and the code is available here.
H
Answered, thanks a bunch!
H
Dear community, the Haskell Foundation is continuing the tradition of a yearly State of Haskell survey, with the 2026 edition. We hope you’ll take some time (~10 minutes) to tell us about how you use Haskell, so we can better understand and serve the community surveymonkey.com State of Haskell 2026 Take this survey powered by surveymonkey.com. Create your own surveys for free. Please share with people you know! The more responses we get, the better we can plan. The survey will close on November…
H
I just think, that maybe “iutput” word confuse people a bit. Maybe it is more right to call them “Evaluated Existentials”. Has this new name more clear meaning?
H
Hi @syd, After two years of strictly IRL, we will try recording this one. Barring any technical hiccups, we’ll let you know as soon as the video is uploaded.
H
That’s great ! Thanks a lot.
H
Sorry about that, and thanks a lot for reporting. It should work now, I managed to create bindings for your header just now! Details about the bug: The `hs-bindgen` playground had `LANG` unset. hs-bindgen uses libclang to process the header, which uses UTF-8 by default. However, it also runs clang -E when reparsing some declarations to interpret macro invocations. This invocation of clang -E failed when the header contained non-ascii letters, and no LANG was set. In addition, the failure was…
H
Haskell Weekly Issue 548 News about the Haskell programming language from 2026-10-29.
H
Wow! So many good questions! Furthermore, maximum needs Ord. How to push that inside MkE? Or might maximumE just fail at runtime? You are right - we cannot guarantee, that MkE has a type which is bounded by Ord! That’s why such code maximum . unE fails during a compile time! Yes, we need to push boundaries inside the data first and transitively preserve them: data E' = forall a. Ord a => MkE' [a] unE' :: E' -> exists a. Ord a => [a] unE' (MkE' @e xs) = therefore @e in xs Or must I create a…
H
What an excellent release! So many useful improvements, I can’t wait to give it a go!
H
VitWW: lengthE (MkE @e xs) = L.length @e xs length nowadays has two type params, so that code is wrong. How are you going to express the needed typing for therefore? In any case, length is a poor example because it doesn’t care about the element type. Instead, consider: maximum :: (Foldable t, Ord e) => t e -> e So with maximum . unE, unE’s output existential is to be maximum’s input and its output. Does this mean maximum must output an existential? How does that work? Or must I create a…
H
There’s also fromEither and fromEitherM in unliftio, if the Either contains the exception already. But yes, I like this style better than ExceptT
H
The Haskell.Org Committee has agreed to transfer the authority over www.haskell.org over to the Haskell Foundation The Haskell Foundation is therefore putting a new working group in place to manage www.haskell.org, both in terms of content but also all the machinery that builds and serves it. If you have opinions about what the Haskell community’s front page should look like, you’re in luck! We are currently looking for volunteers. Interested parties are invited to send me an e-mail explaining…
H
Just one MicroHS away from being a self-editing editor with native Haskell support.
H
Hi! Syd here Super cool to see someone discuss mutation testing! Will this be recorded? I’d like to see it