so in my phx project I added this to my mix.exs {:curvy, "~> 0.3.0"}
then I did mix deps.get on the commandline
then I did iex on commandline
then I get this error:
iex(2)> Curvy.generate_key()
** (UndefinedFunctionError) function Curvy.generate_key/0 is undefined (module Curvy is not available)
Curvy.generate_key()
You need to iex -S mix to load your application and its dependencies into iex, alternatively you can use the following given your elixir version is new enough: