Skip to content

vder/waluty

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

waluty

import cats._
import cats.data._
import cats.implicits._


def fun[F[_]: ApplicativeError[*[_],Throwable] :FlatMap] = 
for{
   x <- "100".toIntOption.toRight(new Throwable("Not an Int")).liftTo[F]
   y <- "10".toIntOption.toRight(new Throwable("Not an Int")).liftTo[F]
} yield x

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages