[ https://issues.apache.org/jira/browse/PIVOT-799?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14554276#comment-14554276 ]
Sandro Martini commented on PIVOT-799: -------------------------------------- Some updated, interesting and practical links on some of most useful Scala Monads: http://boldradius.com/blog-post/VOyXVywAAH1OMjJM/scalas-option-try-and-either-do-we-really-need-them-all-at-once http://mauricio.github.io/2014/02/17/scala-either-try-and-the-m-word.html https://tersesystems.com/2012/12/27/error-handling-in-scala/ http://docs.scala-lang.org/overviews/core/futures.html > extending Pivot collections > --------------------------- > > Key: PIVOT-799 > URL: https://issues.apache.org/jira/browse/PIVOT-799 > Project: Pivot > Issue Type: Improvement > Components: core-collections > Reporter: Sandro Martini > Assignee: Sandro Martini > Priority: Minor > Fix For: 2.5, 2.1 > > Attachments: Monad_sample_revised.groovy, > PIVOT-799_functions_and_options(initial).patch > > > Add some usuful methods to Pivot Collections like those needed to process all > elements, going more "function style", like addAll, contains, etc ... > To simplify usage from people coming from other languages, try to align to > other languages names/conventions (for what is possible) , like Scala, C# . > Verify even if add a interface (defining a single method) that could be > passed to some methods to contain logic for processing all elements (like the > apply() in Scala), and chose a right name for it (maybe function or other > similar). > Some info here: > http://apache-pivot-developers.417237.n3.nabble.com/Some-idea-on-extending-Pivot-collections-td3321472.html > But for more changes in Collections (still to be discussed), wait the 3.0 ... -- This message was sent by Atlassian JIRA (v6.3.4#6332)