Feb. 17th, 2019

xacid: (Default)
object IxCont {
  type Cont[R, B, A] = (A => B) => R
  def reset[R, A](c: Cont[R, A, A]): R = c(identity)
  def shift[R, B, A](f: (A => B) => R): Cont[R, B, A] = f(_)
  def suspend[A, B]: Cont[A => B, B, A] = shift(identity[A => B])
Read more... )

Profile

xacid: (Default)
xacid

April 2021

S M T W T F S
    123
45678910
11121314151617
18192021222324
252627282930 

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jul. 20th, 2025 04:19 pm
Powered by Dreamwidth Studios