Sha256: e7877a46455cdcaa50c9bc341aa63367fbcbe2e0807907e4a8c7e7eb73d0dd40

Contents?: true

Size: 381 Bytes

Versions: 69

Compression:

Stored size: 381 Bytes

Contents

defmodule Allergies do
  @doc """
  List the allergies for which the corresponding flag bit is true.
  """
  @spec list(non_neg_integer) :: [String.t()]
  def list(flags) do
  end

  @doc """
  Returns whether the corresponding flag bit in 'flags' is set for the item.
  """
  @spec allergic_to?(non_neg_integer, String.t()) :: boolean
  def allergic_to?(flags, item) do
  end
end

Version data entries

69 entries across 69 versions & 1 rubygems

Version Path
trackler-2.2.1.180 tracks/elixir/exercises/allergies/allergies.exs
trackler-2.2.1.179 tracks/elixir/exercises/allergies/allergies.exs
trackler-2.2.1.178 tracks/elixir/exercises/allergies/allergies.exs
trackler-2.2.1.177 tracks/elixir/exercises/allergies/allergies.exs
trackler-2.2.1.176 tracks/elixir/exercises/allergies/allergies.exs
trackler-2.2.1.175 tracks/elixir/exercises/allergies/allergies.exs
trackler-2.2.1.174 tracks/elixir/exercises/allergies/allergies.exs
trackler-2.2.1.173 tracks/elixir/exercises/allergies/allergies.exs
trackler-2.2.1.172 tracks/elixir/exercises/allergies/allergies.exs
trackler-2.2.1.171 tracks/elixir/exercises/allergies/allergies.exs
trackler-2.2.1.170 tracks/elixir/exercises/allergies/allergies.exs
trackler-2.2.1.169 tracks/elixir/exercises/allergies/allergies.exs
trackler-2.2.1.167 tracks/elixir/exercises/allergies/allergies.exs
trackler-2.2.1.166 tracks/elixir/exercises/allergies/allergies.exs
trackler-2.2.1.165 tracks/elixir/exercises/allergies/allergies.exs
trackler-2.2.1.164 tracks/elixir/exercises/allergies/allergies.exs
trackler-2.2.1.163 tracks/elixir/exercises/allergies/allergies.exs
trackler-2.2.1.162 tracks/elixir/exercises/allergies/allergies.exs
trackler-2.2.1.161 tracks/elixir/exercises/allergies/allergies.exs
trackler-2.2.1.160 tracks/elixir/exercises/allergies/allergies.exs