In this example, we will learn, how to name directories, files and module names.
- Directory/file names should be lower case with words separate using
_
(underscore).- module_example.ex should be the file name for ModuleExample
- module_example/ should be the directory name for keeping the child modules of ModuleExample
- Module names should be in camel case. Parent and child modules are separated by
.
(dot), it shows hierarchy of the module tree.- ModuleExample is the parent module name.
- ModuleExample.ChildModule1 is the child module name.
In this example, we will learn about structs
- struct_example.ex is basic struct
- complex_struct_example.ex is complex struct which uses the basic struct
This repo contains my solutions to https://github.com/exercism/elixir