problem-solving
problem-solving copied to clipboard
🦋 Problem Solving, a repo for handling problems that require review, deliberation and possibly debate
Routines shift and pop on lists should allow an option to pop or shift multiple elements in one op
Currently it is awkward to accomplish that with routine splice. For example, to shift two elements into another list: my @a = 1, 2, 3; my @b = @a.splice(0, 2):...
::Real is an alias for ::CannotConvert - CannotConvert is used only when converting from an Inf or NaN to an Int, and in all other numeric conversions, ::Real is used...
Supply has the `.do` method that should be used only for its side-effects, it works kind of as a map that always return `$_`. But lists do not have that...
### Unicode provides two characters that can (in combination) be used for Raku's ternary operator: ⁇ DOUBLE QUESTION MARK Unicode: U+2047, UTF-8: E2 81 87 ‼️ red double exclamation mark...
While roast only seems to check the type of the exception, current rakudo has 3 attributes: * numerator * using * details Checking where the exception is thrown by rakudo,...