Skip to content

Commit 9032569

Browse files
olorin37JJ
authored andcommitted
Fix typo in haskell example
To make literal behaving like regular function sorround operator with parens. To get opposite sorround function with backticks.
1 parent f8e17ac commit 9032569

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/Language/haskell-to-p6.pod6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ does not translate exactly the same, but it's possible to do the same things, no
438438
Fold in Haskell is called Reduce in Raku.
439439
440440
=begin code :lang<haskell>
441-
mySum = foldl `+` 0 numList
441+
mySum = foldl (+) 0 numList
442442
=end code
443443
444444
=begin code

0 commit comments

Comments
 (0)