News for hackers. Stuff that matters.
Re:38% of bugs at Airbnb could have been prevented by using ... by hombre_fatal on Monday February 11, 2019 @11:13AM (#19135503)
> how would one annotate the type of that function

Some languages support function overloads like Swift and Kotlin.

    fn foo(input: A, xform: A -> B) -> B
    fn foo(input: [A], xform: A -> B) -> [B]
Hmm, maybe we can generalize that into a Functor.

There are no comments on this comment yet.