simple_sum.ex
dio.ex
✖
tria.ex
✖
tessera.ex
✖
pente.ex
✖
eksi.ex
✖
Run Settings
Language
Elixir
Language Version
latest
Run Command
Snippet Metadata
Owner
amacgregor
Created
Modified
Visibility
Public
sum_list = [5,4,2,10,1,28,6,5] defmodule SumModule do def sum_list([]), do: 0 def sum_list([head|tail]), do: sum_list(tail) + head end IO.puts SumModule.sum_list(sum_list)
Editor Settings
Theme
Chrome
Clouds
Crimson Editor
Dawn
Dreamweaver
Eclipse
GitHub
Solarized Light
TextMate
Tomorrow
XCode
Kuroir
KatzenMilch
Ambiance
Chaos
Clouds Midnight
Cobalt
idle Fingers
krTheme
Merbivore
Merbivore Soft
Mono Industrial
Monokai
Pastel on dark
Solarized Dark
Terminal
Tomorrow Night
Tomorrow Night Blue
Tomorrow Night Bright
Tomorrow Night 80s
Twilight
Vibrant Ink
Key bindings
Default
Vim
Emacs
Full width
True
False
Lines
-
Auto
+