about summary refs log tree commit diff stats
path: root/lib/Octans/WordSearch.rakumod
diff options
context:
space:
mode:
authorAndinus <andinus@nand.sh>2021-03-03 23:18:52 +0530
committerAndinus <andinus@nand.sh>2021-03-03 23:18:52 +0530
commit34dcef166e47d268e98973f609da470c59ed5f07 (patch)
treedd15d46051b5c41e731bcb53a331ed807ab69956 /lib/Octans/WordSearch.rakumod
parent4c77f3376020ea13754b2f635ce07094cdc4a226 (diff)
downloadoctans-34dcef166e47d268e98973f609da470c59ed5f07.tar.gz
Change subroutine declaration style
From:
    sub t () {}

To:
    sub t() {}
Diffstat (limited to 'lib/Octans/WordSearch.rakumod')
-rw-r--r--lib/Octans/WordSearch.rakumod4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/Octans/WordSearch.rakumod b/lib/Octans/WordSearch.rakumod
index a1ed2c3..23487dc 100644
--- a/lib/Octans/WordSearch.rakumod
+++ b/lib/Octans/WordSearch.rakumod
@@ -1,12 +1,10 @@
-unit module Octans::WordSearch;
-
 use Octans::Neighbors;
 use Octans::RangeSearch;
 
 # word-search walks the given grid & tries to find words in the
 # dictionary. It walks in Depth-First manner (lookup Depth-First
 # search).
-sub word-search (
+sub word-search(
     # @dict holds the dictionary. @puzzle holds the puzzle.
     @dict, @puzzle,