User Tools

Site Tools


cs326:daily1

CSci 326: Daily Assignment #1

The purpose of this assignment is to give you familiarity with the different types in Elixir. Due date: Jan 24 by class time.

You will be working through examples provided by the Elixir School website. Try each example from the set in iex. Rather than screenshots, this time you'll produce a transcript of your session. This is easiest to do in the Terminal program on Linux or MacOS:

  • in Terminal or from the menu, start emacs
  • type ESC x to get a prompt at the bottom of the window
  • type shell. This will start a command shell in the Emacs window
  • fire up iex and work as per usual
  • when you complete the tutorial, type Ctrl-x Ctrl-s in sequence to save. When it asks, name the file daily1.exs
  • when you quit Emacs, type yes to “kill active processes”

At the Elixir School website:

  1. Work through the examples from the Basics lesson.
  2. Work through the examples from the Collections lesson. The File.read example won't work as is, see what error message you get
  3. Make a note of any expression that gives you a different result than shown on the website. You can do this right in iex by using the # comment symbol at the prompt
  4. Save your session to a file as described above, and e-mail to the instructor
cs326/daily1.txt · Last modified: 2018/01/22 20:09 by scarl