Last active
December 29, 2015 00:39
-
-
Save squito/7587452 to your computer and use it in GitHub Desktop.
useful scala implicits. Since IDEs dont' have nice tools for auto-completing implicit imports, this is a handy reference
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// for 20.seconds, etc. | |
import scala.concurrent.duration._ | |
// this is twitters version, only use if you need it to work w/ another API, otherwise prefer the scala version | |
import com.twitter.conversions.time._ | |
//for 6.megabytes.bytes | |
import com.twitter.conversions.storage._ | |
//===QF implicits=== | |
// RichSeq, RichNumericSeq, RichMap, RichIterable, RichZippedIterable | |
import com.qf.util.conversions.collection._ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
import com.qf.util.conversions.collection._
// RichSeq, RichNumericSeq, RichMap, RichIterable, RichZippedIterable