HackerTrans
TopNewTrendsCommentsPastAskShowJobs

predictionfutu

no profile record

comments

predictionfutu
·w zeszłym roku·discuss
> CGO_ENABLED=1

It's not Go then
predictionfutu
·w zeszłym roku·discuss
bracket pattern

    def bracket[A, T](ctor: () -> A, next: (a: A) -> T): T =
        val a = ctor();
        try { return next(a) } finally { a.dispose() }