groovy-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cazacugmihai <cazacugmi...@gmail.com>
Subject Re: Static type checking
Date Fri, 02 Sep 2016 18:47:36 GMT
Hi Jason,

I want to use something like this:

Function<Integer, String> fct1 = { ... } // without as Function<Integer,
> String>
> Function<String, Integer> fct2 = { ... } // -- // -- // --
> Function<Integer, String> fct1 = { ... } // -- // -- // --
> chain(fct1, fct2, fct3) { ... }


It is a pity that Groovy has this issue.

Thanks,
Mihai




--
View this message in context: http://groovy.329449.n5.nabble.com/Static-type-checking-tp5735162p5735165.html
Sent from the Groovy Users mailing list archive at Nabble.com.
Mime
View raw message