You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<console>:37: error: not found: type ?
new Monad[OptionT[F, ?]] {
^
<console>:37: error: OptionT[F,<error>] takes no type parameters, expected: one
new Monad[OptionT[F, ?]] {
I'm running this in the REPL launched with sbt console and this build.sbt file:
name :="Scala Playground"
version :="1.0"
scalaVersion :="2.11.1"
libraryDependencies +="org.typelevel"%%"cats"%"0.6.1"
PS: Also, it's not very clear what's the point of this last exercise nor the result it should give... Maybe some extra explanation would make it easier to understand, especially about the type parameters' meanings in OptionT and optionTMonad...
The text was updated successfully, but these errors were encountered:
The following code doesn't compile:
Running this code gives this error messages:
I'm running this in the REPL launched with
sbt console
and thisbuild.sbt
file:PS: Also, it's not very clear what's the point of this last exercise nor the result it should give... Maybe some extra explanation would make it easier to understand, especially about the type parameters' meanings in OptionT and optionTMonad...
The text was updated successfully, but these errors were encountered: