Packages

Lets you define multiple heads for the same function: defmodule Test do import MultiDef mdef fred do { :init, val } -> fred {:double, val} { :double, val } -> IO.puts(val*2) a, b -> a+b end end IO.inspect Test.fred 1, 2 ...

Current section

1 Dependant

Jump to

Packages depending on multidef

1 package
  • hmc5883l v0.5.0 requires ~>0.2

    OTP application for reading the HMC5883L 3-axis magnetometer. Magnetic heading is read at approx. 13hz (every 75ms)

    Updated about 10 years ago

    28
    recent downloads
1 package of 1 total

Checksum

Dependency Config

mix.exs

rebar.config

Gleam

erlang.mk

Package Details

Downloads Last 30 days, all versions
0 2 4 6 8

this version

2 183

yesterday

7

last 7 days

17

all time

2 988

Last Updated

Apr 20, 2015

License

Same as Elixir

Build Tools

mix

Links

Owners