Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fate of IxMonad #1298

Closed
TheFalseFriend opened this issue Aug 18, 2020 · 6 comments
Closed

Fate of IxMonad #1298

TheFalseFriend opened this issue Aug 18, 2020 · 6 comments

Comments

@TheFalseFriend
Copy link

TheFalseFriend commented Aug 18, 2020

Hi @gcanti,

First of all: great library!

I was perusing https://dev.to/gnomff_65/hyper-ts-is-my-cyborg-brain-34kf, and the concept of IxMonad caught my eye. I was looking to play around with these monads using fp-ts and it seems there did exist an implementation in-library (#180) up until relatively recently (here is a reference from 9/5/19).

Upon closer inspection it looks like IxMonad was deprecated and removed in v2. However, I can't find any documentation as to why that module was removed. The only references I could find were;

  • here - just mentions IxMonad as a 'removed module', does not elaborate
  • here - just mentions IxMonad as 'deprecated', does not elaborate

Further the 'technical discussion that resulted in v2' this doesn't mention IxMonad other than the reference above.

I can see hyper-ts also ripped out its use of fp-ts' IxMonad in favour of its own implementation for the release of fp-ts v2.

So these are my questions:

  • what was the fate of IxMonad? Why cull it?
  • what was IxMonad depcrecated in favour of?

Thanks in advance!

@anilanar
Copy link
Contributor

Maybe I can necro bump this question @gcanti

@gcanti
Copy link
Owner

gcanti commented Feb 26, 2021

I don't remember the details now but I wasn't satisfied by the encoding of IxMonad in TypeScript

@derrickbeining
Copy link

derrickbeining commented May 1, 2021

I've been wanting IxMonad et. al. in fp-ts lately. I had to implement them in order to port purescript-react-basic-hooks to TS recently.

@anilanar
Copy link
Contributor

anilanar commented May 2, 2021

@derrickbeining Funny enough, I did the same.

@derrickbeining
Copy link

FYI: there's been some more activity on this front over here #1473

@EricCrosson
Copy link
Contributor

#1473 has been closed (resolved -- separate package published), perhaps it's time to close this issue too?

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

No branches or pull requests

5 participants