Adam πŸ‘‘πŸ—‘οΈπŸ” is a user on octodon.social. You can follow them or interact with them if you have an account anywhere in the fediverse. If you don't, you can sign up here.
Adam πŸ‘‘πŸ—‘οΈπŸ” @judges119

Slowly trying to learn Erlang, my first little test last night was to remake module_attributes/1. My attempt:

mod_info(Attribute) ->
hd([ Y || {X, Y} <- module_info(), {X, Y} =:= {Attribute, Y}]).

It works! πŸ‘

Β· Web Β· 0 Β· 1