Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

A repository for showcasing my knowledge of the Elixir programming language, and continuing to learn the language.

License

GPL-3.0 and 8 other licenses found

Licenses found

GPL-3.0
LICENSE.txt
GPL-3.0
LICENSE.ex
GPL-3.0
LICENSE.exs
GPL-3.0
LICENSE-GPL.ex
GPL-3.0
LICENSE-GPL.exs
GPL-3.0
LICENSE-GPL.txt
GPL-3.0
LICENSE-GPL3.ex
GPL-3.0
LICENSE-GPL3.exs
GPL-3.0
LICENSE-GPL3.txt
NotificationsYou must be signed in to change notification settings

seanpm2001/Learn-Elixir

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

/Elixir_programming_language_logo.png

Learning Elixir (programming language)

I know very little about the Elixir programming language. This document will go over all of my knowledge of the Elixir programming language.

Hello World in Elixir

This is how you make a Hello World program in Elixir:

iex>IO.puts("Hello World!")

Comments in Elixir

Comments in Elixir are the same as in Shell.

Single line comments

Single line comments in Elixir are written like so:

# This is a single line comment
Multi-line comments

I don't know if Elixir supports multi-line comments.

Break keyword in Elixir

break

To this day, I am still not entirely sure what thebreak keyword does, but most languages support it.

/!\ This example has not been tested yet, and may not work

The IEX shell

Elixir commonly uses theiex shell to run commands.

The shell can be invoked with the following command:

iex>

/!\ This example has not been tested yet, and may not work

Modules in Elixir

Elixir makes use of modules. They can be created like so:

defmoduleFibonaccidodeffib(0),do:0deffib(1),do:1deffib(n),do:fib(n-2)+fib(n-1)end

/!\ This example has not been tested yet, and may not work

Other knowledge of the Elixir programming language

  1. Elixir is a language by an unknown developer

  2. Elixir is not a semicolon and curly bracket language, but it is a curly bracket language

  3. Elixir uses the*.ex file extension by default, but also uses the*.exs file extension

  4. The*.ex file extension can be confused with a Euphoria (another programming language) program.

  5. Elixir is built upon the Erlang programming language

  6. Several major programs and platforms make heavy use of Elixir, including Discord and Pinterest

  7. Elixir is not one of the top 50 programming languages (as of 2022, July 31st, it has never ranked 50 or higher on the TIOBE index)

  8. Elixir was first created in the year 2012

  9. No other knowledge of the Elixir programming language

Additional comments

  1. I have not yet memorized the names of the developers

  2. No other additional comments available


File info

File type:Markdown document (*.md *.mkd *.mdown *.markdown)

File version:1 (2022, Monday, August 1st at 5:24 pm PST)

Line count (including blank lines and compiler line):149


File history

Click/tap here to expand/collapse the history for this file

Version 1 (2022, Monday, August 1st at 5:24 pm PST)

Changes:

  • Started the file
  • Added thetitle section
  • Added theHello World in Elixir section
  • Added theComments in Elixir section
  • Added theSingle line comments subsection
  • Added theMulti-line comments subsection
  • Added thebreak keyword in Elixir section
  • Added theThe IEX shell section
  • Added themodules in Elixir section
  • Added theother knowledge of the Elixir programming language section
  • Added theAdditional comments section
  • Added thefile info section
  • Added thefile history section
  • No other changes in version 1

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp