Skip to content

Address inlinability/rewrite rules better #63

Description

@treeowl

Notably, the m >>= f unfolding looks something like fromViewT <a loop breaker>. That means that if m is itself fromViewT whatsit, we won't be able to rewrite toViewT (fromViewT whatsit) to whatsit. That seems sad.

I haven't been able to figure out a way to turn lift m >>= lift . f to lift (m >>= f). Is there some way we can arrange things so that falls out?

Is there something we can do about it? Also: it seems kind of random what's INLINE and what's INLINABLE. Let's figure out what it should be and why and write notes.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions