You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In short: no. You can use them together, but they’re fully separate. Unfortunately there’s a very restricted number of operators in Elixir, so it’s a different ~>/2. You’ll also find ~>/2 in other libraries doing totally different things.
use Witchcraft.Applicative, except: [~>: 2]
To use them together, you’d need to do something like this, yeah.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
[Ported from the old Witchcrafters Discourse]
creminology:
I’ve often wondered if Exceptional 2 is compatible with Witchcraft since both use the ~>/2 operator.
Maybe it needs an override, for example:
use Witchcraft.Applicative, except: [~>: 2]
@expede:
In short: no. You can use them together, but they’re fully separate. Unfortunately there’s a very restricted number of operators in Elixir, so it’s a different ~>/2. You’ll also find ~>/2 in other libraries doing totally different things.
To use them together, you’d need to do something like this, yeah.
Beta Was this translation helpful? Give feedback.
All reactions