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
/* eslint-disable no-undef */ | |
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions |
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
@-moz-document domain("github.com") { | |
[type=checkbox], [type=radio] { | |
opacity: .8; /** so damn bright normally! */ | |
} | |
} |
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
class A<out T>(val value: T) | |
class B<T>(val value: T) | |
fun <T> doA(a: A<T>, t: T): T = t | |
fun <T> doB(b: B<T>, t: T): T = t | |
fun <T> doA2(a: A<T>) = fun (t: T): T = t | |
init { | |
// this compiles, because T is inferred to be "Any", because A specifies that T is covariant ("out") |