From 34dcef166e47d268e98973f609da470c59ed5f07 Mon Sep 17 00:00:00 2001 From: Andinus Date: Wed, 3 Mar 2021 23:18:52 +0530 Subject: Change subroutine declaration style From: sub t () {} To: sub t() {} --- lib/Octans/RangeSearch.rakumod | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'lib/Octans/RangeSearch.rakumod') diff --git a/lib/Octans/RangeSearch.rakumod b/lib/Octans/RangeSearch.rakumod index e287d93..c6674a6 100644 --- a/lib/Octans/RangeSearch.rakumod +++ b/lib/Octans/RangeSearch.rakumod @@ -1,5 +1,3 @@ -unit module Octans::RangeSearch; - # range-starts-with returns a subset of given @dict list that start # with $str. It should be faster than: # @@ -7,7 +5,7 @@ unit module Octans::RangeSearch; # # @dict should be a sorted list of words. It performs binary lookup on # the list. -sub range-starts-with ( +sub range-starts-with( @dict, Str $str --> List ) is export { # $lower, $upper hold the lower and upper index of the range -- cgit 1.4.1-2-gfad0