Sha256: e906b1ebf3b8a3a1f6d8e65b3e0cb488ecc7b2e68aa9348dff84aaa4e971512e

Contents?: true

Size: 194 Bytes

Versions: 261

Compression:

Stored size: 194 Bytes

Contents

defmodule HelloWorld do

  @doc """
  Greets the user by name, or by saying "Hello, World!"
  if no name is given
  """

  def hello(name \\ "World") do

    "Hello, " <> name <> "!"

  end
end

Version data entries

261 entries across 261 versions & 1 rubygems

Version Path
trackler-2.2.1.43 tracks/elixir/exercises/hello-world/example.exs
trackler-2.2.1.42 tracks/elixir/exercises/hello-world/example.exs
trackler-2.2.1.41 tracks/elixir/exercises/hello-world/example.exs
trackler-2.2.1.40 tracks/elixir/exercises/hello-world/example.exs
trackler-2.2.1.39 tracks/elixir/exercises/hello-world/example.exs
trackler-2.2.1.38 tracks/elixir/exercises/hello-world/example.exs
trackler-2.2.1.37 tracks/elixir/exercises/hello-world/example.exs
trackler-2.2.1.36 tracks/elixir/exercises/hello-world/example.exs
trackler-2.2.1.35 tracks/elixir/exercises/hello-world/example.exs
trackler-2.2.1.34 tracks/elixir/exercises/hello-world/example.exs
trackler-2.2.1.33 tracks/elixir/exercises/hello-world/example.exs
trackler-2.2.1.32 tracks/elixir/exercises/hello-world/example.exs
trackler-2.2.1.31 tracks/elixir/exercises/hello-world/example.exs
trackler-2.2.1.30 tracks/elixir/exercises/hello-world/example.exs
trackler-2.2.1.29 tracks/elixir/exercises/hello-world/example.exs
trackler-2.2.1.28 tracks/elixir/exercises/hello-world/example.exs
trackler-2.2.1.27 tracks/elixir/exercises/hello-world/example.exs
trackler-2.2.1.26 tracks/elixir/exercises/hello-world/example.exs
trackler-2.2.1.25 tracks/elixir/exercises/hello-world/example.exs
trackler-2.2.1.24 tracks/elixir/exercises/hello-world/example.exs