about summary refs log tree commit diff stats
path: root/lib/Octans/Neighbors.rakumod
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Octans/Neighbors.rakumod')
-rw-r--r--lib/Octans/Neighbors.rakumod4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/Octans/Neighbors.rakumod b/lib/Octans/Neighbors.rakumod
index 0c90b0c..cc46a25 100644
--- a/lib/Octans/Neighbors.rakumod
+++ b/lib/Octans/Neighbors.rakumod
@@ -1,9 +1,7 @@
-unit module Octans::Neighbors;
-
 # neighbors returns the neighbors of given index. Neighbors are cached
 # in @neighbors array. This way we don't have to compute them
 # everytime neighbors subroutine is called for the same position.
-sub neighbors (
+sub neighbors(
     @puzzle, Int $y, Int $x --> List
 ) is export {
     # @directions is holding a list of directions we can move in. It's