Skip to content

Instantly share code, notes, and snippets.

View siman's full-sized avatar
🏠
Working from home

Alex Siman siman

🏠
Working from home
View GitHub Profile
@softprops
softprops / key_opts.md
Created June 24, 2011 06:11
sbt function operator cheatsheet

key independent functions

:=   binds single value
+=   appends single value
++=  appends seq of values

key dependent functions

<<=  binds single value

<+= appends single value

@retronym
retronym / type-bounds.scala
Created December 16, 2009 11:17
Tour of Scala Type Bounds
class A
class A2 extends A
class B
trait M[X]
//
// Upper Type Bound
//
def upperTypeBound[AA <: A](x: AA): A = x