All Downloads are FREE. Search and download functionalities are using the official Maven repository.

geotrellis.logic.applicative.Apply.scala Maven / Gradle / Ivy

The newest version!
package geotrellis.logic.applicative

import geotrellis._
import geotrellis.process._

/**
 * This corresponds to Haskell's "apply" (<*>) on Functor.
 */
case class Apply[A, Z:Manifest](a:Op[A])(f:Op[A => Z]) extends Op2[A, A => Z, Z](a, f)({
  (a, f) => Result(f(a))
})




© 2015 - 2024 Weber Informatics LLC | Privacy Policy