In many tech conferences, attendees are invited to rate the talk and/or the speaker from 1 to 5 stars. This type of ratings is interesting but has a few drawbacks.
The discussion started as a twitter thread with this french proposition.
package control | |
trait Applicative[M[_]] extends Functor[M] { | |
def pure[A](a: A): M[A] | |
def applicative[A, B](f: M[A => B])(a: M[A]): M[B] | |
override def map[A, B](f: A => B)(a: M[A]): M[B] = applicative(pure(f))(a) |
In many tech conferences, attendees are invited to rate the talk and/or the speaker from 1 to 5 stars. This type of ratings is interesting but has a few drawbacks.
The discussion started as a twitter thread with this french proposition.