mod

functions to manipulate modules

doc/1

return the documentation of Mod as a string

doc_to_file/2

save the documentation of the module Mod to FilePath

fundoc/3

return the documentation of the function Mod.Fun/Arity

get_attribute/3

return the first attribute with name Name. return Default if not found

attributes/2

return all the attributes with name Name as a List, if no attribute with that name is found then it will return an empty list.

This function is useful to get attributes that are specific to a function like the @doc attribute, the function matches all the attributes that are tuples with the name of the attribute as the first element

attribute/3

define a parametrized module

Table Of Contents

Previous topic

lst

Next topic

rest

blog comments powered by Disqus