alvin alexander
Nodes for the term “sequence”
Getting a random element from a list of elements in Scala
Read more
How to convert a Scala Array/List/Seq (sequence) to string with mkString
Read more
Scala: How to sort a sequence (Seq, List, Array, Vector)
Read more
How to iterate over Scala Lists with foreach and for
Read more
How to use Scala’s sortInPlaceBy method on mutable sequences (ArrayBuffer, ArrayDeque)
Read more
Scala ‘for loop’ examples and syntax
Read more
Why Haskell has monads
Read more
Scala match expressions and pattern matching (Scala Cookbook examples)
Read more
How to access a character in a Scala String (or, an element in a sequence)
Read more
A Scala “fold left” function written using recursion
Read more
A Scala method to write a list of strings to a file
Read more
How to drop the first matching element in a Scala sequence
Read more
How to use variable names with the Scala ‘foldLeft’ method
Read more
Scala: How to create a list of alpha or alphanumeric characters
Read more
How to get multiple, unique, random elements from a list of elements
Read more
Scala: Generating a sequence/list of all ASCII printable characters
Read more
Converting a sequence of Scala objects to JSON using the Play Framework
Read more
How to create a large test Map in Scala (converting a sequence to a map)
Read more
Scala: How to create a range of characters (list, sequence)
Read more
How to flatten a List of Lists in Scala with flatten
Read more
MySQL drop table and foreign keys tip - the FOREIGN_KEY_CHECKS variable
Read more
Scala: Convert a String with newline characters to a sequence/list of strings
Read more
Scala tip: How to extract a field from a sequence of objects to create a new sequence
Read more
Scala: Extracting data from an array of XML elements
Read more
How to use a Scala Set as a function predicate
Read more
Scala - How to find the unique items in a List, Array, Vector (sequence)
Read more