dh44t
01/18/2018, 9:42 AMdh44t
01/18/2018, 9:42 AMdh44t
01/18/2018, 9:46 AMdh44t
01/18/2018, 9:46 AMS
of State<S, A>
dh44t
01/18/2018, 9:47 AMmkobit
01/18/2018, 2:57 PMState
and StateT
usage more
i havent had that aha moment (yet!), but i like to think im getting closer - thanks @dh44tyousuf.haque
01/18/2018, 3:29 PMraulraja
01/18/2018, 4:43 PMEduard Boloș
01/18/2018, 11:45 PMEither
for this would be a heresy, since the Left value wouldn’t be used for errors in my case. Is there any other data type in arrow that represents an “exclusive-or” relationship, but that better fits my use case? Thanks!raulraja
01/18/2018, 11:46 PMraulraja
01/18/2018, 11:46 PMraulraja
01/18/2018, 11:46 PMEduard Boloș
01/18/2018, 11:48 PMEduard Boloș
01/18/2018, 11:48 PMraulraja
01/18/2018, 11:49 PMraulraja
01/18/2018, 11:49 PMEduard Boloș
01/18/2018, 11:50 PMEduard Boloș
01/18/2018, 11:51 PMraulraja
01/18/2018, 11:55 PMEduard Boloș
01/18/2018, 11:56 PMraulraja
01/18/2018, 11:59 PMsealed class DisplayStrategy
data class DefaultLabel(value: String): DisplayStrategy()
data class LocalizedLabel(int: ResourceId): DisplayStrategy()
fun bizLogic(): DisplayStrategy
raulraja
01/18/2018, 11:59 PMEduard Boloș
01/18/2018, 11:59 PMraulraja
01/18/2018, 11:59 PMraulraja
01/19/2018, 12:00 AMfold
, map
etc... on top of themraulraja
01/19/2018, 12:01 AMEduard Boloș
01/19/2018, 12:01 AMEither
, haharaulraja
01/19/2018, 12:02 AMraulraja
01/19/2018, 12:02 AM@autofold