Last active
May 12, 2017 19:33
-
-
Save non/58d293a7b90d7addad6e1e31a631b45c to your computer and use it in GitHub Desktop.
List of classes/traits in Scala's standard library that are probably worth supporting via type classes. The implication being that other types (e.g. GenSeq) are not worth supporting directly. Suggested additions welcome!
This file contains 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
scala | |
Array | |
BigDecimal | |
BigInt | |
Boolean | |
Byte | |
Char | |
Double | |
Float | |
FunctionN... | |
Int | |
Long | |
Option (Some/None) | |
PartialFunction | |
Short | |
String | |
Symbol | |
TupleN... | |
Unit | |
scala.collection | |
Iterable | |
Seq | |
Traversable | |
scala.collection.immutable | |
BitSet | |
HashMap | |
HashSet | |
IntMap | |
List | |
LongMap | |
Map | |
Queue | |
Range | |
Set | |
SortedMap | |
SortedSet | |
Stack | |
Stream | |
TreeMap | |
TreeSet | |
Vector | |
scala.concurrent | |
Future | |
scala.concurrent.duration | |
Duration | |
FiniteDuration | |
scala.util | |
Either (Left/Right) | |
Try (Success/Failure) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment