Skip to content

Commit

Permalink
fix default impl for Unfoldable build and fromFoldable
Browse files Browse the repository at this point in the history
  • Loading branch information
julien-truffaut committed Jul 6, 2016
1 parent 351bf23 commit 534863e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/scala/cats/Unfoldable.scala
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ object Unfoldable {
case Nil => None
case x :: xs => Some((xs, x))
}
F.unfoldLeft(ga)(go)
F.unfoldLeft(ga.reverse)(go)
}
}
}

0 comments on commit 534863e

Please sign in to comment.