I'm I missing something, or current implementation of Queue cannot be functor?
t
I'm I missing something, or current implementation of Queue cannot be functor?
basically what i need is
Queue<F,A> -> (A->B) -> Queue<F,B>
no need for functor specifically
p
from Queue you can get an IO and then map that, if that’s what you’re asking
t
Thanks, you pointed me right way. Queue isn't what I need 🙂. Close but not quite.
p
Was it Ref?
t
yep. ref and few extension functions
but yeah, Ref is the part that relates to my question
p
hahaha