Skip to content

Instantly share code, notes, and snippets.

View fteychene's full-sized avatar

Francois Teychene fteychene

View GitHub Profile
d-plaindoux / Applicative.scala
Last active December 9, 2020 07:20
Scala Functor, Applicative and Monad thanks to context bounds
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)
hsablonniere / README.adoc
Last active May 11, 2024 12:50
Conference bingo

Conference bingo


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.