Hi Aidan,
I'm not aware of an analog of that type class, and it might simply be
that nobody has wanted it in PureScript yet. What I would suggest in
this case is indeed creating a new package containing the type class(es)
you want. I might suggest something like `purescript-monad-zip` and/or
`purescript-monad-fix` over `purescript-control-extras` so that it's a
little clearer what the package contains, but since it's your own
package it's entirely up to you.
See also
https://github.com/zrho/purescript-monad-fix - which looks like
it was written for a previous version of the compiler and probably needs
a small amount of work before it's useful again, but could be a good
starting point.
In general, one possibility in cases where you might want to avoid
incurring a `tuples` dependency is to use a record like { fst :: a, snd
:: b } instead of a tuple, although in this case I think I probably
would go for tuples anyway.
Best
Harry
> --
> You received this message because you are subscribed to the Google Groups
> "purescript" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
purescript+...@googlegroups.com.
> Visit this group at
https://groups.google.com/group/purescript.
> For more options, visit
https://groups.google.com/d/optout.