kolmodin / binary

Efficient, pure binary serialisation using ByteStrings in Haskell.
Other
105 stars 67 forks source link

Mark many in Alternative instance as INLINEABLE #197

Closed AndreasPK closed 1 year ago

AndreasPK commented 2 years ago

Since many is recursive ghc will never inline it. Even if we mark as INLINE. However ghc will complain if we compile with core lint enabled.

So we just mark it as INLINEABLE instead.