Miguel A. Ruiz
07/22/2019, 9:18 PMaddamsson
07/24/2019, 1:22 PMBob Glamm
07/24/2019, 1:23 PMpakoito
07/24/2019, 8:19 PMpakoito
07/25/2019, 2:25 PMaddamsson
08/06/2019, 9:43 AMkotlinx.collections.immutable
?simon.vergauwen
08/14/2019, 1:41 PMImran/Malic
08/16/2019, 9:45 AMApply
, but
I am not sure of the practicality of Apply
in Arrow
, most functions etc, we use are build on top of Applicative
or Functor
. I could not find anything theoretically substantial to promote using Functor
over Apply
in some general use cases. Data types like Map
have valid Apply
instances, but no Applicative
. Most of the typeclass machinery in Arrow is build on top of either Functor
or Applicative
.
My question is: Can we delete Apply, because it may have instances for any DT that has an Applicative
, but there is nothing we can do with an Apply
, because the Functor
has more to offer.Imran/Malic
08/28/2019, 9:51 AMImran/Malic
09/15/2019, 10:04 PMraulraja
09/24/2019, 6:42 AMstojan
10/10/2019, 9:21 AMcompile
instead of api/implementation
Imran/Malic
10/14/2019, 7:51 AMthanh
10/15/2019, 9:22 AM. /**
* Apply a filter to a structure such that the output structure contains all instances of specified class.
*/
@Suppress("UNCHECKED_CAST")
fun <A, B> Kind<F, A>.filterIsInstance(klass: Class<B>): Kind<F, B> =
filterMap { a -> if(klass.isInstance(a)) Some(a as B) else None }
Imran/Malic
10/15/2019, 9:53 AMpakoito
10/17/2019, 11:15 AMBob Glamm
10/17/2019, 12:30 PMaballano
10/17/2019, 1:11 PMthanh
10/20/2019, 12:31 PMObservableZ<E, A>
in my RxArrow when I was on the way home: https://github.com/lenguyenthanh/rxarrow/blob/master/src/main/kotlin/com/lenguyenthanh/rxarrow/ObservableZ.ktJannis
10/25/2019, 10:18 PMJannis
10/25/2019, 10:25 PMraulraja
10/28/2019, 8:21 PMJannis
11/06/2019, 7:21 PMSchedule
datatype that will enable users to easily express all sorts of retry/repeat strategies and I am at the point of choosing where to add the retry/repeat methods. Since the whole thing involves delay I was thinking Async or above (using delay
from coroutines), but then I saw the Timer
interface which offers some sort of sleep method for Concurrent
and some other implementations for rx2 and reactor. So the question is, where does this go in the typeclass hierarchy?rcd27
11/12/2019, 3:29 PMmaster
-> trying to build -> Build SUCCESSFULL
, however a lot of references are red in IDEAJannis
11/25/2019, 7:50 PMraulraja
12/08/2019, 12:34 PM@Proof(Subtyping)
inline fun <A> A.first(): Union4<A, Any?, Any?, Any?>
simon.vergauwen
12/08/2019, 8:28 PMShady Selim
12/16/2019, 6:38 AMJannis
12/20/2019, 4:26 PMtraverse
. Apart from traverse
now being left to right for (all?) functors, this should not affect any existing code.Imran/Malic
12/20/2019, 4:27 PMBuild file '/Users/ulti_mate/IdeaProjects/Arrow_with_Access/arrow/modules/benchmarks/arrow-benchmarks-fx/build.gradle' line: 16
A problem occurred evaluating project ':arrow-benchmarks-fx'.
> Failed to apply plugin [id 'me.champeau.gradle.jmh']
> This version of the JMH Gradle plugin requires Gradle 5.5+. Please upgrade Gradle or use an older version of the plugin.
Imran/Malic
12/20/2019, 4:27 PMBuild file '/Users/ulti_mate/IdeaProjects/Arrow_with_Access/arrow/modules/benchmarks/arrow-benchmarks-fx/build.gradle' line: 16
A problem occurred evaluating project ':arrow-benchmarks-fx'.
> Failed to apply plugin [id 'me.champeau.gradle.jmh']
> This version of the JMH Gradle plugin requires Gradle 5.5+. Please upgrade Gradle or use an older version of the plugin.
stojan
12/20/2019, 4:43 PMImran/Malic
12/20/2019, 4:47 PMstojan
12/20/2019, 4:48 PMImran/Malic
12/20/2019, 4:48 PMbenchmarks
stojan
12/20/2019, 5:27 PMImran/Malic
12/22/2019, 4:41 PM