Skip to content

Commit 06f04c8

Browse files
authored
Use strict monad in sample (#553)
1 parent 1283d35 commit 06f04c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/FSharpPlus.Docs/Samples/Learn You a Haskell.fsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,7 @@ let loadedCoin = Prob [(Heads, 0.1); (Tails, 0.9)]
563563
// Prob [(false, 0.025); (false, 0.225); (false, 0.025); (false, 0.225);
564564
// (false, 0.025); (false, 0.225); (false, 0.025); (true, 0.225)]
565565
let flipThree : Prob<bool> =
566-
monad {
566+
monad' {
567567
let! a = coin
568568
let! b = coin
569569
let! c = loadedCoin

0 commit comments

Comments
 (0)