Skip to content

Implement PrimGen#16

Merged
curiousleo merged 2 commits intointerface-to-performancefrom
primgen
Mar 13, 2020
Merged

Implement PrimGen#16
curiousleo merged 2 commits intointerface-to-performancefrom
primgen

Conversation

@lehins
Copy link
Copy Markdown
Collaborator

@lehins lehins commented Mar 1, 2020

This PR includes a wrapper around pure generator that can be used in IO in a thread safe manner. Because it is restricted to PrimMonad instead of IO it is also useful in ST and with various transformers. It basically implements half of the #15

@Shimuuar this something along the lines that you suggested.

Copy link
Copy Markdown
Collaborator

@curiousleo curiousleo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is really elegant.

This was referenced Mar 2, 2020
@lehins lehins mentioned this pull request Mar 6, 2020
@curiousleo curiousleo merged commit 4024650 into interface-to-performance Mar 13, 2020
@curiousleo curiousleo deleted the primgen branch March 17, 2020 09:56
curiousleo added a commit that referenced this pull request May 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants