Extractly.Tools (Extractly v0.6.1)

View Source

Summary

Functions

Extract lines from either a

A convenience function to repeat a string, it is a shortform for

Functions

lines_from_source(source)

Extract lines from either a

  • file given by name
  • a Stream
  • or returns the list passed in as in a NOP

repeat_string(string, times)

@spec repeat_string(binary(), non_neg_integer()) :: binary()

A convenience function to repeat a string, it is a shortform for

[str] |> Stream.cycle |> Enum.take(n) |> Enum.join