Sha256: 1d0299e51b930d33e56f445b0c14b436276834f8c754860b0f5ef7d4b8e58fe7

Contents?: true

Size: 325 Bytes

Versions: 226

Compression:

Stored size: 325 Bytes

Contents

defmodule StringSeries do
  @doc """
  Given a string `s` and a positive integer `size`, return all substrings
  of that size. If `size` is greater than the length of `s`, or less than 1,
  return an empty list.
  """
  @spec slices(s :: String.t(), size :: integer) :: list(String.t())
  def slices(_s, _size) do
  end
end

Version data entries

226 entries across 226 versions & 1 rubygems

Version Path
trackler-2.0.8.27 tracks/elixir/exercises/series/series.exs
trackler-2.0.8.26 tracks/elixir/exercises/series/series.exs
trackler-2.0.8.24 tracks/elixir/exercises/series/series.exs
trackler-2.0.8.23 tracks/elixir/exercises/series/series.exs
trackler-2.0.8.22 tracks/elixir/exercises/series/series.exs
trackler-2.0.8.21 tracks/elixir/exercises/series/series.exs
trackler-2.0.8.20 tracks/elixir/exercises/series/series.exs
trackler-2.0.8.19 tracks/elixir/exercises/series/series.exs
trackler-2.0.8.18 tracks/elixir/exercises/series/series.exs
trackler-2.0.8.17 tracks/elixir/exercises/series/series.exs
trackler-2.0.8.16 tracks/elixir/exercises/series/series.exs
trackler-2.0.8.15 tracks/elixir/exercises/series/series.exs
trackler-2.0.8.14 tracks/elixir/exercises/series/series.exs
trackler-2.0.8.13 tracks/elixir/exercises/series/series.exs
trackler-2.0.8.12 tracks/elixir/exercises/series/series.exs
trackler-2.0.8.11 tracks/elixir/exercises/series/series.exs
trackler-2.0.8.10 tracks/elixir/exercises/series/series.exs
trackler-2.0.8.9 tracks/elixir/exercises/series/series.exs
trackler-2.0.8.8 tracks/elixir/exercises/series/series.exs
trackler-2.0.8.7 tracks/elixir/exercises/series/series.exs