Skip to content

Commit 9045b1f

Browse files
committed
Anglicize horse noise.
1 parent ad9c12a commit 9045b1f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/Language/haskell-to-p6.pod6

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ an Enum.
138138
139139
testAnimal :: Animal -> String
140140
testAnimal Dog = "Woof"
141-
testAnimal Horse = "Ney"
141+
testAnimal Horse = "Neigh"
142142
143143
A Perl6 Enum does not fit the same exact use cases, but it can be used in putting
144144
constraints on types.
@@ -147,7 +147,7 @@ constraints on types.
147147
148148
proto sub test-animal( Animal ) {*}
149149
multi sub test-animal( Dog ) { 'Woof' }
150-
multi sub test-animal( Animal::Horse ) { 'Ney' } # more explicit
150+
multi sub test-animal( Animal::Horse ) { 'Neigh' } # more explicit
151151
152152
say test-animal Animal::Dog; # more explicit
153153
say test-animal Horse;

0 commit comments

Comments
 (0)