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.139 tracks/elixir/exercises/allergies/allergies.exs
trackler-2.2.1.138 tracks/elixir/exercises/allergies/allergies.exs
trackler-2.2.1.137 tracks/elixir/exercises/allergies/allergies.exs
trackler-2.2.1.136 tracks/elixir/exercises/allergies/allergies.exs
trackler-2.2.1.135 tracks/elixir/exercises/allergies/allergies.exs
trackler-2.2.1.134 tracks/elixir/exercises/allergies/allergies.exs
trackler-2.2.1.133 tracks/elixir/exercises/allergies/allergies.exs
trackler-2.2.1.132 tracks/elixir/exercises/allergies/allergies.exs
trackler-2.2.1.131 tracks/elixir/exercises/allergies/allergies.exs
trackler-2.2.1.130 tracks/elixir/exercises/allergies/allergies.exs
trackler-2.2.1.129 tracks/elixir/exercises/allergies/allergies.exs
trackler-2.2.1.128 tracks/elixir/exercises/allergies/allergies.exs
trackler-2.2.1.127 tracks/elixir/exercises/allergies/allergies.exs
trackler-2.2.1.126 tracks/elixir/exercises/allergies/allergies.exs
trackler-2.2.1.125 tracks/elixir/exercises/allergies/allergies.exs
trackler-2.2.1.124 tracks/elixir/exercises/allergies/allergies.exs
trackler-2.2.1.123 tracks/elixir/exercises/allergies/allergies.exs
trackler-2.2.1.122 tracks/elixir/exercises/allergies/allergies.exs
trackler-2.2.1.121 tracks/elixir/exercises/allergies/allergies.exs
trackler-2.2.1.120 tracks/elixir/exercises/allergies/allergies.exs