5
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

【Elixir】ディスプレイ下に置いてある付箋メモを残す

Posted at

内容

 Elixir初心者の私が付箋に残したメモたちです。
 書籍「プログラミングElixir」や公式サイトを見ながら独学で勉強しています。そんな中で「あれ、これなんだっけ?」ってなることが多々ありました。一々調べるのが面倒だったのでディスプレイ下に付箋メモを残しておきました。ですが、鬱陶しくなったのでここに残しておきます。


### 付箋たち 付箋1 拡張子 ===================================== .ex  ⇒ バイトコードにコンパイルして実行 .exs ⇒ スクリプト実行(テストコードをコンパイルして実行する必要なし) =====================================

付箋2 Atomの宣言
=====================================
「:」で始まる語 ⇒ Atom
=====================================

付箋3 文字のリストと文字列
=====================================
シングルクォーテーションで囲む ⇒ 文字のリスト
ダブルクォーテーションで囲む  ⇒ 文字列
=====================================

付箋4 プロセス
=====================================
1度receiveすると、そのプロセスは終了する
=====================================

付箋5 コレクション
=====================================
{}  ⇒ タプル
[]  ⇒ リスト
%{}  ⇒ マップ
=====================================

付箋6 実行
=====================================
iex -S mix ⇒ インタラクティブモードに入る前にmixを実行
=====================================

付箋7 「!」例外
=====================================
functionA!() ⇒ エラー時に例外を発生させる
=====================================


5
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?