Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -module(simple).
- -compile(export_all).
- name() ->
- "Tom".
- value() ->
- 10000.
- taxed_value() ->
- value() - (value() * 0.4).
- in_ca() ->
- true.
- %%---------------------------------------------------------------------------
- start() ->
- code:add_patha(".."),
- Output = mustache:render(simple, "simple.mustache"),
- io:format(Output, []).
Add Comment
Please, Sign In to add comment