Top "Seq" questions

seq is short for sequence.

Scala: map a Map to list of tuples

I tried to use Map.map to convert a map into a List of Tuples. However this fails. I did …

list scala dictionary tuples seq
piping seq to printf for number formatting

I'm trying to print the following pattern using printf and seq: 0000 0001 0002 0003 My problem is once I use: seq 0 10 | xargs printf %04…

bash printf xargs seq
Convert Seq to ArrayBuffer

Is there any concise way to convert a Seq into ArrayBuffer in Scala?

scala seq arraybuffer
How can I calculate pi using Bash command

I am learning bash scripting. While exploring the math functions i am came across a command which calculated the value …

bash shell seq bc
F#, char seq -> strings

A quick question that may be more of a rant (but I hope to be enlightened instead). In F# a …

string f# char seq
Add an item in a Seq in scala

I am working with scala play 2 with slick. I have a Seq like val customerList: Seq[CustomerDetail] = Seq(CustomerDetail("id", "…

scala seq
Create a log sequence across multiple orders of magnitude

In order to set the custom break intervals for a log scale in a ggplot2 chart, I created the following …

r ggplot2 seq
Bash seq to produce two separate sequences of numbers in a for loop

I would like to create a simple for bash loop that iterates over a sequence of numbers with a specific …

bash for-loop seq
What is the difference between Seq and IndexedSeq/LinearSeq in Scala?

In Scala Collection documentation, there is some clue to this question: Trait Seq has two subtraits LinearSeq, and IndexedSeq. These …

scala scala-collections seq
scala .seq vs .toSeq

In the Scala documentation, collections have both .seq and a .toSeq method defined on them. What is the difference between …

scala collections seq