File: function.txt

package info (click to toggle)
highlight.js 10.7.3%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 8,332 kB
  • sloc: javascript: 41,059; makefile: 157; python: 29; sh: 20
file content (16 lines) | stat: -rw-r--r-- 254 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
fun a() = 1
fun /* b1 */ b(/*b2*/ a : Int /*b3*/) /*b4*/ = a // b5


fun <T> c() : String = "1"
inline fun <reified T> d() { return }


fun e(
    a : Int, /*a*/
    b : String //b
)
{}


fun <OUT> handle(lambda: (IN) /* parenthesized type */ -> OUT) {}