Skip to content

Instantly share code, notes, and snippets.

@deanwampler
Created October 28, 2020 12:20
Show Gist options
  • Save deanwampler/42337a39370ac06117c11c9898607d0a to your computer and use it in GitHub Desktop.
Save deanwampler/42337a39370ac06117c11c9898607d0a to your computer and use it in GitHub Desktop.
"2" <+> ("3" <+> "4") // "234"
("2" <+> "3") <+> "4" // "234"
StringMonoid.unit <+> "2" // "2"
"2" <+> StringMonoid.unit // "2"
2 <+> (3 <+> 4) // 9
(2 <+> 3) <+> 4 // 9
IntMonoid.unit <+> 2 // 2
2 <+> IntMonoid.unit // 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment