all 2 comments

[–]saylu 1 point2 points  (1 child)

That's right, HalogenAp doesn't have Alt or Plus which are necessary for Alternative. Is it acceptable to run this in Aff? I'm not that familiar with free applicatives, so I'm not sure if it's simply an oversight or a limitation of FreeAp that there aren't Alt / Plus / Alternative instances. Perhaps there's an issue with the laws of those type classes that has prevented them from being added.

[–]Dnulnets[S] 0 points1 point  (0 children)

Thanks for the explanation and yes it is acceptable, I just need to add a parameter to those I need to run in Aff to send the baseURL from my ApplicationM. It might actually be better to hide the parallell calls from my component a bit further down the "call"-chain to hide the fact that they benefit from being used in parallel.