Skip to content

Instantly share code, notes, and snippets.

@robhinds
Created March 21, 2020 21:10
Show Gist options
  • Save robhinds/c575b798a93179b0578721c86fada868 to your computer and use it in GitHub Desktop.
Save robhinds/c575b798a93179b0578721c86fada868 to your computer and use it in GitHub Desktop.
object combineFieldValues extends Poly2 {
implicit def caseValidation = at[ValidatedNel[String, Boolean], ValidatedNel[String, Boolean]] ({
case (a,b) => a.combine(b)
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment