VY
https://gist.github.com/throughnothing/1b9fff2e254e4d6df1e19b04c11f980f
сделаю пакет из этого, мб еще кому-то пригодится, чтобы не искать
Size: a a a
VY
VY
ЗП
VY
zoebили
∷ ∀ f a
. Functor f
⇒ f (f (Effect (Lazy a)) → Effect (Lazy a))
→ Effect (f (Lazy a))
zoebт.е. могут выполняться эффекты
∷ ∀ f a m
. Functor f
⇒ MonadEffect m
⇒ f (f (m (Lazy a)) → m (Lazy a))
→ m (f (Lazy a))
moeb
ок, начну с того, что попробую просто добавить по-больше примеров и поиграться с этим, мб в процессе придет осознаниеloeb должен быть, только какой-то такой, наверноеloeb' ∷ ∀ f a. Functor f ⇒ f (Effect (f (Lazy a)) → Effect (Lazy a)) → Effect (f (Lazy a))https://www.reddit.com/r/haskell/comments/1rgvr5/effectful_loeb/
mmoeb f x = mfix go where go g = f ($ g) xнужен
mloeb :: (MonadFix m, Traversable t) => t (t b -> m b) -> m (t b)
mloeb x = mmoeb mapM
mfix, не понятно как его сделать, попробую аналогично сделать http://hackage.haskell.org/package/base-4.12.0.0/docs/src/Control.Monad.Fix.html#mfix. если честно я пока вообще не очень понимаю что я делаюЗП
VY
ЗП
No, but that’s an interesting question
~I’d probably say dying at the moment~ I’ve been informed this is not constructive or helpful. Sorry everyone. (edited)
Even if slowly
Maybe this is what we should discuss
ЗП
isnt purescript deadЗП
Try PureScript is still on 0.11 and the book is dead so maybe I should just take those down and remove the links
VY
AK
VY
ЗП
p
Aq
AP
AK
AK
AK