simon.vergauwen
10/10/2017, 11:56 AMelizarov
10/10/2017, 12:43 PMsimon.vergauwen
10/10/2017, 2:19 PMfun <F<_>, A, B> lift(f: (A) -> B): (F<A>) -> F<B>
elizarov
10/10/2017, 2:21 PMF<_>
? We donât have a syntactic tradition in Kotlin to use _
to denote formal parameters.elizarov
10/10/2017, 2:22 PMf(_)
elizarov
10/10/2017, 2:22 PMsimon.vergauwen
10/10/2017, 2:25 PMF<_>
would be the most clear and the most straight forward.elizarov
10/10/2017, 2:26 PM_
in completely different sense. Iâm not sure it is going to be clear for people who donât know Scala.simon.vergauwen
10/10/2017, 2:26 PMelizarov
10/10/2017, 2:27 PMsimon.vergauwen
10/10/2017, 2:27 PM_
being used for ignored params in desctruct?elizarov
10/10/2017, 2:27 PMsimon.vergauwen
10/10/2017, 2:27 PMit is going to be clear for people who donât know Scala.
simon.vergauwen
10/10/2017, 2:28 PMelizarov
10/10/2017, 2:29 PMF<_>
either. Haskellâs syntax for type constructors is consistent with Haskellâs syntax for functions.elizarov
10/10/2017, 2:30 PMelizarov
10/10/2017, 2:31 PMsimon.vergauwen
10/10/2017, 2:42 PMsimon.vergauwen
10/10/2017, 2:43 PMF<_>
or anything similar that syntactically âsaysâ a type F
with a whole in it would feel best understandable.simon.vergauwen
10/10/2017, 2:45 PM* -> *
would feel quite strange. For sure there is no Haskell in Universities where I live.raulraja
10/10/2017, 5:53 PMF<_>
kind of shows it refers to a whole in F
and F<A>
a concrete type when F
is applied with A
, but probably is my bias toward being familiar with Scala. Looking forward to see what other people may propose đJorge Castillo
10/22/2017, 5:56 PMraulraja
10/22/2017, 7:40 PM