Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Applicative methods of RWST are not all inlined

Open
#98 4 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
55/100
Issue type
Refactor
Clarity
Clearly specified
Activity status
Quiet
Tech stack
haskell
Domain
performance

Research direction

Locate the RWST definitions for liftA2, (>) and (<), then inspect how existing INLINE pragmas are applied nearby. Add the requested pragmas and verify that the specialized assoc0RWS example can inline these Applicative methods.

Written by the indexing model from the issue text.

Description

good first issue

[original issue 97 by Lysxia2 a.k.a. @Lysxia]

For example, this specialized use of liftA2 does not get inlined:

assoc0RWS :: RWS r (Endo w) s a -> RWS r (Endo w) s b -> RWS r (Endo w) s (a,b)
assoc0RWS x y = liftA2 (,) x y

Can we add an INLINE pragma to liftA2, (*>) and (<*)?

Dominant language
Haskell
Stars
5
Forks
10
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from haskell/transformers

All issues in haskell/transformers

Similar issues

More Haskell issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.