Slide 32
Slide 32 text
Flexibility of type class
● Taking F as type parameter, it allows us to
choose which context to use.
○ http4s basically expects any instance of
Effect as F like IO
● You can use your own instance of Effect
○ DB access / API Call / Body parsing
○ IO seems perfect choice though.