Good First Issues in Haskell
Curated beginner tickets strictly indexed from verified Tier S, A, and B Haskell repositories. Every listed issue has live maintainer telemetry confirming active review turnaround and high external PR landing rates.
Tickets are capped at 2–3 per repository to prevent farmable spam. If maintainers become inactive, their tickets are pruned automatically.
Snipe fresh Haskell beginner issues
Beginner tickets in welcoming repos get claimed quickly. Get pinged the minute a maintainer opens a new issue.
Get this week's top welcoming repos + fresh Good First Issues for Haskell
Free weekly email, scoped to Haskell. No account needed - confirm once and unsubscribe anytime.
Live Available Issues (26)
Environment Accelerate 1.4.0.0 GHC 9.8.4 / base 4.19.2.0 Linux x86_64 Reproducing Main.hs: module Main where import Control.Exception (evaluate) import Control.Monad (forM_, when) import qualified Data.Array.Accelerate as A import qualified Data.Array.Accelerate.Trafo.Sharing as Sharing import GHC.Conc (setNumCapabilities) stage :: Int -> A.Acc (A.Vector Double) -> A.Acc (A.Vector Double) stage n input = foldl1 (A.zipWith (+)) [A.map (\x -> x + A.constant (fromIntegral (n + i))) input | i <- [1 .. 8 :: Int]] program :: Int -> A.Acc (A.Vector Double) -> A.Acc (A.Vector Double) program n input = foldl (\x f -> f x) input (replicate 40 (stage n A.>-> stage (n + 1))) main :: IO () main = do setNumCapabilities 8 forM_ [1 .. 1000 :: Int] $ \n -> do _ <- evaluate (length (show (Sharing.convertAfun (program n)))) when (n `mod` 100 == 0) (print n) With Accelerate installed and available to GHC: ghc -O1 -threaded -rtsopts -package accelerate Main.hs -o repro ./repro +RTS -A64k
Environment Operating System: Docker tooling on arm macOS Toolchain (compiler + version): Docker version Version or commit: Dev branch as of today Expected Behaviour The HLS working in my editor Actual Behaviour The Haskell plugin for VSCode is displaying a crash for the Haskell server with this error : Couldn't find a working/matching GHC installation. Consider installing ghc-9.10.3 via ghcup or build HLS from source. When launching haskell-language-server-wrapper from a bash inside the devel docker container (what the plugin is doing from scripts/hls-docker.sh) I get this log : full log ➜ flora-server git:(development) haskell-language-server-wrapper Found "/Users/tixie/Sources/flora-server/hie.yaml" for "/Users/tixie/Sources/flora-server/a" 2026-10-22T18:34:58.448042Z | Debug | Cradle Config: CradleConfig {cradleDependencies = [], cradleTree = CabalMulti {defaultCabal = Cabal { component = Nothing, projectFile = Nothing}, subCabalComponents = [("./src/core",Cabal { component
(all-but-last '()) and (all-but-last []) abort the compiler with "Prelude.init: empty list" (empty list error in haskell). repro: (defmacro m [] (do (all-but-last '()) 0)) (defn main [] (m)) cheers
We got a warning message on linting workflow… about node 20, but for hlint, weird. Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: haskell-actions/hlint-run@eaca4cfbf4a69f4eb875df38b6bc3e1657020378, haskell-actions/hlint-setup@fe9cd1cd1af94a23900c06738e73f6ddb092966a. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/ For example on : https://github.com/flora-pm/flora-server/actions/runs/38603654635 Should something be done about it? Is it something with the NodeJS version of the ubuntu its runned on? To investigate i guess
Related to #1332 i think there could a solution to facilitate the publication of ~content pages base of markdown files. It would use the same kind of rendering use for Readmes or the About page. It would require a title value in the frontmatter and an optional description one. And the goal be to point to a markdown file, define a route that would be it to have a page at the chosen address. It would be useful for the /documentation/ but for any future need of simple content pages in the future. We could even imagine give a folder (and sub-folders) of markdown pages and a chosen path prefix and it would generate automatically all the equivalent routes matching the folder structure and files names (with index.md as the root endpoint of each folder) Im assigning it to you @tchoutri as we discussed this idea just earlier
Motivation There's a SPECIALIZE pragma on replicateA which writes special faster code for it when the internal State monad is used, but users can't access it through normal means. It's also a more general version of iterate. I think it should be exposed. Proposal There should be a method replicateS: replicateS :: Int -> (s -> (s, a)) -> s -> Seq a replicateS n f = execState (replicateA n (State f)) -- 'iterate' would be defined using it. iterate :: Int -> (a -> a) -> a -> Seq a iterate n f = replicateS n (\a -> (f a, a)) -- Rewrite rules could be added. {-# RULES "fmapSeq/replicateS" forall f n m s. fmapSeq f (replicateS n m s) = replicateS n (fmap f . m) s #-} Options There could be a version which uses runState instead of execState, and returns the modified state as well as the sequence.
On the new pipeline, atrace is not implemented on the PTX platform. atrace (& friends) provide tracing like in Debug.Trace, exported from Data.Array.Accelerate.Debug.Trace. In the rewrite of the compiler, they still need to be implemented for the PTX backend. To work on this issue, you need to work on the new pipeline of Accelerate, available via the branch new-pipeline on my fork (https://github.com/ivogabe/accelerate/tree/new-pipeline). Install cbc and clang as command line tools and add them to the PATH. Write an Accelerate program that uses atrace, and run this program on the PTX backend. You will get errors about missing implementations for atrace in certain functions, which should all be addressed for this issue.
Value has two count maps: an IntMap Int recording how many inner maps have each size, and a Map K Int recording how many negative amounts each currency holds (added in #7954). Both store only positive counts. The update functions maintain this invariant manually; a missed zero-removal branch can leave stale cache entries and affect the derived Eq. Use an abstract newtype Positive over Int for both maps, with construction and count updates restricted to a small API. Decrementing a valid positive count should return Nothing when it reaches zero, allowing Map.update / IntMap.update to delete the entry. A constructor from an arbitrary Int must reject all non-positive inputs. Keep tests comparing the caches with recomputed counts; remove the redundant standalone no-zero assertion. Reuse the existing zero-removal branches. The wrapper itself adds no representation overhead. Serialization stays unchanged because the caches are recomputed on decode. Acceptance criterion: runtime performance is
I have looked into the necessary updates to ensure the utility packages work with Accelerate 1.4. I have looked only at the packages listed in the Accelerate README. Overview lens-accelerate: works on master branch, needs major version bump due to re-export of Control.Lens (see also tmcdonell/lens-accelerate#1). accelerate-io: works on master branch. Release due to code changes (no API changes): accelerate-io accelerate-io-vector accelerate-io-JuicyPixels accelerate-io-array accelerate-io-bytestring needs release with major version bump (removed equations from type family). Others do not need changes. linear-accelerate needs release (fix in Num instances, already on master). Also need to relax lens upper bound to 6. accelerate-fft: OverloadedStrings language extension required in llvm-cpu codegen, due to change in dependency. Updated in AccelerateHS/accelerate-fft#14. Installation instructions would be nice to have, since it requires FFTW to be installed (for the native backend
Given a Gren file with a known compilation issue like so: module Broken exposing (..) main = Html.text "Hello" If I compile this module with output to a file, compilation errors are reported to STDERR: $ gren make Broken --output=broken.js --report=json 2> errors.json $ cat errors.json | jq { "type": "compile-errors", "errors": [ { "path": # etc... But if I redirect the output to STDOUT, reporting on STDERR disappears. $ gren make Broken --output=/dev/stdout --report=json 2> errors.json $ cat errors.json # file is empty Gren version 0.6.6 on Linux.
Currently there is no way in SAWScript to construct an Int value that is less than zero. This may or may not have been intentional; however, it's undocumented, unexpected, and not consistent with the name of the type. Rather than rename the type to Nat or UInt or something at great length, we should just lift this restriction. One way is via #3392: currently you can only lift back to Int from Cryptol bitvectors and that mechanism is unsigned-only, but #3392 expands that to Cryptol's Integer type. We don't necessarily need to add SAWScript-level arithmetic, but we should at least allow negative integer literals. That is neither difficult to parse nor difficult to implement. Note that before allowing negative Int values we do need to take steps to avoid exposing them as Cryptol numeric types, which are unsigned. This is being handled in #3392 and #3393.
In the CircuitHub codebase we have: -- | @range \@> now()@: true when the current timestamp falls within the range. currentlyValid :: Expr (Range UTCTime) -> Expr Bool currentlyValid range = rawBinaryOperator "@>" range now we should upstream this or something similar, since this is something we want to quite often do with ranges.
Currently, names produced in generated LLVM code are not consistently mangled to ensure they don't clash with one another or with user-written code. We should think through how much mangling is needed for this, and implement it consistently for all generated names in LLVM code.
Summary DateTime (core/core/DateTime.hs) derives ToJSON/FromJSON but has no ToSchema instance. Because Schema's generic derivation requires every field's type to have ToSchema, any record exposed through the web transport — a query read model registered via deriveQuery / withQuery, or any type deriving ToSchema — fails to compile the moment it contains a DateTime (or Maybe DateTime) field. Since DateTime is the natural type for timestamps carried on events and folded onto entities, this makes it impossible to surface a timestamp on an HTTP read model without a workaround (an orphan instance, or converting the field to Int epoch seconds / Text first). Reproduction import Core data Row = Row { id :: Uuid , occurredAt :: DateTime -- or `Maybe DateTime` } deriving (Generic) instance ToSchema Row -- ❌ No instance for `ToSchema DateTime` Maybe DateTime fails the same way — instance ToSchema (Maybe inner) needs ToSchema inner. Expected DateTime should have a ToS
Following the publication of Scarf moving away from Haskell, discussions mentioned that type-family-heavy code, like code using beam, can build slowly. I personally think that the tradeoff for this slower compilation is much, much more safety when interacting with the database. However, if we can preserve this safety and improve build times, we should! This ticket is about creating a benchmark for building a beam-based application. Improvements to build times can follow separately.
Please consider adding hadolint on winget.
MySQL remains a serious choice over Postgres in many domains. We should support it. There exists a beam-mysql, but it is unmaintained. beam-mysql is based on mysql, which is also unmaintained. We should: import beam-mysql in this repo; Switch over to use mysql-haskell, which is maintained I'm a little oversubscribed at the moment, but I'm happy to review pull requests!
The SAWScript typechecker and interpreter are built with -Wno-incomplete-uni-patterns and there's a long comment at the bottom of Typechecker.hs that explains why. Basically, there are a couple places that use irrefutable patterns with incomplete matches as a shortcut. These basically function as assertions that the omitted cases of the partial matches are not reached, which is fine until they are and then it turns out that the generated code throws UserError behind your back. That results in the following undesirable behavior: sawscript> let x = 3 saw-script/src/SAWScript/Typechecker.hs:2216:5-60: Non-exhaustive patterns in [(pat'', e1, s)] sawscript> IOW, it crashes but doesn't exit, and while it does print the Haskell source location, it doesn't print what the offending value was. This is not what we want; the handful of affected cases should be turned into explicit panics that print useful messages. We can afford a couple extra lines of code for that in a project the size of SA
Many stream primitives can probably be rewritten with Selective since they only bind on a case distinction.
Our current default warning and language settings are a bit ridiculous. Lots of things are globally on for no reason, lots of things are globally off for no reason, and there's no reasonable structure to what is on or off. The Cabal file should be organized better, and the defaults should be improved.
Right now it is specialised to lists: concatS :: (Monad m) => StreamT m [a] -> StreamT m a I believe it could be: concatS :: (Monad m, Foldable t) => StreamT m (t a) -> StreamT m a Same for the automaton version.
Someone has kindly prepared support for Zed in the Zed Haskell Extension. It'd be good to reference it from the readme (Along with support for VScode, vim, emacs)
Description (-) and negate over Natural throw Underflow on negative results. fromInteger 0 correctly rejects zero, but 1 - 2 :: ContestationPeriod silently produces a runtime exception rather than a typed failure. The on-chain protocol assumes cp > 0; the type intends to enforce this but exposes ways to violate it that panic instead of returning Maybe. Location: hydra-tx/src/Hydra/Tx/ContestationPeriod.hs:28-38. Verification Read the Num instance; both operators delegate to Natural which throws on underflow. Suggested fix Remove the Num instance, or implement (-) and negate as error "use fromNominalDiffTime". Only legitimate constructors are fromInteger >0 and fromNominalDiffTime.
Description UTxO.fromList $ zip (txIns' tx) outputs zips the transaction's spent inputs with the freshly-produced decommit outputs. The resulting TxIn keys reference the head/fee-input UTxOs, not the new outputs. Latent bug since downstream consumers only read outputsOfUTxO, but any indexer/client touching the TxIns sees ghost references. Location: hydra-tx/src/Hydra/Tx/Decrement.hs:130-137. Verification Read the observation builder; compared with observeFanoutTx/observeFinalPartialFanoutTx which correctly use mkTxIn tx <$> [0..]. Suggested fix Replace inputs = txIns' tx with inputs = mkTxIn tx <$> [1..] (decommit outputs start at index 1; head output is index 0).
Welcoming Haskell Repositories (12)
A modern step-through debugger for GHC Haskell
A modern package index for the Haskell ecosystem
Implementation of the Hydra Head protocol
The Software Analysis Workbench
The Plutus language implementation and tools
The Daml smart contract language