Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/maestropravaler/estudos-da-documentacao-do-elixir

Estudos sobre o Elixir com exemplos de projetos e desafios do HackerHank
https://github.com/maestropravaler/estudos-da-documentacao-do-elixir

elixir-lang elixir-phoenix projects

Last synced: 1 day ago
JSON representation

Estudos sobre o Elixir com exemplos de projetos e desafios do HackerHank

Awesome Lists containing this project

README

        

# Estudos da Documentação
![https://elixir-lang.org/](assets/image/logo.png)

### [1. Basic types](https://github.com/Robson-Maestro/ESTUDOS-DA-DOCUMENTACAO-DO-ELIXIR/tree/master/01_Basic_Type)
* [Simple - Conceitos iniciais](https://github.com/Robson-Maestro/ESTUDOS-DA-DOCUMENTACAO-DO-ELIXIR/blob/master/01_Basic_Type/00_simple.exs)
* [Basic arithmetic](https://github.com/Robson-Maestro/ESTUDOS-DA-DOCUMENTACAO-DO-ELIXIR/blob/master/01_Basic_Type/01_Basic_arithmetic.exs)
* [Identifying functions and documentation](https://github.com/Robson-Maestro/ESTUDOS-DA-DOCUMENTACAO-DO-ELIXIR/blob/master/01_Basic_Type/02_Identifying_functions_and_documentation.exs)
* [Booleans](https://github.com/Robson-Maestro/ESTUDOS-DA-DOCUMENTACAO-DO-ELIXIR/blob/master/01_Basic_Type/03_boleanos.exs)
* [Atoms](https://github.com/Robson-Maestro/ESTUDOS-DA-DOCUMENTACAO-DO-ELIXIR/blob/master/01_Basic_Type/04_Atoms.exs)
* [Strings](https://github.com/Robson-Maestro/ESTUDOS-DA-DOCUMENTACAO-DO-ELIXIR/blob/master/01_Basic_Type/05_Strings.exs)
* [Anonymous functions](https://github.com/Robson-Maestro/ESTUDOS-DA-DOCUMENTACAO-DO-ELIXIR/blob/master/01_Basic_Type/06_Anonymous_Functions.exs)
* [(Linked) Lists](https://github.com/Robson-Maestro/ESTUDOS-DA-DOCUMENTACAO-DO-ELIXIR/blob/master/01_Basic_Type/07_Lists.exs)
* [Tuples](https://github.com/Robson-Maestro/ESTUDOS-DA-DOCUMENTACAO-DO-ELIXIR/blob/master/01_Basic_Type/07_Lists.exs)

### [2. Basic operators](https://github.com/Robson-Maestro/ESTUDOS-DA-DOCUMENTACAO-DO-ELIXIR/tree/master/02_Basic_Operators)
* [Basic Operators](https://github.com/Robson-Maestro/ESTUDOS-DA-DOCUMENTACAO-DO-ELIXIR/blob/master/02_Basic_Operators/Basic_Operators.exs)

### [3. Pattern matching](https://github.com/Robson-Maestro/ESTUDOS-DA-DOCUMENTACAO-DO-ELIXIR/tree/master/03_Pattern_Matching)
* [The match operator](https://github.com/Robson-Maestro/ESTUDOS-DA-DOCUMENTACAO-DO-ELIXIR/tree/master/03_Pattern_Matching/01_The_Match_Operator.exs)
* [Pattern matching](https://github.com/Robson-Maestro/ESTUDOS-DA-DOCUMENTACAO-DO-ELIXIR/tree/master/03_Pattern_Matching/02_Pattern_Matching.exs)
* [The pin operator](https://github.com/Robson-Maestro/ESTUDOS-DA-DOCUMENTACAO-DO-ELIXIR/tree/master/03_Pattern_Matching/03_The_Pin_Operator.exs)

### [4. case, cond, and if](https://github.com/Robson-Maestro/ESTUDOS-DA-DOCUMENTACAO-DO-ELIXIR/tree/master/04_case_cond_if)
* [case](https://github.com/Robson-Maestro/ESTUDOS-DA-DOCUMENTACAO-DO-ELIXIR/tree/master/04_case_cond_if/01_case.exs)
* [cond](https://github.com/Robson-Maestro/ESTUDOS-DA-DOCUMENTACAO-DO-ELIXIR/tree/master/04_case_cond_if/02_cond.exs)
* [if and unless](https://github.com/Robson-Maestro/ESTUDOS-DA-DOCUMENTACAO-DO-ELIXIR/tree/master/04_case_cond_if/03_if_and_unless.exs)
* [do/end blocks](https://github.com/Robson-Maestro/ESTUDOS-DA-DOCUMENTACAO-DO-ELIXIR/tree/master/04_case_cond_if/04_do_end_blocks.exs)

### [5. Binaries, strings, and charlists](https://github.com/Robson-Maestro/ESTUDOS-DA-DOCUMENTACAO-DO-ELIXIR/tree/master/05_Binaries_Strings_Charlists)
* [Unicode and Code Points](https://github.com/Robson-Maestro/ESTUDOS-DA-DOCUMENTACAO-DO-ELIXIR/tree/master/05_Binaries_Strings_Charlists/01_Unicode_and_Code_Points.exs)
* [UTF-8 and Encodings](https://github.com/Robson-Maestro/ESTUDOS-DA-DOCUMENTACAO-DO-ELIXIR/tree/master/05_Binaries_Strings_Charlists/02_UTF-8_and_Encodings.exs)
* [Bitstrings](https://github.com/Robson-Maestro/ESTUDOS-DA-DOCUMENTACAO-DO-ELIXIR/tree/master/05_Binaries_Strings_Charlists/03_Bitstrings.exs)
* [Binaries](https://github.com/Robson-Maestro/ESTUDOS-DA-DOCUMENTACAO-DO-ELIXIR/tree/master/05_Binaries_Strings_Charlists/04_Binaries.exs)
* [Charlists](https://github.com/Robson-Maestro/ESTUDOS-DA-DOCUMENTACAO-DO-ELIXIR/tree/master/05_Binaries_Strings_Charlists/05_Charlists.exs)

### [6. Keyword lists and maps](https://github.com/Robson-Maestro/ESTUDOS-DA-DOCUMENTACAO-DO-ELIXIR/tree/master/06_Keyword_Lists_Maps)
* [Keyword lists](https://github.com/Robson-Maestro/ESTUDOS-DA-DOCUMENTACAO-DO-ELIXIR/tree/master/06_Keyword_Lists_Maps/01_Keyword_Lists.exs)
* [Maps](https://github.com/Robson-Maestro/ESTUDOS-DA-DOCUMENTACAO-DO-ELIXIR/tree/master/06_Keyword_Lists_Maps/02_Maps.exs)
* [Nested data structures](https://github.com/Robson-Maestro/ESTUDOS-DA-DOCUMENTACAO-DO-ELIXIR/tree/master/06_Keyword_Lists_Maps/03_Nested_Data_Strutures.exs)

### [7. Modules and Functions](https://github.com/Robson-Maestro/ESTUDOS-DA-DOCUMENTACAO-DO-ELIXIR/tree/master/07_Modules_Functions)
* [Compilation](https://github.com/Robson-Maestro/ESTUDOS-DA-DOCUMENTACAO-DO-ELIXIR/tree/master/07_Modules_Functions/01_Compilation.exs)
* [Scripted mode](https://github.com/Robson-Maestro/ESTUDOS-DA-DOCUMENTACAO-DO-ELIXIR/tree/master/07_Modules_Functions/02_Scripted_Mode.exs)
* [Named functions](https://github.com/Robson-Maestro/ESTUDOS-DA-DOCUMENTACAO-DO-ELIXIR/tree/master/07_Modules_Functions/03_Named_Functions.exs)
* [Function capturing](https://github.com/Robson-Maestro/ESTUDOS-DA-DOCUMENTACAO-DO-ELIXIR/tree/master/07_Modules_Functions/04_Function_Capturing.exs)
* [Default arguments](https://github.com/Robson-Maestro/ESTUDOS-DA-DOCUMENTACAO-DO-ELIXIR/tree/master/07_Modules_Functions/05_Default_Arguments.exs)

### [8. Recursion](https://github.com/Robson-Maestro/ESTUDOS-DA-DOCUMENTACAO-DO-ELIXIR/tree/master/08_Recursion/)
* [Loops through recursion](https://github.com/Robson-Maestro/ESTUDOS-DA-DOCUMENTACAO-DO-ELIXIR/tree/master/08_Recursion/01_Loops_Through_Recursion.exs)
* [Reduce and map algorithms](https://github.com/Robson-Maestro/ESTUDOS-DA-DOCUMENTACAO-DO-ELIXIR/tree/master/08_Recursion/02_Reduce_and_map_algorithms.exs)

### [9. Enumerables and streams](https://github.com/Robson-Maestro/ESTUDOS-DA-DOCUMENTACAO-DO-ELIXIR/tree/master/09_Enumerables_Streams/)
* [Enumerables](https://github.com/Robson-Maestro/ESTUDOS-DA-DOCUMENTACAO-DO-ELIXIR/tree/master/09_Enumerables_Streams/01_Enumerables.exs)
* [Eager vs Lazy](https://github.com/Robson-Maestro/ESTUDOS-DA-DOCUMENTACAO-DO-ELIXIR/tree/master/09_Enumerables_Streams/02_Eager_vs_Lazy.exs)
* [The pipe operator](https://github.com/Robson-Maestro/ESTUDOS-DA-DOCUMENTACAO-DO-ELIXIR/tree/master/09_Enumerables_Streams/03_The_Pipe_Operator.exs)
* [Streams](https://github.com/Robson-Maestro/ESTUDOS-DA-DOCUMENTACAO-DO-ELIXIR/tree/master/09_Enumerables_Streams/04_Streams.exs)

### [10. Processes](https://github.com/Robson-Maestro/ESTUDOS-DA-DOCUMENTACAO-DO-ELIXIR/tree/master/10_Processes/)
* [spawn](https://github.com/Robson-Maestro/ESTUDOS-DA-DOCUMENTACAO-DO-ELIXIR/tree/master/10_Processes/01_Spawn.exs)
* [send and receive](https://github.com/Robson-Maestro/ESTUDOS-DA-DOCUMENTACAO-DO-ELIXIR/tree/master/10_Processes/02_Send_and_Receive.exs)
* [Links](https://github.com/Robson-Maestro/ESTUDOS-DA-DOCUMENTACAO-DO-ELIXIR/tree/master/10_Processes/03_links.exs)
* [Tasks](https://github.com/Robson-Maestro/ESTUDOS-DA-DOCUMENTACAO-DO-ELIXIR/tree/master/10_Processes/04_Tasks.exs)
* [State](https://github.com/Robson-Maestro/ESTUDOS-DA-DOCUMENTACAO-DO-ELIXIR/tree/master/10_Processes/05_State.exs)

### [11. IO and the file system](https://github.com/Robson-Maestro/ESTUDOS-DA-DOCUMENTACAO-DO-ELIXIR/tree/master/11_IO_and_the_file_system/)
* [The IO module](https://github.com/Robson-Maestro/ESTUDOS-DA-DOCUMENTACAO-DO-ELIXIR/tree/master/11_IO_and_the_file_system/)
* [The File module](https://github.com/Robson-Maestro/ESTUDOS-DA-DOCUMENTACAO-DO-ELIXIR/tree/master/11_IO_and_the_file_system/)
* [The Path module](https://github.com/Robson-Maestro/ESTUDOS-DA-DOCUMENTACAO-DO-ELIXIR/tree/master/11_IO_and_the_file_system/)
* [Processes](https://github.com/Robson-Maestro/ESTUDOS-DA-DOCUMENTACAO-DO-ELIXIR/tree/master/11_IO_and_the_file_system/)
* [iodata and chardata](https://github.com/Robson-Maestro/ESTUDOS-DA-DOCUMENTACAO-DO-ELIXIR/tree/master/11_IO_and_the_file_system/)

### [12. alias, require, and import](https://github.com/Robson-Maestro/ESTUDOS-DA-DOCUMENTACAO-DO-ELIXIR/tree/master/12_alias_require_import/)
* [alias](https://github.com/Robson-Maestro/ESTUDOS-DA-DOCUMENTACAO-DO-ELIXIR/tree/master/12_alias_require_import/)
* [require](https://github.com/Robson-Maestro/ESTUDOS-DA-DOCUMENTACAO-DO-ELIXIR/tree/master/12_alias_require_import/)
* [import](https://github.com/Robson-Maestro/ESTUDOS-DA-DOCUMENTACAO-DO-ELIXIR/tree/master/12_alias_require_import/)
* [use](https://github.com/Robson-Maestro/ESTUDOS-DA-DOCUMENTACAO-DO-ELIXIR/tree/master/12_alias_require_import/)
* [Understanding Aliases](https://github.com/Robson-Maestro/ESTUDOS-DA-DOCUMENTACAO-DO-ELIXIR/tree/master/12_alias_require_import/)
* [Module nesting](https://github.com/Robson-Maestro/ESTUDOS-DA-DOCUMENTACAO-DO-ELIXIR/tree/master/12_alias_require_import/)
* [Multi alias/import/require/use](https://github.com/Robson-Maestro/ESTUDOS-DA-DOCUMENTACAO-DO-ELIXIR/tree/master/12_alias_require_import/)

### [13. Module attributes](https://github.com/Robson-Maestro/ESTUDOS-DA-DOCUMENTACAO-DO-ELIXIR/tree/master/13_Module_attributes/)
* [As annotations](https://github.com/Robson-Maestro/ESTUDOS-DA-DOCUMENTACAO-DO-ELIXIR/tree/master/13_Module_attributes/)
* [As “constants”](https://github.com/Robson-Maestro/ESTUDOS-DA-DOCUMENTACAO-DO-ELIXIR/tree/master/13_Module_attributes/)
* [As temporary storage](https://github.com/Robson-Maestro/ESTUDOS-DA-DOCUMENTACAO-DO-ELIXIR/tree/master/13_Module_attributes/)

### [14. Structs](https://github.com/Robson-Maestro/ESTUDOS-DA-DOCUMENTACAO-DO-ELIXIR/tree/master/14_Structs/)
* [Defining structs](https://github.com/Robson-Maestro/ESTUDOS-DA-DOCUMENTACAO-DO-ELIXIR/tree/master/14_Structs/)
* [Accessing and updating structs](https://github.com/Robson-Maestro/ESTUDOS-DA-DOCUMENTACAO-DO-ELIXIR/tree/master/14_Structs/)
* [Structs are bare maps underneath](https://github.com/Robson-Maestro/ESTUDOS-DA-DOCUMENTACAO-DO-ELIXIR/tree/master/14_Structs/)
* [Default values and required keys](https://github.com/Robson-Maestro/ESTUDOS-DA-DOCUMENTACAO-DO-ELIXIR/tree/master/14_Structs/)

### [15. Protocols](https://github.com/Robson-Maestro/ESTUDOS-DA-DOCUMENTACAO-DO-ELIXIR/tree/master/15_Protocols/)
* [Example]()
* [Protocols and structs]()
* [Implementing Any]()
* [Built-in protocols]()

### [16. Comprehensions](https://github.com/Robson-Maestro/ESTUDOS-DA-DOCUMENTACAO-DO-ELIXIR/tree/master/16_Comprehensions/)
* [Generators and filters]()
* [Bitstring generators]()
* [The :into option]()
* [Other options]()

### [17. Sigils](https://github.com/Robson-Maestro/ESTUDOS-DA-DOCUMENTACAO-DO-ELIXIR/tree/master/17_Sigils/)
* [Regular expressions]()
* [Strings, char lists, and word lists sigils]()
* [Interpolation and escaping in string sigils]()
* [Calendar sigils]()
* [Custom sigils]()

### [18. try, catch, and rescue](https://github.com/Robson-Maestro/ESTUDOS-DA-DOCUMENTACAO-DO-ELIXIR/tree/master/18_try_catch_rescue/)
* [Errors]()
* [Throws]()
* [Exits]()
* [After]()
* [Else]()
* [Variables scope]()

### [19. Typespecs and behaviours](https://github.com/Robson-Maestro/ESTUDOS-DA-DOCUMENTACAO-DO-ELIXIR/tree/master/19_Typespecs_behaviours/)
* [Types and specs]()
* [Behaviours]()

### [20. Debugging](https://github.com/Robson-Maestro/ESTUDOS-DA-DOCUMENTACAO-DO-ELIXIR/tree/master/20_Debugging/)
* [IO.inspect/2]()
* [IEx.pry/0 and IEx.break!/2]()
* [Debugger]()
* [Observer]()
* [Other tools and community]()

### [21. Erlang libraries](https://github.com/Robson-Maestro/ESTUDOS-DA-DOCUMENTACAO-DO-ELIXIR/tree/master/21_Erlang_libraries/)
* [The binary module]()
* [Formatted text output]()
* [The crypto module]()
* [The digraph module]()
* [Erlang Term Storage]()
* [The math module]()
* [The queue module]()
* [The rand module]()
* [The zip and zlib modules]()

# [PROJETOS PRÁTICOS](https://github.com/Robson-Maestro/ESTUDOS-DA-DOCUMENTACAO-DO-ELIXIR/tree/master/PROJETOS_PRATICOS)
Criação de um projeto em Elixir
```
mix new "nomedoprojeto"
```
Compilação do projeto
```
mix compile
```
Execução dos Textes
```
mix text
```
Compilar e rodar o projeto dentro do iex()>

No diretório do projeto Rodar o comando:
```
iex -S mix
```
## [PROJETO 01 - (FizzBuzz)](https://github.com/Robson-Maestro/ESTUDOS-DA-DOCUMENTACAO-DO-ELIXIR/tree/master/PROJETOS_PRATICOS/fizzbuzz)
Situação Problema:
* Múltiplos de 3 trocar pela String Fizz
* Múltiplos de 5 trocar pela String Buzz
* Múltiplos de 3 e 5 trocar pela string FizzBuzz

Adicionado duas resoluções realizadas pelo time da PRAVALER. [Extraidas deste vídeo.](https://www.youtube.com/watch?v=mtTUIP3PhKw&t=686s)

## [PROJETO 02 - Joguinho de Teste](https://github.com/Robson-Maestro/ESTUDOS-DA-DOCUMENTACAO-DO-ELIXIR/tree/master/PROJETOS_PRATICOS/game_teste)

## [PROJETO 03 - Construção de uma API com Phoenix](https://github.com/Robson-Maestro/ESTUDOS-DA-DOCUMENTACAO-DO-ELIXIR/tree/master/PROJETOS_PRATICOS/phoenix_api)

## [Resolução de Desafios - HackerHank](https://github.com/Robson-Maestro/ESTUDOS-DA-DOCUMENTACAO-DO-ELIXIR/tree/master/HackerHank)
* [01_Solve_Me_First_FP.exs](https://github.com/Robson-Maestro/ESTUDOS-DA-DOCUMENTACAO-DO-ELIXIR/tree/master/HackerHank/01_Solve_Me_First_FP.exs)
* [02_Hello_World.exs](https://github.com/Robson-Maestro/ESTUDOS-DA-DOCUMENTACAO-DO-ELIXIR/tree/master/HackerHank/02_Hello_World.exs)
* [03_Hello_World_N_Times.exs](https://github.com/Robson-Maestro/ESTUDOS-DA-DOCUMENTACAO-DO-ELIXIR/tree/master/HackerHank/03_Hello_World_N_Times.exs)
* [04_List_Replication.exs](https://github.com/Robson-Maestro/ESTUDOS-DA-DOCUMENTACAO-DO-ELIXIR/tree/master/HackerHank/04_List_Replication.exs)
* [05_Update_List.exs](https://github.com/Robson-Maestro/ESTUDOS-DA-DOCUMENTACAO-DO-ELIXIR/tree/master/HackerHank/05_Update_List.exs)
* [06_Filter_Array.exs](https://github.com/Robson-Maestro/ESTUDOS-DA-DOCUMENTACAO-DO-ELIXIR/tree/master/HackerHank/06_Filter_Array.exs)
* [07_Filter_Positions_in_a_List.exs](https://github.com/Robson-Maestro/ESTUDOS-DA-DOCUMENTACAO-DO-ELIXIR/tree/master/HackerHank/07_Filter_Positions_in_a_List.exs)
* [08_Array_Of_N_Elements.exs](https://github.com/Robson-Maestro/ESTUDOS-DA-DOCUMENTACAO-DO-ELIXIR/tree/master/HackerHank/08_Array_Of_N_Elements.exs)

Os arquivos PDF's com a descrição dos desafios se encontram no diretório [DESAFIOS](https://github.com/Robson-Maestro/ESTUDOS-DA-DOCUMENTACAO-DO-ELIXIR/tree/master/HackerHank/DESAFIOS/)