We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mnemonix.Conn
Rather than returning the raw t:GenServer.server/0 for consumption in the Mnemonix API, we could instead wrap that value in a Mnemonix.Conn struct.
t:GenServer.server/0
Mnemonix
There are several cool things we could do with a struct instead:
Kernel.put_in
Enum.into/2
Mnemonix.new
Map.from_struct/1
Map.merge/3..4
Map.split/2
Map.take/2
Map.keys/1
Map.values/1
Map.to_list/1
Map.equal/2
Comperable
Map
Of course, there are some issues:
start_link
Merits some more experimentation.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Rather than returning the raw
t:GenServer.server/0
for consumption in theMnemonix
API, we could instead wrap that value in aMnemonix.Conn
struct.There are several cool things we could do with a struct instead:
Kernel.put_in
and ilkEnum.into/2
Mnemonix.new
Map.from_struct/1
Map.merge/3..4
Map.split/2
Map.take/2
Map.keys/1
Map.values/1
Map.to_list/1
Map.equal/2
would have no analogComperable
protocolMnemonix
API into a protocol and implement it forMnemonix.Conn
Map
real parity with in-mem data storesOf course, there are some issues:
start_link
Merits some more experimentation.
The text was updated successfully, but these errors were encountered: