Skip to content

Commit

Permalink
Update scalafmt-core to 2.5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
BenFradet committed Jun 16, 2020
1 parent 657a077 commit ab86c72
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 21 deletions.
2 changes: 1 addition & 1 deletion .scalafmt.conf
@@ -1,4 +1,4 @@
version=2.4.2
version=2.5.3
style = defaultWithAlign
maxColumn = 100

Expand Down
29 changes: 15 additions & 14 deletions src/main/scala/catslib/CatsLibrary.scala
Expand Up @@ -26,20 +26,21 @@ object CatsLibrary extends org.scalaexercises.definitions.Library {

override def color = Some("#5B5988")

override def sections = List(
SemigroupSection,
MonoidSection,
FunctorSection,
ApplySection,
ApplicativeSection,
MonadSection,
FoldableSection,
TraverseSection,
IdentitySection,
EitherSection,
ValidatedSection,
EvalSection
)
override def sections =
List(
SemigroupSection,
MonoidSection,
FunctorSection,
ApplySection,
ApplicativeSection,
MonadSection,
FoldableSection,
TraverseSection,
IdentitySection,
EitherSection,
ValidatedSection,
EvalSection
)

override def logoPath = "cats"
}
13 changes: 7 additions & 6 deletions src/main/scala/catslib/Monad.scala
Expand Up @@ -149,11 +149,12 @@ object MonadSection extends AnyFlatSpec with Matchers with org.scalaexercises.de

optionTMonad[List].pure(42) should be(OptionT(res0))
}

/** There are also instances for other monads available for user in Cats library:
* 'EitherT' for 'Either'
* 'ReaderT' for 'Reader'
* 'WriterT' for 'Writer'
* 'StateT' for 'State'
* 'IdT' for 'Id'
*/
* 'EitherT' for 'Either'
* 'ReaderT' for 'Reader'
* 'WriterT' for 'Writer'
* 'StateT' for 'State'
* 'IdT' for 'Id'
*/
}

0 comments on commit ab86c72

Please sign in to comment.