package extras

/**
 *  Select all those elements from a list that match some criteria (predicate).
 */
import fp.*

	// aliasing
//def bAdd = Functor.bAdd
//def rGt = Functor.rGt
//def bAnd = Functor.bAnd
//def bComposition = Functor.bComposition
def map = Functor.map
///def filter = Functor.filter
//def zipWith = Functor.zipWith
def summation = Functor.summation

def ex = [[2, 3], [2, 1], [7, 8]]
def res = summation(map(summation, ex))
println "res: ${res}"
