Applicative methods of RWST are not all inlined
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
[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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from haskell/transformers
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
haskell/transformers#21 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 72/100
haskell/transformers#130 · 1 comment ·
-
Strictness testing of transformersMay be free again @ynishiza claimed this 111 days ago, and no pull request is open. Openenhancement good first issue help wanted
haskell/transformers#123 · 21 comments · 1 assignee ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
haskell/transformers#100 · 2 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
haskell/transformers#96 · 1 reaction ·
All issues in haskell/transformers
Similar issues
-
Difficulty 1/5 1-3 hours Newbie friendliness 88/100
objectionary/phino#1724 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 1-3 hours Newbie friendliness 82/100
tomjaguarpaw/bluefin#108 ·
-
infrastructure
Difficulty 1/5 Under an hour Newbie friendliness 92/100
alunduil/collection-json.hs#373 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
digital-asset/daml#23439 ·
Maintainers usually reply within 1 day
-
Advance the dependency pin set to cardano-node 11.1.3Possibly taken @paolino claimed this 1 day ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 70/100