Need help with ex2ms?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

141 Stars 26 Forks 78 Commits 2 Opened issues


:ets.fun2ms for Elixir, translate functions to match specifications

Services available


Need anything else?

Contributors list


Build Status

Translates Elixir functions to match specifications for use with

. Requires Elixir 1.0 or later.


Add ex2ms to your Mix dependencies:

defp deps do
  [{:ex2ms, "~> 1.0"}]

In your shell write the following to get up and running to try ex2ms out:

mix deps.get
iex -S mix
iex(1)> import Ex2ms
iex(2)> fun do { x, y } = z when x > 10 -> z end
iex(3)> :ets.test_ms({ 42, 43 }, v(2))
iex(4)> :ets.test_ms({ 0, 10 }, v(2))


Copyright 2013 Eric Meadows-Jönsson

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.