haskell / haskell/transformers

Applicative methods of RWST are not all inlined

Open
#98 4 comments 1 reaction 0 assignees View on GitHub
good first issue
Dominant language
Haskell
Stars
5
Forks
10
Avg merge
2h 21m
Merged PRs (30d)
1

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 (<*)?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.