Skip to content

Latest commit

 

History

History
185 lines (125 loc) · 9.99 KB

README.md

File metadata and controls

185 lines (125 loc) · 9.99 KB

Erlang-Assignments

Week 1                                                                                                              - Back To Home


  • Create Variable in the Shell


(Back To Top) (Back To Home)

  • Seeing Your Bound Variables


(Back To Top) (Back To Home)

  • Clearing Bound Variables in the Shell for a particular variable


(Back To Top) (Back To Home)

  • Clearing All Bound Variable in the Shell


(Back To Top) (Back To Home)

  • Formatting Output using io:format (~s)


(Back To Top) (Back To Home)

  • Formatting Output using io:format (~w)


(Back To Top) (Back To Home)

  • Formatting Output using io:format (~p)


(Back To Top) (Back To Home)

  • Create Integers and Floats


(Back To Top) (Back To Home)

-module(helloworld). 
-export([start/0]). 

start() -> 
   X = 40, 
   Y = 50, 
   Result = X + Y, 
   io:fwrite("~w",[Result]).

(Back To Top) (Back To Home)

  • Create Constants using define (Code)


(Back To Top) (Back To Home)

  • Create Constants using define (Terminal)


(Back To Top) (Back To Home)

  • Create Atoms


(Back To Top) (Back To Home)

  • Boolean Atoms how to create and use


(Back To Top) (Back To Home)

  • List Basic Operations and Spilting List into Head and Tail


(Back To Top) (Back To Home)

  • Create Tuples


(Back To Top) (Back To Home)

  • Build List of Lists


(Back To Top) (Back To Home)

  • Create Pattern Matching With Atoms (Code)


(Back To Top) (Back To Home)

  • Create Pattern Matching With Atoms (Terminal)


(Back To Top) (Back To Home)

  • Create Pattern Matching With Tuples (Code)


(Back To Top) (Back To Home)

  • Create Pattern Matching With Tuples (Terminal)


(Back To Top) (Back To Home)

  • Create Binaries


(Back To Top) (Back To Home)

  • Convert Binary to list, tuples, float, integers, atoms, terms


(Back To Top) (Back To Home)

  • Create examples with If Statements inside functions (Code)


(Back To Top) (Back To Home)

  • Create examples with If Statements inside functions (Terminal)


(Back To Top) (Back To Home)

  • Create examples with Case Statements inside functions (Code)


(Back To Top) (Back To Home)

  • Create examples with Case Statements inside functions (Terminal)


(Back To Top) (Back To Home)

  • Mapping Data using Maps


(Back To Top) (Back To Home)

  • Create a record and print it using io:format (Code)


(Back To Top) (Back To Home)

  • Create a record and print it using io:format (Terminal)


(Back To Top) (Back To Home)