Skip to content

Instantly share code, notes, and snippets.

@runarorama
Created February 29, 2016 18:20
Show Gist options
  • Save runarorama/d5d7ad55cb2a9b6c6e71 to your computer and use it in GitHub Desktop.
Save runarorama/d5d7ad55cb2a9b6c6e71 to your computer and use it in GitHub Desktop.
scala> funnel.Metric.periodicToMetric _
res0: funnel.Periodic[Nothing] => funnel.Metric[Nothing] = <function1>
scala> funnel.Metric.periodicToMetric _
<console>:11: error: value periodicToMetric is not a member of object funnel.Metric
funnel.Metric.periodicToMetric _
^
@runarorama
Copy link
Author

implicit def member of object disappears after the object is referenced once.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment