Arr

skunk.data.Arr
See theArr companion class
object Arr

Companion object for Arr, with constructors and methods for parsing.

Attributes

Companion
class
Source
Arr.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Arr.type

Members list

Grouped members

Typeclass Instances

implicit val TraverseArr: Traverse[Arr]

Arr is a traversable functor.

Arr is a traversable functor.

Attributes

Source
Arr.scala
implicit def eqArr[A : Eq]: Eq[Arr[A]]

Arrs are comparable if their elements are comparable.

Arrs are comparable if their elements are comparable. They are equal if they have the same elements and dimensions.

Attributes

Source
Arr.scala

Parsing

def parse(s: String): Either[String, Arr[String]]

Parse a Postgres array literal into an Arr[String] or report an error.

Parse a Postgres array literal into an Arr[String] or report an error.

Attributes

Source
Arr.scala
def parseWith[A](f: String => Either[String, A])(s: String): Either[String, Arr[A]]

Parse a Postgres array literal into an Arr[A] or report an error.

Parse a Postgres array literal into an Arr[A] or report an error.

Attributes

Source
Arr.scala

Constructors

def apply[A](as: A*): Arr[A]

Construct a one-dimensional Arr from the given values (call reshape after construction to change dimensionality).

Construct a one-dimensional Arr from the given values (call reshape after construction to change dimensionality).

Attributes

Source
Arr.scala
def empty[A]: Arr[A]

Construct an empty Arr.

Construct an empty Arr.

Attributes

Source
Arr.scala
def fromFoldable[F[_] : Foldable, A](fa: F[A]): Arr[A]

Construct a one-dimensional Arr from the given foldable (call reshape after construction to change dimensionality).

Construct a one-dimensional Arr from the given foldable (call reshape after construction to change dimensionality).

Attributes

Source
Arr.scala