ms_transform

ms_transform

Module

ms_transform

Module summary

A parse transformation that translates fun syntax into match specifications.

Description

This module provides the parse transformation that makes calls to ets and dbg:fun2ms/1 translate into literal match specifications. It also provides the back end for the same functions when called from the Erlang shell.

The translation from funs to match specifications is accessed through the two "pseudo functions" ets:fun2ms/1 and dbg:fun2ms/1.

As everyone trying to use 登录查看完整内容