scala - Unable to reproduce Monoid examples from shapeless -


i try reproduce monoid examples from: https://github.com/milessabin/shapeless/blob/master/examples/src/main/scala/shapeless/examples/monoids.scala

scala> import shapeless._ import shapeless._  scala> import monoidsyntax._ <console>:10: error: not found: value monoidsyntax        import monoidsyntax._           ^  scala> import monoid.auto._ <console>:10: error: not found: value monoid        import monoid.auto._ 

i tried shapeless-2.0.0-snapshot , shapeless-2.0.0-m1. need other things?

thanks fabian

the problem missed monoid part of example...


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

mysql - Pass value between different pages (form) with PHP -