Quick actions

cmd+k|ctrl+k

Navigation

Languages

high and low

Snippet info

Language

Raku

Visibility

public

Author

kaspik99

Created

2018-11-23T17:03:50Z

Updated

2018-11-23T17:03:50Z


sub high-and-low($str) {
    with $str.words>>.Int {
        "{.min} {.max}"
    }
}

say high-and-low('1 2 3 4 5 -8');
INFO