We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bdc070d commit f6abc0dCopy full SHA for f6abc0d
1 file changed
src/FSharp.Control.TaskSeq.Test/CEPoC.fs
@@ -5,6 +5,10 @@ open FsUnit.Xunit
5
6
open FSharp.Control
7
8
+///
9
+/// EXAMPLE OF USING BIND AND YIELD AND CUSTOM:
10
+/// https://github.com/cannorin/FSharp.CommandLine/blob/master/src/FSharp.CommandLine/commands.fs
11
12
13
module CEs =
14
@@ -192,8 +196,10 @@ module CEs =
192
196
let y = 2
193
197
let z = 3
194
198
let! foo = Unchecked.defaultof<M<double>>
195
- Name "a"
- Member 4.0
199
+ // leaving the following two lines in creates an "expected to have type unit" error
200
+ //Name "a"
201
+ //Member 4.0
202
+ () // cannot end with a let!
203
}
204
205
let z7: M<double> = ce {
0 commit comments