Skip to content

Instantly share code, notes, and snippets.

@TimWSpence
Last active February 26, 2020 10:50
Show Gist options
  • Save TimWSpence/6c2a519871ac2a80f99e4e8c99285d9d to your computer and use it in GitHub Desktop.
Save TimWSpence/6c2a519871ac2a80f99e4e8c99285d9d to your computer and use it in GitHub Desktop.
def map[A, B](s: STM[A], f: A => B): STM[B]
def orElse[A](attempt: STM[A], fallback: STM[A]): STM[A]
def check(check: => Boolean): STM[Unit]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment