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
If chain/1 is called inside iex session once and I try to call it the second time, Elixir tells that chain/1 does not exist. use Witchcraft or use Witchcraft.Chain fixes it.
Erlang/OTP24[erts-12.1.2][source][64-bit][smp:12:12][ds:12:12:10][async-threads:1][jit][dtrace]Interactive Elixir (1.12.3)-pressCtrl+Ctoexit(typeh() ENTER for help)iex(1)>useWitchcraftWitchcraftiex(2)> chaindo...(2)>[1,2,3]...(2)>[4,5,6]...(2)>end[4,5,6,4,5,6,4,5,6]iex(3)> chaindo...(3)>[1,2,3]...(3)>[4,5,6]...(3)>end**(CompileError) iex:3: undefined function chain/1iex(3)>useWitchcraftWitchcraftiex(4)> chaindo...(4)>[1,2,3]...(4)>[4,5,6]...(4)>end[4,5,6,4,5,6,4,5,6]iex(5)> chaindo...(5)>[1,2,3]...(5)>[4,5,6]...(5)>end**(CompileError) iex:5: undefined function chain/1iex(5)>
The text was updated successfully, but these errors were encountered:
If
chain/1
is called insideiex
session once and I try to call it the second time, Elixir tells thatchain/1
does not exist.use Witchcraft
oruse Witchcraft.Chain
fixes it.The text was updated successfully, but these errors were encountered: