Skip to content

Instantly share code, notes, and snippets.

@softberries
Created June 24, 2020 05:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save softberries/aff8239c3f91018dc31b373944629dc2 to your computer and use it in GitHub Desktop.
Save softberries/aff8239c3f91018dc31b373944629dc2 to your computer and use it in GitHub Desktop.
def of[F[_], A](a: A)(implicit F: Sync[F]): F[Ref[F, A]] = F.delay(unsafe(a))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment