github.com/l3x/learn-fp-go@v0.0.0-20171228022418-7639825d0b71/4-purely-functional/ch09-functor-monoid/07_compose_gof/main.go (about) 1 package main 2 3 import ( 4 "fmt" 5 . "compose" 6 ) 7 8 func main() { 9 fmt.Println("A to B - Humanize(true):", Humanize(true)) 10 fmt.Println("B to C - Emphasize(\"yes\"):", Emphasize("yes")) 11 fmt.Println("A to C - EmphasizeHumanize(true):", EmphasizeHumanize(true)) 12 fmt.Println("A to C - Emphasize_Humanize(true):", Emphasize_Humanize(true)) 13 }