chunk_id
large_stringlengths
7
11
question_id
large_stringlengths
4
8
language
large_stringclasses
1 value
chunk_index
int64
0
5
chunk_text
large_stringlengths
128
2.78k
sparse_text
large_stringlengths
116
3.65k
dense_vector
listlengths
3.58k
3.58k
sparse_indices
listlengths
9
228
sparse_values
listlengths
9
228
export_source
large_stringclasses
1 value
58675873_c1
58675873
fsharp
1
1I let mutable x = 2I let mutable y = 11I let mutable gcd = 0I let mutable solution = false let stopWatch = Stopwatch(); stopWatch.Start() while not solution do x <- (x * x + c1) % n; y <- (y * y + c1) % n; y <- (y * y + c1) % n; prod <- ((y - x) * prod) % n; if (iter % 150 = 0) then gcd <- Z.GreatestCommonDivisor (n,...
1I let mutable x = 2I let mutable y = 11I let mutable gcd = 0I let mutable solution = false let stopWatch = Stopwatch(); stopWatch.Start() while not solution do x <- (x * x + c1) % n; y <- (y * y + c1) % n; y <- (y * y + c1) % n; prod <- ((y - x) * prod) % n; if (iter % 150 = 0) then gcd <- Z.GreatestCommonDivisor (n,...
[ -0.031982421875, 0.00958251953125, -0.00136566162109375, 0.0081787109375, -0.01507568359375, 0.01104736328125, 0.0113525390625, 0.00653076171875, -0.0022735595703125, -0.03955078125, 0.039794921875, 0.01104736328125, -0.008056640625, -0.0283203125, 0.01177978515625, 0.0035552978515625,...
[ 106, 568, 2633, 842, 22819, 1022, 2203, 116, 113, 534, 22109, 71, 757, 29806, 98320, 7279, 156378, 42284, 35414, 126597, 12960, 959, 4426, 997, 17727, 653, 502, 53, 16840, 3252, 567, 1283, 6954, 10770, 3796, 14055, 51858, 19, 71574, 15609...
[ 0.032806396484375, 0.0673828125, 0.070068359375, 0.130859375, 0.1329345703125, 0.0694580078125, 0.03302001953125, 0.06597900390625, 0.10009765625, 0.1044921875, 0.062255859375, 0.06353759765625, 0.067138671875, 0.156982421875, 0.0755615234375, 0.1361083984375, 0.2298583984375, 0.14...
embed
36585443_c1
36585443
fsharp
1
of Player (*Functions*) let shoot lastShot player = (player.Score + lastShot) let fieldShot (fieldShooter, shot) = let player = match fieldShooter with | FieldShooter player -> player match player.Score with | score when score >= 11 -> score | _ -> match (fieldShooter, shot) with | FieldShooter player, shot -> match s...
of Player (*Functions*) let shoot lastShot player = (player.Score + lastShot) let fieldShot (fieldShooter, shot) = let player = match fieldShooter with | FieldShooter player -> player match player.Score with | score when score >= 11 -> score | _ -> match (fieldShooter, shot) with | FieldShooter player, shot -> match s...
[ -0.032958984375, 0.00787353515625, 0.015869140625, 0.021484375, 0.000385284423828125, -0.0152587890625, -0.0224609375, 0.002166748046875, 0.00157928466796875, 0.0228271484375, 0.001983642578125, 0.029052734375, -0.01361083984375, 0.0191650390625, 0.01806640625, -0.0203857421875, 0.01...
[ 111, 60560, 75402, 97249, 10763, 7, 77518, 2633, 106443, 4568, 115729, 18, 58585, 2203, 139570, 30854, 997, 44457, 28394, 31, 720, 51876, 14858, 678, 58745, 117657, 33079, 47763, 3229, 977, 534, 32964, 147534, 116, 6, 129335, 138, 5775, 202...
[ 0.229248046875, 0.25537109375, 0.07781982421875, 0.1741943359375, 0.1593017578125, 0.0902099609375, 0.0645751953125, 0.1300048828125, 0.22802734375, 0.19140625, 0.18115234375, 0.054473876953125, 0.2196044921875, 0.083251953125, 0.1822509765625, 0.13818359375, 0.096435546875, 0.1575...
embed
39318745_c1
39318745
fsharp
1
// given a synchronous list of tasks, run each task asynchronously, // return calculated values in original order let worker lst = // this doesn't work as expected, it waits for each reply let agent = threadingLimitAgent 10 lst |> List.map(fun x -> agent.PostAndReply( fun replyChannel -> Start(x, replyChannel))) Now, ...
// given a synchronous list of tasks, run each task asynchronously, // return calculated values in original order let worker lst = // this doesn't work as expected, it waits for each reply let agent = threadingLimitAgent 10 lst |> List.map(fun x -> agent.PostAndReply( fun replyChannel -> Start(x, replyChannel))) Now, ...
[ -0.0245361328125, 0.013671875, -0.0007171630859375, 0.00019931793212890625, -0.01416015625, -0.006134033203125, -0.00049591064453125, 0.0106201171875, 0.01068115234375, -0.0341796875, 0.01025390625, 0.029541015625, 0.004547119140625, -0.00174713134765625, 0.0140380859375, 0.01696777343...
[ 4666, 34475, 200470, 10821, 5303, 66211, 11675, 12638, 12654, 101966, 79850, 30646, 74481, 3674, 142424, 23, 7311, 12989, 2633, 4488, 56, 271, 22027, 18, 237, 84751, 40485, 75836, 23882, 86997, 214, 6836, 46825, 209, 32036, 62346, 16498, 1022...
[ 0.0292816162109375, 0.028839111328125, 0.201171875, 0.088623046875, 0.143798828125, 0.200927734375, 0.1190185546875, 0.09649658203125, 0.1883544921875, 0.1392822265625, 0.045257568359375, 0.16650390625, 0.1650390625, 0.034637451171875, 0.1470947265625, 0.026947021484375, 0.0538024902...
embed
40766741_c0
40766741
fsharp
0
Title: make printfn more clear in a function pipeline Problem title: make printfn more clear in a function pipeline Tags: f%23 Problem: make printfn more clear in a function pipeline So I have this last piece in a pipe |> Array.iter (fun name -> name |> transform |> printfn "RENAME '%s' INTO '%s'" name ) The transform ...
make printfn more clear in a function pipeline make printfn more clear in a function pipeline f%23 Array.iter RENAME INTO text.Replace make printfn more clear in a function pipeline So I have this last piece in a pipe The transform is: To me the iter predicate function isn't very clear, it is saying push name into tran...
[ -0.00189208984375, -0.00069427490234375, 0.017578125, 0.046630859375, -0.01531982421875, -0.01708984375, 0.007415771484375, -0.015625, -0.0022125244140625, 0.017578125, 0.01019287109375, 0.0264892578125, 0.0107421875, 0.0015411376953125, 0.00927734375, 0.0021514892578125, 0.007385253...
[ 3249, 28412, 14783, 1286, 34735, 23, 32354, 137158, 2256, 1238, 3742, 69253, 53, 16840, 9069, 182512, 213354, 7986, 4332, 23935, 4568, 63847, 27198, 17, 720, 1653, 2063, 67, 54433, 25944, 9351, 3934, 16750, 7311, 114689, 3917, 167201, 91177, ...
[ 0.0838623046875, 0.209228515625, 0.1983642578125, 0.160888671875, 0.2379150390625, 0.052093505859375, 0.200439453125, 0.2001953125, 0.168212890625, 0.0172119140625, 0.074951171875, 0.0909423828125, 0.035369873046875, 0.1768798828125, 0.1026611328125, 0.2120361328125, 0.1229248046875,...
embed
43118406_c0
43118406
fsharp
0
Title: Return an F# record type as JSON in Azure Functions Problem title: Return an F# record type as JSON in Azure Functions Tags: f%23, azure, azure-functions, json Problem: Return an F# record type as JSON in Azure Functions I'm creating a simple azure function in F#. At the end, I'm returning a record type as JSON....
Return an F# record type as JSON in Azure Functions Return an F# record type as JSON in Azure Functions f%23 azure azure-functions json JSON Azure Functions Gender Woman Frequency Percentage req.CreateResponse HttpStatusCode.OK JsonConvert.SerializeObject DataMemberAttribute Return an F# record type as JSON in Azure Fu...
[ -0.0198974609375, 0.00384521484375, 0.013916015625, -0.004150390625, -0.00244140625, -0.0091552734375, -0.005828857421875, 0.0198974609375, -0.01513671875, -0.000858306884765625, 0.01806640625, 0.0294189453125, 0.008056640625, 0.00341796875, 0.037353515625, 0.007171630859375, 0.00259...
[ 173340, 563, 4904, 17164, 10644, 237, 821, 58627, 23, 176071, 28670, 10763, 142, 1238, 3949, 3742, 295, 3408, 137175, 1647, 1681, 527, 23894, 112857, 21612, 944, 908, 108475, 456, 864, 63784, 94399, 3062, 135206, 114211, 5, 9092, 11549, 294...
[ 0.17724609375, 0.1395263671875, 0.215576171875, 0.1982421875, 0.189208984375, 0.08648681640625, 0.1854248046875, 0.2196044921875, 0.03363037109375, 0.2261962890625, 0.128662109375, 0.1055908203125, 0.014984130859375, 0.0665283203125, 0.0380859375, 0.112548828125, 0.12841796875, 0.1...
embed
13604316_c0
13604316
fsharp
0
Title: Seq.iter slower than native mapping : any generic solution? Problem title: Seq.iter slower than native mapping : any generic solution? Tags: functor, f%23, inline, generics Problem: Seq.iter slower than native mapping : any generic solution? The issue has already shown up before, and its reason answered by John ...
Seq.iter slower than native mapping : any generic solution? Seq.iter slower than native mapping : any generic solution? functor f%23 inline generics Seq.iter Array.zeroCreate Real CPU gen0 gen1 gen2 ar.Length Array.iteri Seq.iteri Seq.iter slower than native mapping : any generic solution? The issue has already shown u...
[ -0.0091552734375, 0.001739501953125, 0.01361083984375, -0.0174560546875, -0.008544921875, -0.00994873046875, 0.00262451171875, 0.004547119140625, -0.00341796875, -0.030517578125, -0.006622314453125, 0.0169677734375, -0.00007534027099609375, -0.00127410888671875, 0.01611328125, -0.01147...
[ 503, 864, 16840, 72803, 56, 3501, 24, 4935, 291, 26783, 2499, 189534, 29806, 7477, 18770, 1238, 3949, 3742, 23, 2256, 69253, 53, 80510, 63784, 5120, 86039, 9226, 2389, 304, 187, 14465, 14, 31089, 31635, 39287, 15400, 83, 136, 62346, 221, ...
[ 0.09490966796875, 0.1884765625, 0.254150390625, 0.205810546875, 0.1488037109375, 0.022674560546875, 0.1051025390625, 0.1297607421875, 0.134521484375, 0.124267578125, 0.0540771484375, 0.1800537109375, 0.1519775390625, 0.08245849609375, 0.140625, 0.0222930908203125, 0.027069091796875, ...
embed
30437790_c0
30437790
fsharp
0
Title: F# record and evaluating of this Problem title: F# record and evaluating of this Tags: f%23, syntax Problem: F# record and evaluating of this I'm struggling a bit with a F#-assignment, which I hope you can answer for mere: I have that We will use the type OrderedList<’a> declared as follows type OrderedList<’a w...
F# record and evaluating of this F# record and evaluating of this f%23 syntax OrderedList canonical:OrderedList list:OrderedList x::xs y::xss SUCCESS FEJL Some F# record and evaluating of this I'm struggling a bit with a F#-assignment, which I hope you can answer for mere: I have that The question that I'm struggling w...
[ -0.01422119140625, 0.01275634765625, 0.0084228515625, 0.01025390625, 0.00537109375, -0.009521484375, -0.00433349609375, -0.0012054443359375, 0.01214599609375, 0.00665283203125, 0.00537109375, 0.0306396484375, 0.011962890625, -0.01806640625, -0.0067138671875, -0.0322265625, 0.00273132...
[ 563, 4904, 17164, 136, 151575, 111, 903, 214, 1238, 3949, 3742, 6002, 86531, 81206, 297, 154663, 74413, 21533, 143045, 56, 5303, 1022, 425, 113, 16817, 441, 194695, 41114, 866, 31384, 237875, 4785, 162, 31304, 15673, 35166, 2563, 765, 450, ...
[ 0.1558837890625, 0.2103271484375, 0.22802734375, 0.0181884765625, 0.162109375, 0.038330078125, 0.120849609375, 0.015869140625, 0.1221923828125, 0.09112548828125, 0.1937255859375, 0.1094970703125, 0.1590576171875, 0.2091064453125, 0.09814453125, 0.177734375, 0.129150390625, 0.136718...
embed
53673217_c1
53673217
fsharp
1
.Msg // defines the initial state and initial command (= side-effect) of the application let init () : Model * Cmd<Msg> = let initialModel = { CurrentPortal = None } initialModel, Cmd.none let update (msg : Msg) (currentModel : Model) : Model * Cmd<Msg> = match msg with | ShowDeployment -> let nextModel = { currentMode...
.Msg // defines the initial state and initial command (= side-effect) of the application let init () : Model * Cmd<Msg> = let initialModel = { CurrentPortal = None } initialModel, Cmd.none let update (msg : Msg) (currentModel : Model) : Model * Cmd<Msg> = match msg with | ShowDeployment -> let nextModel = { currentMode...
[ -0.0194091796875, 0.0128173828125, -0.000020384788513183594, 0.022216796875, 0.0076904296875, -0.0135498046875, -0.01348876953125, -0.020751953125, 0.0032196044921875, -0.0218505859375, 0.004486083984375, 0.005462646484375, 0.00015735626220703125, 0.002777099609375, -0.00482177734375, ...
[ 5, 594, 7, 177, 4666, 61924, 70, 61475, 11341, 136, 75101, 78690, 5609, 9, 171760, 38415, 2633, 23, 217, 152, 13293, 661, 313, 54686, 140290, 114063, 60006, 289, 438, 157, 28350, 4432, 70802, 163812, 14858, 68163, 678, 17367, 4657, 13158,...
[ 0.184814453125, 0.178466796875, 0.2144775390625, 0.277587890625, 0.111328125, 0.228759765625, 0.0218963623046875, 0.2327880859375, 0.2060546875, 0.08660888671875, 0.269775390625, 0.0265960693359375, 0.20166015625, 0.051116943359375, 0.286376953125, 0.209716796875, 0.1190185546875, ...
embed
36459072_c0
36459072
fsharp
0
Title: F# convert json to csv: how to treat Option&lt;string&gt; as empty string? Problem title: F# convert json to csv: how to treat Option&lt;string&gt; as empty string? Tags: f%23, csv, json Problem: F# convert json to csv: how to treat Option as empty string? I'm new to F# and I would like to use the JsonProvider t...
F# convert json to csv: how to treat Option&lt;string&gt; as empty string? F# convert json to csv: how to treat Option&lt;string&gt; as empty string? f%23 csv json Option FSharp.Data.dll FSharp.Data Persons JsonProvider User1 Streed City User2 Persons.GetSample persons.Persons p.Id p.Name p.Company p.Address Street F# ...
[ -0.001495361328125, 0.005401611328125, 0.01556396484375, 0.03662109375, -0.01495361328125, 0.002655029296875, 0.0033721923828125, 0.00177001953125, -0.0225830078125, 0.033203125, -0.013671875, 0.015869140625, 0.0093994140625, 0.01055908203125, -0.00092315673828125, -0.00135040283203125...
[ 563, 4904, 96760, 1647, 1681, 47, 20763, 334, 3642, 85689, 86769, 91693, 5386, 201505, 79315, 237, 1238, 3742, 93774, 3467, 254, 137989, 1181, 15270, 821, 177997, 53400, 24714, 6406, 304, 33209, 3445, 160054, 163612, 108161, 161007, 15130, 18...
[ 0.1285400390625, 0.204345703125, 0.134521484375, 0.112060546875, 0.217529296875, 0.07830810546875, 0.1298828125, 0.2239990234375, 0.030303955078125, 0.10540771484375, 0.2391357421875, 0.1314697265625, 0.0276947021484375, 0.17431640625, 0.17626953125, 0.04949951171875, 0.0724487304687...
embed
43832997_c1
43832997
fsharp
1
failwith "Something went wrong" Then create1 would compile but its return value would (I believe) be useless unless downcast to X, Y, or Z. But this raises the polymorphism issue again: to downcast generically I would need a function that returns values of different types. Another alternative would be to use a Discrim...
failwith "Something went wrong" Then create1 would compile but its return value would (I believe) be useless unless downcast to X, Y, or Z. But this raises the polymorphism issue again: to downcast generically I would need a function that returns values of different types. Another alternative would be to use a Discrim...
[ 0.015625, 0.0032196044921875, -0.015869140625, 0.01446533203125, 0.0032806396484375, -0.0030517578125, 0.0020904541015625, -0.007049560546875, 0.01165771484375, 0.0120849609375, -0.0087890625, -0.032958984375, 0.0118408203125, -0.026611328125, -0.0036163330078125, -0.0224609375, 0.00...
[ 35782, 76228, 8912, 282, 64113, 23409, 44691, 28282, 418, 9969, 1340, 30646, 34292, 4527, 9393, 7565, 55741, 47, 1193, 990, 567, 35874, 178851, 8780, 31089, 11212, 32354, 142424, 12921, 52895, 30700, 135421, 32528, 10644, 35014, 18431, 140803, ...
[ 0.2025146484375, 0.2298583984375, 0.05303955078125, 0.07891845703125, 0.1590576171875, 0.1551513671875, 0.2333984375, 0.212158203125, 0.10693359375, 0.1380615234375, 0.1541748046875, 0.1395263671875, 0.1142578125, 0.062103271484375, 0.082275390625, 0.14794921875, 0.1993408203125, 0...
embed
21050298_c1
21050298
fsharp
1
Condition>() with get, set interface IList<Condition> with member this.Item with get(index) = self.Conditions.[index] and set(index)(value) = self.Conditions.[index] <- value member this.IndexOf item = self.Conditions.IndexOf(item) member this.Insert(index, item) = self.Conditions.Insert(index, item) member this.Remove...
Condition>() with get, set interface IList<Condition> with member this.Item with get(index) = self.Conditions.[index] and set(index)(value) = self.Conditions.[index] <- value member this.IndexOf item = self.Conditions.IndexOf(item) member this.Insert(index, item) = self.Conditions.Insert(index, item) member this.Remove...
[ -0.002044677734375, 0.04345703125, -0.0126953125, -0.0147705078125, -0.0091552734375, -0.00958251953125, -0.00897216796875, 0.0025787353515625, 0.000438690185546875, 0.01171875, 0.01324462890625, 0.012451171875, -0.00982666015625, 0.025146484375, 0, 0.017578125, 0.0179443359375, 0....
[ 46347, 1363, 2740, 132, 16, 678, 2046, 4, 5423, 101758, 87, 154663, 11935, 428, 32786, 903, 5, 2982, 4711, 2203, 15970, 5256, 268, 136, 51421, 27494, 13, 34292, 4153, 39659, 132887, 35735, 217, 195, 33657, 4332, 432, 272, 28848, 108210, ...
[ 0.281005859375, 0.2164306640625, 0.1290283203125, 0.053466796875, 0.0146331787109375, 0.097412109375, 0.18603515625, 0.0305938720703125, 0.1929931640625, 0.24267578125, 0.1317138671875, 0.2088623046875, 0.11767578125, 0.2186279296875, 0.19970703125, 0.1453857421875, 0.023239135742187...
embed
65382271_c0
65382271
fsharp
0
Title: Sum of a predefined List F# Problem title: Sum of a predefined List F# Tags: recursion, sum, blackjack, f%23, list Problem: Sum of a predefined List F# I am a beginner F# learner, currently trying some Lists actions within a BlackJack F# implementation. I am trying to sum the elements of a list which I created a...
Sum of a predefined List F# Sum of a predefined List F# recursion sum blackjack f%23 list Sum List Cards Ace Two Three Four Five Six Seven Eight Nine Ten Jack Queen King CardPoints Sum of a predefined List F# I am a beginner F# learner, currently trying some Lists actions within a BlackJack F# implementation. I am tryi...
[ -0.01373291015625, -0.00860595703125, 0.0152587890625, -0.0115966796875, 0.00469970703125, -0.0069580078125, -0.0098876953125, 0.020263671875, 0.019287109375, -0.0177001953125, 0.0019989013671875, 0.00360107421875, 0.00090789794921875, 0.0034332275390625, 0.0023956298828125, -0.0192871...
[ 36335, 111, 1653, 13, 5983, 32036, 563, 4904, 195625, 1830, 10554, 178200, 1238, 3949, 3742, 5303, 23660, 70280, 32964, 129335, 65056, 156615, 84247, 132556, 22553, 1520, 5531, 21763, 44109, 18813, 147534, 9842, 1679, 30698, 31577, 7, 61972, ...
[ 0.2335205078125, 0.1151123046875, 0.1448974609375, 0.11474609375, 0.216552734375, 0.210205078125, 0.12451171875, 0.182373046875, 0.1767578125, 0.053558349609375, 0.2342529296875, 0.1844482421875, 0.06011962890625, 0.052093505859375, 0.179931640625, 0.18359375, 0.186279296875, 0.147...
embed
53069151_c0
53069151
fsharp
0
Title: Calling method in F# with named parameters on multiple lines Problem title: Calling method in F# with named parameters on multiple lines Tags: f%23, c%23-to-f%23 Problem: Calling method in F# with named parameters on multiple lines I have some F# code that calls a method written in C# with lots of parameters. In...
Calling method in F# with named parameters on multiple lines Calling method in F# with named parameters on multiple lines f%23 c%23-to-f%23 standard Calling Models.UserService.CreateUserRequest example.com USD FS0058 Possible Try Calling method in F# with named parameters on multiple lines I have some F# code that call...
[ -0.00543212890625, 0.007415771484375, 0.025390625, 0.00836181640625, 0.0031585693359375, -0.003173828125, 0.002838134765625, -0.03271484375, -0.001434326171875, 0.00445556640625, -0.004852294921875, 0.0093994140625, -0.015869140625, 0.0233154296875, 0.0167236328125, -0.007598876953125,...
[ 26265, 214, 55300, 23, 563, 4904, 678, 24, 4806, 171859, 98, 48716, 124519, 1238, 3742, 27495, 188, 420, 5570, 13293, 121979, 63784, 1062, 2189, 75616, 27781, 19052, 93774, 10057, 115861, 40858, 18151, 11782, 59121, 313, 71358, 6049, 28236, ...
[ 0.160400390625, 0.0789794921875, 0.2178955078125, 0.03857421875, 0.14990234375, 0.2452392578125, 0.06695556640625, 0.1402587890625, 0.166015625, 0.234619140625, 0.0819091796875, 0.1849365234375, 0.1783447265625, 0.06512451171875, 0.05908203125, 0.04498291015625, 0.045806884765625, ...
embed
6602906_c0
6602906
fsharp
0
Title: Deserializing JSON Problem title: Deserializing JSON Tags: f%23, json Problem: Deserializing JSON I'm trying to deserialize a relative simple JSON string, which looks like: [{ "FacebookID": "00000000000000", "Items": [{ "BillID": "75a9ca7b-3b79-4db0-9867-83b2f66021d2", "FacebookID": "0000000000", "Description": ...
Deserializing JSON Deserializing JSON f%23 json Deserializing JSON FacebookID Items BillID Description Some Amount Accepted cec0a6d2-1db9-4a12-ae43-f61c6c69f0a6 aaf51bb3-4ae6-48b5-aeb6-9c4d42fd4d2a a179-31d4191aab6a DataContract Item DataMember Name Basic s:string MemoryStream ASCIIEncoding.Default.GetBytes DataContrac...
[ 0.0216064453125, 0.0162353515625, -0.0244140625, 0.01416015625, -0.0252685546875, 0.018798828125, -0.02392578125, 0.01263427734375, 0.00244140625, -0.00958251953125, -0.00506591796875, 0.0034027099609375, -0.01171875, 0.006134033203125, 0.006683349609375, 0.012939453125, 0.0105590820...
[ 262, 184, 51626, 84382, 821, 58627, 1238, 3949, 3742, 1647, 1681, 1431, 7146, 78426, 19893, 70643, 31384, 121147, 111383, 405, 238, 156918, 11809, 39989, 27417, 91692, 91, 91693, 172681, 115061, 125429, 10001, 587, 11, 75358, 4233, 52825, 356...
[ 0.1578369140625, 0.1370849609375, 0.1865234375, 0.061126708984375, 0.1451416015625, 0.2340087890625, 0.04864501953125, 0.02947998046875, 0.1138916015625, 0.0933837890625, 0.1871337890625, 0.173828125, 0.1253662109375, 0.1751708984375, 0.123291015625, 0.143798828125, 0.041961669921875...
embed
40703838_c0
40703838
fsharp
0
Title: F# : list.[(argument)..] errors in Match Pattern Problem title: F# : list.[(argument)..] errors in Match Pattern Tags: f%23, indexing, list, match Problem: F# : list.[(argument)..] errors in Match Pattern I have created a function where i want to match the length of a list from a given index to the end of the li...
F# : list.[(argument)..] errors in Match Pattern F# : list.[(argument)..] errors in Match Pattern f%23 indexing list match Match Pattern p10 p11 p12 p13 p14 List.length List.item F# : list.[(argument)..] errors in Match Pattern I have created a function where i want to match the length of a list from a given index to t...
[ -0.0167236328125, 0.019775390625, 0.0054931640625, -0.0028533935546875, -0.006500244140625, -0.0179443359375, -0.010986328125, 0.004058837890625, 0.0150146484375, 0.01007080078125, 0.0179443359375, -0.01141357421875, 0.02392578125, -0.004608154296875, 0.01031494140625, -0.0092163085937...
[ 563, 4904, 5303, 155937, 18499, 23, 67407, 9876, 22766, 1238, 3742, 63262, 14858, 963, 2592, 32036, 23986, 217, 5, 75935, 32354, 3444, 140909, 1295, 3564, 27781, 617, 3525, 678, 80854, 201, 29568, 71358, 20028, 9790, 103510, 15363, 31, 1132...
[ 0.10125732421875, 0.171630859375, 0.162841796875, 0.19482421875, 0.206787109375, 0.0823974609375, 0.2396240234375, 0.1766357421875, 0.1295166015625, 0.0311279296875, 0.08087158203125, 0.10205078125, 0.22119140625, 0.054534912109375, 0.014312744140625, 0.1461181640625, 0.0437316894531...
embed
7294577_c0
7294577
fsharp
0
Title: Getting constant length retrieve time constant with immutable lists in a functional programming context Problem title: Getting constant length retrieve time constant with immutable lists in a functional programming context Tags: f%23, functional-programming, haskell, ocaml, immutability Problem: Getting constant...
Getting constant length retrieve time constant with immutable lists in a functional programming context Getting constant length retrieve time constant with immutable lists in a functional programming context f%23 functional-programming haskell ocaml immutability Getting Getting constant length retrieve time constant wi...
[ -0.0034637451171875, 0.002716064453125, 0.0172119140625, -0.006622314453125, 0.00946044921875, -0.025634765625, -0.0005340576171875, 0.00372314453125, 0.022705078125, -0.06640625, -0.00070953369140625, -0.0028533935546875, 0.0026092529296875, 0.015869140625, -0.0064697265625, 0.0046081...
[ 210732, 53697, 140909, 456, 3996, 3134, 1733, 678, 566, 561, 22819, 5303, 123309, 56037, 43701, 1238, 3742, 28966, 1556, 142508, 36, 9779, 141, 14311, 41159, 7808, 2967, 759, 74481, 35509, 8560, 645, 80854, 3714, 13267, 23718, 203249, 17368, ...
[ 0.12255859375, 0.2489013671875, 0.2227783203125, 0.078125, 0.1416015625, 0.00823974609375, 0.188720703125, 0.038116455078125, 0.05340576171875, 0.14111328125, 0.117431640625, 0.2313232421875, 0.185791015625, 0.1146240234375, 0.176025390625, 0.0274200439453125, 0.107421875, 0.094238...
embed
43857644_c0
43857644
fsharp
0
Title: How do I print a statement then delete item in F# Problem title: How do I print a statement then delete item in F# Tags: f%23 Problem: How do I print a statement then delete item in F# I have this program that I have created in F#. I need to accept a sentence and then return the sentence stating their each words...
How do I print a statement then delete item in F# How do I print a statement then delete item in F# f%23 How Art Noun Adj Adv Verb Comma Conj Prep EOS NONE How do I print a statement then delete item in F# I have this program that I have created in F#. I need to accept a sentence and then return the sentence stating th...
[ -0.0164794921875, -0.00787353515625, -0.004974365234375, 0.0194091796875, -0.0164794921875, 0.0064697265625, 0.0177001953125, -0.0067138671875, 0.00567626953125, 0.0079345703125, 0.0262451171875, -0.00421142578125, -0.0003032684326171875, -0.00811767578125, 0.0206298828125, 0.009521484...
[ 11249, 54, 87, 28412, 63805, 7068, 154109, 35735, 23, 563, 4904, 10, 1238, 3742, 4713, 309, 170, 1446, 192, 1914, 163795, 31261, 1528, 75935, 26946, 149357, 30646, 13254, 12638, 34153, 2831, 116483, 2565, 12301, 9844, 14858, 22288, 71713, 7...
[ 0.050079345703125, 0.0245819091796875, 0.026824951171875, 0.2015380859375, 0.2401123046875, 0.12255859375, 0.241455078125, 0.18017578125, 0.052490234375, 0.135498046875, 0.198486328125, 0.011993408203125, 0.070556640625, 0.1026611328125, 0.0906982421875, 0.02691650390625, 0.055786132...
embed
14130729_c0
14130729
fsharp
0
Title: Is there any way to control AutoDetectChanges on SqlEntityConnection? Problem title: Is there any way to control AutoDetectChanges on SqlEntityConnection? Tags: entity-framework, f%23, type-providers Problem: Is there any way to control AutoDetectChanges on SqlEntityConnection? This article provides some evidenc...
Is there any way to control AutoDetectChanges on SqlEntityConnection? Is there any way to control AutoDetectChanges on SqlEntityConnection? entity-framework f%23 type-providers AutoDetectChanges SqlEntityConnection context.Configuration.AutoDetectChangesEnabled context.Configuration context.DataContext.Configuration co...
[ 0.006134033203125, 0.029052734375, 0.024658203125, 0.001068115234375, -0.031494140625, -0.000606536865234375, -0.0145263671875, -0.004730224609375, -0.00946044921875, -0.00726318359375, -0.0142822265625, 0.00653076171875, 0.0106201171875, 0.0233154296875, 0.00433349609375, 0.0170898437...
[ 2499, 3917, 6226, 4396, 30347, 24762, 127008, 4188, 159, 99247, 7768, 18, 2481, 235603, 1830, 77630, 160328, 3949, 3742, 10644, 93136, 43701, 59994, 38115, 2886, 22829, 39029, 75161, 174548, 5773, 16511, 202220, 2053, 88551, 23718, 136912, 1835...
[ 0.031341552734375, 0.0980224609375, 0.2235107421875, 0.1876220703125, 0.2401123046875, 0.12841796875, 0.2264404296875, 0.1080322265625, 0.036590576171875, 0.2037353515625, 0.04962158203125, 0.10162353515625, 0.07867431640625, 0.1739501953125, 0.039764404296875, 0.1304931640625, 0.068...
embed
70863690_c0
70863690
fsharp
0
Title: Why does f# mutate an immutable variable without warning or error? Problem title: Why does f# mutate an immutable variable without warning or error? Tags: f%23, f%23-data Problem: Why does f# mutate an immutable variable without warning or error? The following script mutates the immutable variable jar without er...
Why does f# mutate an immutable variable without warning or error? Why does f# mutate an immutable variable without warning or error? f%23 f%23-data Why System.Xml.Linq.dll nuget:FSharp.Data FSharp.Data www.google.com System.Uri System.Net.CookieContainer Count Pre-request jar.GetCookies Http.RequestString Post-request...
[ 0.0010833740234375, 0.0262451171875, -0.028564453125, 0.00072479248046875, 0.014892578125, 0.0196533203125, -0.01513671875, 0.013427734375, 0.00701904296875, 0.0203857421875, 0.0031585693359375, 0.00010204315185546875, -0.005584716796875, 0.0002918243408203125, 0.033447265625, -0.01684...
[ 44084, 14602, 1238, 4904, 31158, 13, 566, 561, 22819, 77336, 15490, 1631, 592, 707, 18499, 3742, 27495, 10135, 12353, 1542, 7237, 866, 44982, 1181, 315, 3794, 36381, 3467, 254, 137989, 93774, 59875, 416, 24447, 146318, 25500, 108210, 1914, ...
[ 0.154052734375, 0.02923583984375, 0.1641845703125, 0.2496337890625, 0.215576171875, 0.134033203125, 0.07244873046875, 0.1314697265625, 0.14453125, 0.2073974609375, 0.119384765625, 0.1131591796875, 0.0704345703125, 0.012969970703125, 0.1326904296875, 0.046844482421875, 0.0323181152343...
embed
3833779_c0
3833779
fsharp
0
Title: What&#x27;s happening when I call a function with args separated with commas? Problem title: What&#x27;s happening when I call a function with args separated with commas? Tags: f%23 Problem: What's happening when I call a function with args separated with commas? Very much a newbie with F#, can't seem to get my ...
What&#x27;s happening when I call a function with args separated with commas? What&#x27;s happening when I call a function with args separated with commas? f%23 What RiskMeasurement Basics01 AvailableCapital Main EntryPoint Array.map Basics01.AvailableCapital Available Capital What's happening when I call a function wi...
[ 0.00872802734375, 0.0003814697265625, -0.00994873046875, 0.01025390625, 0.00023651123046875, 0.01116943359375, 0.0238037109375, -0.0186767578125, 0.00830078125, 0.00762939453125, -0.0031280517578125, -0.0164794921875, -0.000701904296875, 0.00007486343383789062, 0.002471923828125, -0.02...
[ 4865, 3768, 123087, 3229, 11782, 32354, 678, 79459, 7, 84797, 71, 375, 1510, 1238, 3742, 114588, 6696, 11, 56851, 91692, 6746, 238204, 87926, 14, 1803, 12321, 357, 15123, 147534, 69253, 62346, 45475, 25820, 2886, 32546, 87, 9014, 563, 4904,...
[ 0.042572021484375, 0.0809326171875, 0.1171875, 0.042633056640625, 0.1837158203125, 0.19775390625, 0.14501953125, 0.2208251953125, 0.110595703125, 0.1876220703125, 0.06988525390625, 0.1649169921875, 0.1949462890625, 0.005950927734375, 0.047607421875, 0.1531982421875, 0.023056030273437...
embed
12472472_c1
12472472
fsharp
1
) -> decimal x static member ($) (FromInt, _:Complex ) = fun (x:int) -> Complex(float x,0.0) let inline fromInt (a:int) : ^t = (FromInt $ Unchecked.defaultof< ^t>) a module NumericLiteralG = [<ReflectedDefinition>] let inline FromZero() = LanguagePrimitives.GenericZero [<ReflectedDefinition>] let inline FromOne() = Lan...
) -> decimal x static member ($) (FromInt, _:Complex ) = fun (x:int) -> Complex(float x,0.0) let inline fromInt (a:int) : ^t = (FromInt $ Unchecked.defaultof< ^t>) a module NumericLiteralG = [<ReflectedDefinition>] let inline FromZero() = LanguagePrimitives.GenericZero [<ReflectedDefinition>] let inline FromOne() = Lan...
[ -0.015625, 0.01611328125, 0.013427734375, -0.006805419921875, -0.004364013671875, -0.0078125, 0.0089111328125, 0.00396728515625, -0.0008697509765625, -0.01226806640625, -0.01470947265625, -0.00193023681640625, -0.008056640625, 0.021240234375, 0.0078125, -0.00958251953125, 0.001403808...
[ 33079, 32380, 2749, 1022, 201939, 32786, 4369, 168407, 4153, 18, 10770, 44974, 7477, 4288, 113197, 52347, 257, 99929, 2633, 23, 2256, 1295, 11, 13331, 78292, 214810, 4390, 88996, 93511, 1771, 9506, 720, 289, 724, 190015, 133, 89829, 187423, ...
[ 0.02239990234375, 0.1666259765625, 0.069091796875, 0.08197021484375, 0.1268310546875, 0.2265625, 0.100341796875, 0.1629638671875, 0.1043701171875, 0.112060546875, 0.02630615234375, 0.1654052734375, 0.14404296875, 0.1253662109375, 0.1947021484375, 0.0894775390625, 0.0035400390625, 0...
embed
23355973_c0
23355973
fsharp
0
Title: Is it possible to use F# with the new Windows Universal apps? Problem title: Is it possible to use F# with the new Windows Universal apps? Tags: win-universal-app, f%23 Problem: Is it possible to use F# with the new Windows Universal apps? Now that we can write F# apps for iPhone and Android thanks to the folks ...
Is it possible to use F# with the new Windows Universal apps? Is it possible to use F# with the new Windows Universal apps? win-universal-app f%23 Windows Universal Is it possible to use F# with the new Windows Universal apps? Now that we can write F# apps for iPhone and Android thanks to the folks at Xamarin, I'm real...
[ -0.0118408203125, 0.041259765625, 0.0185546875, -0.00170135498046875, -0.0167236328125, 0.0008392333984375, 0.0128173828125, -0.00167083740234375, 0.00799560546875, -0.004302978515625, -0.0062255859375, -0.01202392578125, 0.025634765625, 0.022705078125, -0.0036163330078125, 0.011413574...
[ 2071, 442, 7722, 47, 4527, 563, 4904, 678, 3525, 3773, 53900, 49966, 19916, 49545, 289, 9007, 1238, 3742, 831, 33022, 100, 4289, 136, 3952, 8606, 44503, 144285, 6044, 24503, 7730, 41761, 37842, 15190, 13452, 17686, 163147, 70885, 20503, 355...
[ 0.031463623046875, 0.0251922607421875, 0.1641845703125, 0.023193359375, 0.1539306640625, 0.1845703125, 0.281005859375, 0.1536865234375, 0.08251953125, 0.12060546875, 0.1893310546875, 0.1826171875, 0.1424560546875, 0.12744140625, 0.11279296875, 0.1795654296875, 0.092041015625, 0.020...
embed
10169167_c1
10169167
fsharp
1
saving file: " + ex.Message) |> ignore | _ -> MessageBox.Show("Unable to open file") |> ignore And the PositionChangedEventHandler is: let MyPositionChanged(e : GeoPositionChangedEventArgs<GeoCoordinate>, map : Map, ellipse : Ellipse) = let ppLoc = new GeoCoordinate(e.Position.Location.Latitude, e.Position.Location.Lo...
saving file: " + ex.Message) |> ignore | _ -> MessageBox.Show("Unable to open file") |> ignore And the PositionChangedEventHandler is: let MyPositionChanged(e : GeoPositionChangedEventArgs<GeoCoordinate>, map : Map, ellipse : Ellipse) = let ppLoc = new GeoCoordinate(e.Position.Location.Latitude, e.Position.Location.Lo...
[ 0.018798828125, 0.0262451171875, 0.007415771484375, -0.01397705078125, -0.0169677734375, 0.00823974609375, 0.02880859375, 0.004669189453125, -0.00154876708984375, 0.0208740234375, -0.0005950927734375, 0.035400390625, 0.002899169921875, -0.0130615234375, 0.005279541015625, -0.0109863281...
[ 57, 6496, 11435, 997, 1119, 594, 6011, 429, 124962, 48205, 4588, 72295, 168660, 14256, 2886, 47, 9803, 3493, 70, 99428, 127008, 17704, 192134, 135679, 603, 83, 12, 2633, 2646, 7192, 172, 1363, 13, 30152, 7614, 9405, 10429, 10625, 43297, 2...
[ 0.1551513671875, 0.1593017578125, 0.1942138671875, 0.0721435546875, 0.1282958984375, 0.01263427734375, 0.1265869140625, 0.04193115234375, 0.2110595703125, 0.11572265625, 0.0972900390625, 0.1815185546875, 0.1103515625, 0.065673828125, 0.171142578125, 0.0887451171875, 0.230224609375, ...
embed
22784695_c0
22784695
fsharp
0
Title: F# - cypher query with multiple return values Problem title: F# - cypher query with multiple return values Tags: f%23, neo4j, neo4jclient Problem: F# - cypher query with multiple return values Given this query (from here ) let pAfollowers = client.Cypher .Match("n<-[:follows]-e") .Where(fun n -> n.Twitter = "tA"...
F# - cypher query with multiple return values F# - cypher query with multiple return values f%23 neo4j neo4jclient client.Cypher Match Where n.Twitter Person Results Select x.Name r:follows CreateUnique Knows s:Person t:Person s.Twitter source.Twitter AndWhere t.Twitter target.Twitter WithParam ExecuteWithoutResults ne...
[ 0.00122833251953125, 0.00188446044921875, 0.01165771484375, 0.0272216796875, -0.017578125, -0.0299072265625, -0.01806640625, -0.0220947265625, 0.001129150390625, -0.025634765625, 0.0013580322265625, 0.008544921875, 0.0098876953125, 0.003387451171875, 0.004302978515625, 0.00885009765625...
[ 563, 4904, 19932, 94266, 41, 1294, 678, 48716, 30646, 142424, 1238, 3949, 3742, 16169, 617, 170, 222978, 23282, 53, 67407, 75691, 15270, 146104, 51620, 1022, 163612, 94015, 151313, 1062, 45602, 70829, 91, 160054, 31344, 35593, 30388, 17106, 5...
[ 0.1094970703125, 0.185302734375, 0.0628662109375, 0.1781005859375, 0.1734619140625, 0.1356201171875, 0.0814208984375, 0.21630859375, 0.253173828125, 0.19580078125, 0.07647705078125, 0.0190277099609375, 0.1116943359375, 0.152587890625, 0.1165771484375, 0.11083984375, 0.1754150390625, ...
embed
52197873_c1
52197873
fsharp
1
select statement. It showed up in the type provider under Procedures, but again I could not call Invoke on it. My best guess is that Invoke is being inherited from some namespace or assembly reference I don't have, so I'm currently looking through the SqlProvider source to try to figure out what it might be. I'm curre...
select statement. It showed up in the type provider under Procedures, but again I could not call Invoke on it. My best guess is that Invoke is being inherited from some namespace or assembly reference I don't have, so I'm currently looking through the SqlProvider source to try to figure out what it might be. I'm curre...
[ 0.0003452301025390625, 0.033935546875, 0.006591796875, 0.0035400390625, -0.038818359375, 0.007232666015625, -0.01708984375, -0.027099609375, 0.0019989013671875, -0.027587890625, -0.01263427734375, 0.0240478515625, 0.00174713134765625, -0.0037384033203125, -0.011474609375, -0.0078735351...
[ 36849, 63805, 1650, 168360, 1257, 10644, 81450, 170470, 13438, 5809, 959, 11782, 360, 23253, 13, 98, 57767, 23, 86151, 3674, 210716, 89845, 91067, 765, 99247, 177997, 62160, 31344, 26366, 13648, 142447, 93774, 3467, 254, 50886, 137989, 10517, ...
[ 0.280517578125, 0.283935546875, 0.0231781005859375, 0.053924560546875, 0.013763427734375, 0.1737060546875, 0.2236328125, 0.1495361328125, 0.008331298828125, 0.0462646484375, 0.072265625, 0.0968017578125, 0.1314697265625, 0.25244140625, 0.1448974609375, 0.0254058837890625, 0.047393798...
embed
63055558_c1
63055558
fsharp
1
IL_0002: ldarg.0 IL_0003: beq.s IL_0008 IL_0005: ldc.i4.s 65 IL_0007: ret IL_0008: ldc.i4.s 66 IL_000a: ret } Example C# code: // this compiles to `bne.un.s` public class C { public bool M(char x) { if(x == 'A') return true; return false; } } // this compiles to `beq.s` public class C { public bool M(char x) { if(x !=...
IL_0002: ldarg.0 IL_0003: beq.s IL_0008 IL_0005: ldc.i4.s 65 IL_0007: ret IL_0008: ldc.i4.s 66 IL_000a: ret } Example C# code: // this compiles to `bne.un.s` public class C { public bool M(char x) { if(x == 'A') return true; return false; } } // this compiles to `beq.s` public class C { public bool M(char x) { if(x !=...
[ -0.006927490234375, 0.0224609375, 0.01708984375, 0.0032196044921875, -0.01458740234375, 0.001373291015625, 0.04052734375, -0.015625, -0.0024871826171875, 0.031005859375, -0.0025177001953125, 0.013916015625, 0.0206298828125, 0.0235595703125, -0.0037078857421875, 0.013916015625, 0.0061...
[ 30219, 454, 9508, 304, 96, 1506, 177, 2389, 363, 12, 186, 864, 5, 1019, 758, 238, 14, 617, 5684, 966, 10267, 11251, 11, 89536, 4904, 18151, 903, 9969, 1340, 7, 47, 275, 86, 309, 1135, 3835, 18507, 313, 142484, 276, 9254, 1022, 16, ...
[ 0.17529296875, 0.0108642578125, 0.16259765625, 0.1402587890625, 0.04119873046875, 0.0745849609375, 0.1163330078125, 0.140380859375, 0.123291015625, 0.009552001953125, 0.1474609375, 0.210693359375, 0.0992431640625, 0.1749267578125, 0.0701904296875, 0.03839111328125, 0.00714111328125, ...
embed
45891185_c1
45891185
fsharp
1
56.0 // does not work, complains it cannot convert to 'a let inline test2 v = isWithinMinMaxRange<MyByte, _> v The above code throws a compile error on test2 : error FS0043: The type 'MyByte' does not support a conversion to the type ''a' So the problem here is: how to convince the compiler that we have such conversion...
56.0 // does not work, complains it cannot convert to 'a let inline test2 v = isWithinMinMaxRange<MyByte, _> v The above code throws a compile error on test2 : error FS0043: The type 'MyByte' does not support a conversion to the type ''a' So the problem here is: how to convince the compiler that we have such conversion...
[ -0.023193359375, -0.0155029296875, 0.0263671875, -0.00274658203125, 0.001617431640625, 0.007659912109375, -0.0128173828125, -0.01318359375, 0.0260009765625, 0.014404296875, 0.0028076171875, 0.0162353515625, 0.01904296875, -0.0184326171875, 0.0250244140625, -0.0157470703125, -0.006713...
[ 9103, 5, 2389, 4666, 14602, 959, 4488, 186992, 53418, 96760, 47, 11, 2633, 23, 2256, 3034, 304, 81, 83, 194583, 73, 59076, 71346, 1052, 51459, 31852, 75358, 67, 18151, 104250, 9969, 1340, 18499, 93774, 135401, 363, 10644, 8060, 142477, 29...
[ 0.2491455078125, 0.05743408203125, 0.2030029296875, 0.02557373046875, 0.041015625, 0.10888671875, 0.130615234375, 0.136962890625, 0.1239013671875, 0.2025146484375, 0.0697021484375, 0.193115234375, 0.1785888671875, 0.1253662109375, 0.1912841796875, 0.2208251953125, 0.158447265625, 0...
embed
53484427_c1
53484427
fsharp
1
c) -> c // no overlap | (c, None ) -> c // no overlap | (Some (r1,g1,b1), Some (r2,g2,b2)) -> // average color Some ((r1+r2)/2, (g1+g2)/2, (b1+b2)/2) (all above is predefined for the program, my code can be seem below) (please do not mind the types such as colour, col etc. which is used in other sub parts of the progr...
c) -> c // no overlap | (c, None ) -> c // no overlap | (Some (r1,g1,b1), Some (r2,g2,b2)) -> // average color Some ((r1+r2)/2, (g1+g2)/2, (b1+b2)/2) (all above is predefined for the program, my code can be seem below) (please do not mind the types such as colour, col etc. which is used in other sub parts of the progr...
[ 0.0142822265625, 0.010498046875, 0.00052642822265625, 0.01806640625, -0.01202392578125, 0.0181884765625, -0.01043701171875, 0.000030159950256347656, 0.004058837890625, 0.02587890625, 0.000850677490234375, -0.005645751953125, 0.01361083984375, -0.002471923828125, 0.0052490234375, -0.003...
[ 501, 33079, 4666, 110, 645, 6324, 58745, 238, 438, 86, 42, 17727, 31384, 10461, 83080, 10576, 1328, 12477, 177, 1653, 13, 5983, 1528, 759, 18151, 48903, 35064, 52895, 134855, 3365, 11814, 1614, 63920, 43240, 1884, 108654, 2633, 16530, 14525...
[ 0.0899658203125, 0.0687255859375, 0.0247802734375, 0.08306884765625, 0.09173583984375, 0.173828125, 0.004638671875, 0.087890625, 0.038604736328125, 0.020416259765625, 0.027496337890625, 0.0237579345703125, 0.0640869140625, 0.04730224609375, 0.1964111328125, 0.1812744140625, 0.0539855...
embed
39481582_c0
39481582
fsharp
0
Title: How do I print out the entire Fibonacci sequence up to a user inputted value in F#? Problem title: How do I print out the entire Fibonacci sequence up to a user inputted value in F#? Tags: sequence, fibonacci, f%23 Problem: How do I print out the entire Fibonacci sequence up to a user inputted value in F#? So I ...
How do I print out the entire Fibonacci sequence up to a user inputted value in F#? How do I print out the entire Fibonacci sequence up to a user inputted value in F#? sequence fibonacci f%23 How Fibonacci System c-1 GetFib Console.ReadLine Console.WriteLine Int32.Parse How do I print out the entire Fibonacci sequence ...
[ -0.003448486328125, 0.0027618408203125, -0.01507568359375, 0.00921630859375, 0.0003795623779296875, 0.017822265625, 0.0115966796875, -0.003662109375, 0.0076904296875, -0.0234375, -0.0032806396484375, -0.000942230224609375, -0.0260009765625, 0.0277099609375, 0.0272216796875, 0.007202148...
[ 11249, 54, 87, 28412, 1810, 64194, 3698, 20990, 52544, 40, 944, 3956, 1257, 47, 38937, 107730, 3674, 34292, 563, 4904, 23, 809, 1238, 3949, 3742, 12353, 501, 5759, 20779, 6159, 275, 1657, 40777, 31345, 93232, 18, 6460, 28636, 1528, 82424,...
[ 0.079345703125, 0.01715087890625, 0.03033447265625, 0.214111328125, 0.1749267578125, 0.205322265625, 0.16845703125, 0.173583984375, 0.2286376953125, 0.0845947265625, 0.1673583984375, 0.100830078125, 0.0919189453125, 0.0643310546875, 0.1500244140625, 0.14208984375, 0.0811767578125, ...
embed
12213269_c0
12213269
fsharp
0
Title: Suppress displaying content of variables in F# interactive Problem title: Suppress displaying content of variables in F# interactive Tags: f%23, f%23-interactive, suppressmessage Problem: Suppress displaying content of variables in F# interactive Possible Duplicate: F# - Keep F# interactive from posting output I...
Suppress displaying content of variables in F# interactive Suppress displaying content of variables in F# interactive f%23 f%23-interactive suppressmessage Suppress Microsoft Interactive Copyright Corporation All Rights Reserved Referenced Olda Project_Root Computations Oldrich Articles FiberFit-2012 Solution PostProce...
[ 0.0042724609375, 0.01025390625, 0.004974365234375, 0.01239013671875, -0.002655029296875, 0.00653076171875, -0.0033416748046875, -0.007232666015625, -0.00634765625, 0.00457763671875, -0.0218505859375, 0.007781982421875, -0.00113677978515625, 0.0021209716796875, 0.0255126953125, 0.020263...
[ 47004, 11856, 44116, 10941, 77336, 563, 4904, 212398, 1238, 3742, 10433, 15811, 74157, 7244, 5337, 71232, 4189, 84829, 25074, 11, 27331, 12724, 159415, 26932, 3698, 120962, 54458, 187895, 74965, 1181, 73876, 104532, 6159, 37772, 304, 3917, 214,...
[ 0.133056640625, 0.175537109375, 0.148193359375, 0.177001953125, 0.2384033203125, 0.11962890625, 0.2093505859375, 0.185791015625, 0.0355224609375, 0.00286865234375, 0.08123779296875, 0.1339111328125, 0.072021484375, 0.065185546875, 0.10357666015625, 0.124267578125, 0.06536865234375, ...
embed
45976654_c0
45976654
fsharp
0
Title: Different outputs when using Seq.map and Array.map for the same code in F# Problem title: Different outputs when using Seq.map and Array.map for the same code in F# Tags: f%23 Problem: Different outputs when using Seq.map and Array.map for the same code in F# I have a simple event-based implementation of FizzBuz...
Different outputs when using Seq.map and Array.map for the same code in F# Different outputs when using Seq.map and Array.map for the same code in F# f%23 Seq.map Different Array.map Events FizzBuzz _event Event this.Event _event.Publish this.Check _event.Trigger Instantiate Add fizzBuzzer.Event.Add Fizz Buzz fizzBuzze...
[ 0.00787353515625, 0.01513671875, 0.0009918212890625, -0.0011749267578125, -0.0228271484375, -0.01129150390625, 0.01129150390625, 0.0260009765625, -0.005340576171875, -0.017578125, 0.00018215179443359375, 0.01483154296875, 0.0157470703125, 0.0244140625, 0.00063323974609375, -0.022460937...
[ 242520, 140992, 17368, 503, 864, 5, 62346, 136, 69253, 53, 5701, 18151, 563, 4904, 1238, 3742, 123560, 94610, 169, 7235, 13894, 90141, 36943, 903, 192134, 143145, 15227, 202567, 74257, 21407, 166945, 29117, 17148, 4383, 4028, 188272, 8781, 19...
[ 0.1834716796875, 0.25341796875, 0.06842041015625, 0.10711669921875, 0.2220458984375, 0.0443115234375, 0.2213134765625, 0.052520751953125, 0.16455078125, 0.1591796875, 0.09271240234375, 0.1878662109375, 0.1083984375, 0.1875, 0.034332275390625, 0.0911865234375, 0.120849609375, 0.1571...
embed
68230003_c0
68230003
fsharp
0
Title: In F#, how to implement an interface with parent and grandparent interfaces? Problem title: In F#, how to implement an interface with parent and grandparent interfaces? Tags: inheritance, interface, f%23 Problem: In F#, how to implement an interface with parent and grandparent interfaces? When multiple interface...
In F#, how to implement an interface with parent and grandparent interfaces? In F#, how to implement an interface with parent and grandparent interfaces? inheritance interface f%23 TranscriptNote Nullable DateTime ITranscript this.tservice ITablet IParagraph IInk IEncounter In F#, how to implement an interface with par...
[ 0.01519775390625, -0.0064697265625, -0.00543212890625, 0.02734375, -0.00124359130859375, -0.01434326171875, -0.01202392578125, 0.010986328125, -0.005218505859375, -0.0081787109375, 0.00994873046875, -0.005401611328125, -0.0021514892578125, 0.0279541015625, -0.0002956390380859375, 0.000...
[ 360, 563, 4904, 3642, 29479, 101758, 678, 49129, 136, 9963, 99547, 47, 23, 3334, 217, 7154, 1238, 3949, 3742, 60532, 32032, 110361, 27786, 2661, 25512, 70059, 1603, 903, 18, 22584, 2886, 87, 7570, 71013, 14847, 48716, 8035, 86151, 26785, ...
[ 0.0163726806640625, 0.1231689453125, 0.21728515625, 0.100830078125, 0.206298828125, 0.24658203125, 0.1046142578125, 0.1658935546875, 0.14404296875, 0.144287109375, 0.1964111328125, 0.01129150390625, 0.0999755859375, 0.1492919921875, 0.060699462890625, 0.00653076171875, 0.08203125, ...
embed
26132348_c0
26132348
fsharp
0
Title: Connecting to LocalDB from Visual Studio Online Build Server Problem title: Connecting to LocalDB from Visual Studio Online Build Server Tags: type-providers, azure-devops, f%23, localdb, tfs Problem: Connecting to LocalDB from Visual Studio Online Build Server I have a library project that has a local MDF file ...
Connecting to LocalDB from Visual Studio Online Build Server Connecting to LocalDB from Visual Studio Online Build Server type-providers azure-devops f%23 localdb tfs Visual Connecting LocalDB Studio Online Build Server Data Source v11.0 Initial Catalog MyDB Integrated Security Connecting to LocalDB from Visual Studio ...
[ 0.0142822265625, 0.0213623046875, -0.007110595703125, 0.007781982421875, -0.005462646484375, -0.004974365234375, -0.0242919921875, -0.01385498046875, -0.01275634765625, -0.046875, 0.01171875, -0.0216064453125, 0.025390625, 0.014404296875, -0.002227783203125, -0.005767822265625, 0.001...
[ 62448, 47, 24172, 39463, 1295, 73372, 22968, 2823, 121137, 22687, 10644, 93136, 295, 3408, 18548, 68818, 3742, 4000, 48073, 17447, 11809, 77641, 102107, 150917, 2646, 91969, 48748, 35773, 13452, 38997, 11435, 203758, 25632, 94878, 91693, 18151, ...
[ 0.1656494140625, 0.07806396484375, 0.1719970703125, 0.2626953125, 0.082763671875, 0.1710205078125, 0.18896484375, 0.1494140625, 0.14697265625, 0.164306640625, 0.10675048828125, 0.1126708984375, 0.043731689453125, 0.1739501953125, 0.08734130859375, 0.13818359375, 0.052276611328125, ...
embed
31869329_c0
31869329
fsharp
0
Title: F# warning: This construct causes code to be less generic than indicated by the type annotations Problem title: F# warning: This construct causes code to be less generic than indicated by the type annotations Tags: generics, f%23 Problem: F# warning: This construct causes code to be less generic than indicated b...
F# warning: This construct causes code to be less generic than indicated by the type annotations F# warning: This construct causes code to be less generic than indicated by the type annotations generics f%23 type FS0064 FS0067 FS0008 Runtime Further F# warning: This construct causes code to be less generic than indicat...
[ -0.00145721435546875, 0.006378173828125, 0.00347900390625, 0.00341796875, -0.00177001953125, 0.0014495849609375, -0.0274658203125, -0.0002994537353515625, -0.005828857421875, 0.023681640625, -0.00067138671875, 0.00048065185546875, -0.000926971435546875, 0.00238037109375, 0.00399780273437...
[ 563, 4904, 1631, 592, 3293, 64549, 113660, 18151, 47, 186, 40715, 189534, 3501, 117414, 10644, 8668, 22062, 1238, 3949, 3742, 93774, 7049, 13307, 18197, 9508, 1019, 28398, 6032, 7, 6528, 15400, 831, 18, 9969, 1340, 70, 83, 98, 284, 2740, ...
[ 0.1558837890625, 0.2452392578125, 0.15234375, 0.0848388671875, 0.09521484375, 0.2230224609375, 0.1236572265625, 0.196533203125, 0.014892578125, 0.052459716796875, 0.16650390625, 0.198486328125, 0.05364990234375, 0.09130859375, 0.1513671875, 0.10601806640625, 0.05523681640625, 0.121...
embed
44501914_c0
44501914
fsharp
0
Title: What is the best way to do extensive null checks in F# when calling C# code Problem title: What is the best way to do extensive null checks in F# when calling C# code Tags: functional-programming, f%23 Problem: What is the best way to do extensive null checks in F# when calling C# code I would like to know the b...
What is the best way to do extensive null checks in F# when calling C# code What is the best way to do extensive null checks in F# when calling C# code functional-programming f%23 What Authorize DashboardContext OwinContext dashboardContext.GetOwinEnvironment context.Authentication.User Identity IsAuthenticated ctx:Das...
[ 0.0023345947265625, -0.0027618408203125, 0.0240478515625, -0.004547119140625, 0.005950927734375, -0.000518798828125, 0.01324462890625, -0.0186767578125, -0.00011777877807617188, -0.020263671875, 0.0028228759765625, 0.0166015625, -0.00726318359375, 0.0108642578125, 0.003204345703125, -0...
[ 2965, 3917, 54, 1119, 41745, 272, 56574, 12765, 7, 23, 563, 4904, 159029, 313, 18151, 123309, 28966, 1238, 3949, 3742, 4865, 61804, 20650, 1858, 127, 24351, 22829, 180, 9494, 239721, 126, 686, 1900, 43701, 1003, 63250, 2189, 71257, 2071, ...
[ 0.123291015625, 0.05572509765625, 0.06048583984375, 0.05645751953125, 0.1575927734375, 0.05316162109375, 0.2353515625, 0.259033203125, 0.146728515625, 0.03521728515625, 0.145751953125, 0.2158203125, 0.1395263671875, 0.05670166015625, 0.1669921875, 0.166015625, 0.0955810546875, 0.08...
embed
14688232_c0
14688232
fsharp
0
Title: F# - pure functional design instead of oop design Problem title: F# - pure functional design instead of oop design Tags: functional-programming, f%23, domain-driven-design Problem: F# - pure functional design instead of oop design I want to create a simple "multi-agent" system consisting of three agents. For eac...
F# - pure functional design instead of oop design F# - pure functional design instead of oop design functional-programming f%23 domain-driven-design F# - pure functional design instead of oop design I want to create a simple "multi-agent" system consisting of three agents. For each agent, there is a type created encaps...
[ 0.01116943359375, 0.01519775390625, -0.00836181640625, 0.006378173828125, 0.0042724609375, 0.006927490234375, 0.000308990478515625, 0.0240478515625, 0.00836181640625, -0.0289306640625, -0.003631591796875, 0.0145263671875, -0.0118408203125, 0.003326416015625, 0.00860595703125, 0.0142211...
[ 563, 4904, 20, 34166, 123309, 4331, 64457, 111, 32500, 28966, 1238, 3949, 3742, 77758, 33926, 34198, 87, 3444, 28282, 10, 8781, 144227, 83963, 5426, 58055, 17262, 97957, 1326, 12638, 23882, 10644, 75935, 15644, 77593, 6648, 11728, 14543, 42, ...
[ 0.1451416015625, 0.251953125, 0.01385498046875, 0.1650390625, 0.2393798828125, 0.24609375, 0.1446533203125, 0.01123046875, 0.187744140625, 0.1343994140625, 0.0899658203125, 0.004913330078125, 0.101806640625, 0.1119384765625, 0.105712890625, 0.220458984375, 0.0174102783203125, 0.096...
embed
2939416_c0
2939416
fsharp
0
Title: F#, Linux and makefiles Problem title: F#, Linux and makefiles Tags: linux, mono, f%23, makefile Problem: F#, Linux and makefiles I intend to distribute an F# program as both binary and source so the user has the option of recompiling it if desired. On Windows, I understand how to do this: provide .fsproj and .s...
F#, Linux and makefiles F#, Linux and makefiles linux mono f%23 makefile Linux fsc.exe FSharp-2.0.0.0 types.fs tptp.fs main.fs FSharp.PowerPack.dll F#, Linux and makefiles I intend to distribute an F# program as both binary and source so the user has the option of recompiling it if desired. On Windows, I understand how...
[ -0.00531005859375, 0.0157470703125, 0.00125885009765625, -0.009033203125, 0.003021240234375, -0.000698089599609375, -0.01007080078125, -0.006195068359375, -0.0181884765625, -0.01416015625, -0.008544921875, -0.017333984375, -0.00106048583984375, 0.0213623046875, 0.00160980224609375, 0.0...
[ 563, 4904, 29908, 136, 3249, 29822, 11508, 6077, 22460, 1238, 3949, 3742, 10382, 46480, 93774, 3467, 254, 73011, 99929, 52895, 17447, 18, 5201, 105022, 205956, 1181, 150661, 15917, 1528, 15044, 2394, 31344, 38937, 35829, 33844, 11368, 2069, 2...
[ 0.1612548828125, 0.242919921875, 0.24169921875, 0.0816650390625, 0.2174072265625, 0.27978515625, 0.1370849609375, 0.0557861328125, 0.226806640625, 0.10498046875, 0.041015625, 0.1243896484375, 0.183349609375, 0.2099609375, 0.06732177734375, 0.1903076171875, 0.1597900390625, 0.147583...
embed
42312693_c0
42312693
fsharp
0
Title: How can I declare and initialize a Discriminated Union value defined in F# within C#? Problem title: How can I declare and initialize a Discriminated Union value defined in F# within C#? Tags: c%23, f%23 Problem: How can I declare and initialize a Discriminated Union value defined in F# within C#? How can I decl...
How can I declare and initialize a Discriminated Union value defined in F# within C#? How can I declare and initialize a Discriminated Union value defined in F# within C#? c%23 f%23 How Discriminated Union Core AutoOpen EventStore Events BuyRequested RequestInfo SellRequested Entities AccountId Symbol Quantity Events.N...
[ 0.01348876953125, 0.0203857421875, 0.00689697265625, -0.01153564453125, -0.0218505859375, -0.0037078857421875, -0.01220703125, -0.005645751953125, 0.0142822265625, -0.00115966796875, 0.004669189453125, 0.0155029296875, 0.0024261474609375, 0.0159912109375, 0.0089111328125, -0.0142211914...
[ 11249, 831, 159978, 136, 61475, 20650, 6206, 135421, 3674, 32528, 34292, 61924, 563, 4904, 28032, 313, 23, 3949, 3742, 1238, 31365, 4396, 103264, 36943, 165248, 123560, 47184, 944, 853, 75616, 93147, 503, 1181, 16511, 61417, 131899, 75344, 46...
[ 0.0618896484375, 0.052734375, 0.225341796875, 0.0926513671875, 0.1781005859375, 0.0977783203125, 0.1085205078125, 0.2391357421875, 0.0843505859375, 0.2578125, 0.214599609375, 0.184814453125, 0.1578369140625, 0.24560546875, 0.1195068359375, 0.07373046875, 0.007843017578125, 0.012664...
embed
27751823_c0
27751823
fsharp
0
Title: F# type provider in DAL Problem title: F# type provider in DAL Tags: type-providers, c%23, sql-server, f%23 Problem: F# type provider in DAL I have a solution with 2 projects: F# project (for data access + other functions) C# web project (will consume functions from F#) I will need to call SQL Server stored proc...
F# type provider in DAL F# type provider in DAL type-providers c%23 sql-server f%23 DAL SqlDataConnection StoredProcedures dbSchema.GetDataContext dbContext.CreateStoredProc item.Stuff F# type provider in DAL I have a solution with 2 projects: F# project (for data access + other functions) C# web project (will consume ...
[ 0.0279541015625, 0.0223388671875, -0.000431060791015625, 0.001190185546875, -0.024658203125, 0.016357421875, -0.01373291015625, -0.01129150390625, -0.0027008056640625, -0.041748046875, -0.00689697265625, -0.00390625, 0.000583648681640625, 0.0147705078125, 0.000659942626953125, 0.000740...
[ 563, 4904, 10644, 81450, 23, 63589, 93136, 14202, 3742, 99247, 39642, 1238, 137989, 235603, 14934, 71, 10752, 37534, 40041, 25452, 11883, 126, 22829, 11935, 63784, 165248, 238, 35735, 21493, 29806, 678, 116, 77635, 13452, 2472, 2053, 17203, 9...
[ 0.154541015625, 0.2076416015625, 0.187255859375, 0.241455078125, 0.036865234375, 0.1923828125, 0.1502685546875, 0.11962890625, 0.062103271484375, 0.0994873046875, 0.07281494140625, 0.0626220703125, 0.078369140625, 0.08294677734375, 0.1318359375, 0.028228759765625, 0.065673828125, 0...
embed
4704878_c0
4704878
fsharp
0
Title: How to extract data from F# list Problem title: How to extract data from F# list Tags: f%23, fparsec Problem: How to extract data from F# list Following up my previous question , I'm slowly getting the hang of FParsec (though I do find it particularly hard to grok). My next newbie F# question is, how do I extrac...
How to extract data from F# list How to extract data from F# list f%23 fparsec F# How Xunit Fact Parse_1_ShouldReturnListContaining1 Parser.parse Assert.False List.isEmpty interim.Head Assert.Equal Element Number Operator How to extract data from F# list Following up my previous question , I'm slowly getting the hang o...
[ -0.0067138671875, -0.0096435546875, -0.000545501708984375, 0.033203125, 0.004241943359375, 0.0164794921875, 0.006195068359375, 0.00119781494140625, 0.005462646484375, 0.0123291015625, -0.00014019012451171875, -0.005462646484375, 0.00165557861328125, 0.003143310546875, -0.023681640625, ...
[ 11249, 47, 125663, 2053, 1295, 563, 4904, 5303, 1238, 3949, 3742, 2500, 39797, 19032, 6773, 132640, 2392, 184, 115187, 987, 154663, 102, 14653, 418, 2189, 5, 33657, 17647, 11971, 32036, 134332, 1940, 464, 13025, 712, 71723, 48325, 103332, 1...
[ 0.0631103515625, 0.0223388671875, 0.2197265625, 0.163818359375, 0.1141357421875, 0.1605224609375, 0.245849609375, 0.2099609375, 0.1064453125, 0.0142669677734375, 0.1202392578125, 0.0950927734375, 0.1402587890625, 0.1278076171875, 0.2088623046875, 0.131103515625, 0.0970458984375, 0....
embed
9895384_c0
9895384
fsharp
0
Title: MemoryMappedFiles.MemoryMappedFile.CreateFromFile won&#x27;t extend a file under linux/mono Problem title: MemoryMappedFiles.MemoryMappedFile.CreateFromFile won&#x27;t extend a file under linux/mono Tags: f%23, mono Problem: MemoryMappedFiles.MemoryMappedFile.CreateFromFile won't extend a file under linux/mono U...
MemoryMappedFiles.MemoryMappedFile.CreateFromFile won&#x27;t extend a file under linux/mono MemoryMappedFiles.MemoryMappedFile.CreateFromFile won&#x27;t extend a file under linux/mono f%23 mono MemoryMappedFiles.MemoryMappedFile.CreateFromFile Main parts.pash FileMode.OpenOrCreate Mono JIT Mon Apr PDT Copyright Novell ...
[ 0.014892578125, 0.047119140625, -0.0001888275146484375, 0.0166015625, -0.00830078125, -0.016357421875, 0.0208740234375, -0.013916015625, 0, -0.029541015625, 0.017822265625, -0.00021076202392578125, -0.0023651123046875, 0.0380859375, 0.00628662109375, -0.012939453125, 0.028564453125, ...
[ 172681, 4613, 48398, 174350, 6696, 4514, 53, 63784, 2182, 168407, 23742, 3768, 18, 65042, 11435, 1379, 11508, 6077, 64176, 7, 10, 1238, 3742, 22460, 5, 12321, 63920, 3166, 127, 42724, 9083, 112, 103264, 19060, 77879, 821, 6371, 42053, 17829...
[ 0.181640625, 0.1827392578125, 0.151123046875, 0.2159423828125, 0.031494140625, 0.126708984375, 0.01019287109375, 0.1939697265625, 0.09173583984375, 0.2403564453125, 0.119873046875, 0.085205078125, 0.1099853515625, 0.239501953125, 0.2005615234375, 0.1353759765625, 0.113525390625, 0....
embed
33219199_c0
33219199
fsharp
0
Title: F# query expressions yield Problem title: F# query expressions yield Tags: f%23, f%23-3.0, computation-expression, query-expressions Problem: F# query expressions yield I am learning F# and now am reading about computation expressions and query expressions to use with SQL type providers. I was doing some simple ...
F# query expressions yield F# query expressions yield f%23 f%23-3.0 computation-expression query-expressions db.As db.Bs Concat Yield YieldFrom Combine Delay F# query expressions yield I am learning F# and now am reading about computation expressions and query expressions to use with SQL type providers. I was doing som...
[ 0.0247802734375, 0.014404296875, 0.008544921875, 0.0196533203125, -0.0004730224609375, -0.012939453125, -0.007080078125, -0.0084228515625, -0.000736236572265625, -0.0546875, 0.0004730224609375, 0.01055908203125, 0.006439208984375, -0.0096435546875, -0.006439208984375, 0.002609252929687...
[ 563, 4904, 41, 1294, 125195, 11180, 19388, 1238, 3949, 3742, 27495, 132265, 181135, 204629, 40041, 19659, 571, 1657, 4460, 42341, 168407, 106935, 86, 262, 5259, 52080, 80866, 10644, 81450, 8781, 66211, 158, 33478, 76, 147547, 116, 10484, 1756...
[ 0.092529296875, 0.1710205078125, 0.1502685546875, 0.0831298828125, 0.215087890625, 0.171630859375, 0.2447509765625, 0.06365966796875, 0.02215576171875, 0.1097412109375, 0.0277099609375, 0.1090087890625, 0.0950927734375, 0.1800537109375, 0.08905029296875, 0.06085205078125, 0.012451171...
embed
3489632_c0
3489632
fsharp
0
Title: Scalability of the .NET 4 garbage collector Problem title: Scalability of the .NET 4 garbage collector Tags: garbage-collection, c%23, f%23, multicore Problem: Scalability of the .NET 4 garbage collector I recently benchmarked the .NET 4 garbage collector, allocating intensively from several threads. When the al...
Scalability of the .NET 4 garbage collector Scalability of the .NET 4 garbage collector garbage-collection c%23 f%23 multicore Scalability NET Scalability of the .NET 4 garbage collector I recently benchmarked the .NET 4 garbage collector, allocating intensively from several threads. When the allocated values were reco...
[ -0.00885009765625, 0.02392578125, -0.00714111328125, -0.01507568359375, -0.009521484375, -0.0189208984375, -0.0172119140625, 0.0166015625, -0.007232666015625, -0.00051116943359375, -0.00299072265625, 0.01153564453125, -0.005645751953125, -0.00579833984375, 0.00799560546875, 0.003692626...
[ 152653, 41159, 17777, 201, 3671, 402, 429, 43799, 748, 196352, 3742, 6024, 30854, 5, 240057, 116292, 40894, 1295, 40368, 86997, 142424, 17164, 10298, 139999, 110, 117906, 1902, 84751, 5426, 25212, 200470, 17203, 99764, 10332, 58093, 5861, 3328,...
[ 0.218505859375, 0.164794921875, 0.16552734375, 0.21533203125, 0.06964111328125, 0.1568603515625, 0.073974609375, 0.1451416015625, 0.100341796875, 0.1258544921875, 0.06939697265625, 0.059967041015625, 0.1685791015625, 0.022735595703125, 0.1312255859375, 0.10198974609375, 0.06146240234...
embed
15383079_c0
15383079
fsharp
0
Title: VerificationException &quot;Operation could destabilize runtime&quot; Error with MsgPack and .net Error Problem title: VerificationException &quot;Operation could destabilize runtime&quot; Error with MsgPack and .net Error Tags: msgpack, f%23, c%23 Problem: VerificationException "Operation could destabilize runt...
VerificationException &quot;Operation could destabilize runtime&quot; Error with MsgPack and .net Error VerificationException &quot;Operation could destabilize runtime&quot; Error with MsgPack and .net Error msgpack f%23 c%23 VerificationException System.Security.VerificationException Operation Error MsgPack Sammo Debu...
[ 0.0137939453125, 0.0045166015625, -0.0177001953125, -0.0029449462890625, -0.003662109375, -0.007537841796875, -0.006927490234375, 0.0091552734375, -0.00830078125, -0.0118408203125, 0.0147705078125, 0.003997802734375, 0.02978515625, 0.0074462890625, 0.0130615234375, 0.004852294921875, ...
[ 1446, 41274, 19279, 63928, 156823, 1363, 5809, 232929, 13, 11675, 6032, 212059, 678, 70802, 177, 205956, 136, 1179, 68163, 29102, 1238, 3742, 12353, 4233, 20287, 15896, 102203, 3362, 432, 262, 85779, 46480, 7244, 17777, 202220, 85789, 40647, ...
[ 0.15869140625, 0.1484375, 0.02996826171875, 0.146728515625, 0.190673828125, 0.0716552734375, 0.161865234375, 0.275634765625, 0.086181640625, 0.09381103515625, 0.139404296875, 0.1431884765625, 0.0916748046875, 0.11669921875, 0.10760498046875, 0.259033203125, 0.065185546875, 0.128662...
embed
20996779_c0
20996779
fsharp
0
Title: Casting and exception filters inside an F# `try`-`with` block Problem title: Casting and exception filters inside an F# `try`-`with` block Tags: f%23, exception, c%23, c%23-to-f%23 Problem: Casting and exception filters inside an F# `try`-`with` block I'm trying to convert this piece of C# to F#: var webClient =...
Casting and exception filters inside an F# `try`-`with` block Casting and exception filters inside an F# `try`-`with` block f%23 exception c%23 c%23-to-f%23 WebException Casting WebClient webClient.DownloadString e.Response HttpWebResponse Stream response.GetResponseStream StreamReader ReadToEnd Exception response.Stat...
[ 0.0010833740234375, 0.02978515625, -0.002960205078125, -0.01611328125, 0.0322265625, -0.002288818359375, -0.00946044921875, 0.005584716796875, 0.010009765625, -0.0166015625, -0.0167236328125, 0.00099945068359375, -0.0026092529296875, -0.002777099609375, 0.016845703125, -0.0024566650390...
[ 32301, 214, 136, 131527, 46312, 46132, 563, 4904, 15123, 9, 76228, 46389, 1238, 3742, 27495, 188, 420, 4002, 19279, 63928, 150, 144786, 71713, 28, 94399, 572, 115061, 57553, 31345, 4764, 7763, 152378, 5443, 135206, 114211, 4857, 1119, 31577, ...
[ 0.1947021484375, 0.111083984375, 0.1407470703125, 0.214111328125, 0.26025390625, 0.1767578125, 0.138427734375, 0.2041015625, 0.20654296875, 0.048431396484375, 0.2327880859375, 0.2052001953125, 0.02984619140625, 0.0849609375, 0.08477783203125, 0.0958251953125, 0.021820068359375, 0.0...
embed
46621633_c0
46621633
fsharp
0
Title: F# - splitting list of integers into odds and evens using List.foldBack Problem title: F# - splitting list of integers into odds and evens using List.foldBack Tags: f%23, list Problem: F# - splitting list of integers into odds and evens using List.foldBack I'm trying to write a function using List.foldBack that'...
F# - splitting list of integers into odds and evens using List.foldBack F# - splitting list of integers into odds and evens using List.foldBack f%23 list List.foldBack listToSplit:int x::odd List map2 F# - splitting list of integers into odds and evens using List.foldBack I'm trying to write a function using List.foldB...
[ -0.013671875, 0.024658203125, 0.00341796875, 0.00933837890625, -0.0244140625, 0.03125, 0.006561279296875, 0.0172119140625, 0.01953125, 0.0024566650390625, 0.0140380859375, -0.01446533203125, 0.0017242431640625, 0.019287109375, 0.0081787109375, -0.005279541015625, -0.01226806640625, ...
[ 563, 4904, 65450, 1916, 5303, 111, 892, 26255, 3934, 103044, 136, 3853, 7, 17368, 32036, 5, 42822, 152470, 1238, 3949, 3742, 7763, 31923, 4353, 4288, 1022, 13606, 22288, 304, 31577, 33022, 32354, 370, 8705, 70541, 6626, 3789, 7311, 89536, ...
[ 0.1048583984375, 0.1929931640625, 0.2220458984375, 0.0804443359375, 0.2161865234375, 0.004669189453125, 0.1478271484375, 0.118408203125, 0.14404296875, 0.251953125, 0.1326904296875, 0.201416015625, 0.081298828125, 0.09185791015625, 0.2073974609375, 0.06829833984375, 0.1959228515625, ...
embed
65862896_c1
65862896
fsharp
1
parallel. They implement a loop where they create an object that holds a graph and executes a sequence of code based on nodes in that graph. There can be an exception happening outside of the code executing the graph, in the callbacks tradeEventHandler and orderEventHandler , but this is handled separately. once the c...
parallel. They implement a loop where they create an object that holds a graph and executes a sequence of code based on nodes in that graph. There can be an exception happening outside of the code executing the graph, in the callbacks tradeEventHandler and orderEventHandler , but this is handled separately. once the c...
[ 0.017822265625, 0.000457763671875, -0.027099609375, -0.00848388671875, -0.0162353515625, 0.002655029296875, 0.0021820068359375, 0.015380859375, 0.01708984375, -0.0181884765625, -0.01007080078125, 0.028076171875, 0.002685546875, 0.004486083984375, 0.016845703125, -0.0218505859375, 0.0...
[ 95103, 5, 10660, 29479, 10, 40956, 7440, 28282, 36746, 16401, 41382, 71924, 944, 18151, 35509, 110, 988, 831, 131527, 123087, 50782, 11782, 12620, 52350, 192134, 135679, 603, 12989, 34831, 84797, 24145, 56458, 157, 112, 163321, 1679, 28484, 2...
[ 0.3330078125, 0.053985595703125, 0.09912109375, 0.21337890625, 0.013275146484375, 0.2042236328125, 0.00531005859375, 0.1239013671875, 0.1798095703125, 0.139892578125, 0.208251953125, 0.148193359375, 0.0148468017578125, 0.1689453125, 0.07366943359375, 0.119873046875, 0.1260986328125, ...
embed
7433426_c0
7433426
fsharp
0
Title: F# Async Dispose Problem title: F# Async Dispose Tags: f%23, asynchronous Problem: F# Async Dispose I wrote this little web listener simulation: Agent.Start(fun (_ : MailboxProcessor<unit>) -> let listener = new HttpListener() listener.Prefixes.Add(addr) listener.Start() let rec respondOut() = async { let! conte...
F# Async Dispose F# Async Dispose f%23 asynchronous Async Dispose Agent.Start MailboxProcessor HttpListener listener.Prefixes.Add listener.Start Async.FromBeginEnd listener.BeginGetContext listener.EndGetContext context.Response.OutputStream StreamWriter IDisposable x.Dispose Disposing wr.Dispose wr.Write Test sw.Write...
[ -0.01336669921875, 0.037353515625, -0.00439453125, 0.0001068115234375, -0.0048828125, -0.007171630859375, -0.005340576171875, 0.01116943359375, 0.005340576171875, -0.000568389892578125, 0.017333984375, 0.0361328125, 0.024658203125, -0.00933837890625, 0.03369140625, -0.01165771484375, ...
[ 563, 4904, 62, 12654, 238, 70958, 184, 1238, 3742, 101966, 54603, 126597, 25919, 11728, 26531, 748, 3062, 154663, 39060, 44632, 56, 55923, 4028, 6820, 152378, 22829, 43701, 94399, 115061, 2783, 164, 7522, 2886, 1022, 44456, 78381, 6953, 8647,...
[ 0.0985107421875, 0.158203125, 0.01837158203125, 0.197021484375, 0.039337158203125, 0.270263671875, 0.2230224609375, 0.04656982421875, 0.1229248046875, 0.1044921875, 0.1719970703125, 0.053955078125, 0.05096435546875, 0.113037109375, 0.0802001953125, 0.021331787109375, 0.01885986328125...
embed
45493587_c0
45493587
fsharp
0
Title: Copying file any\netstandard1.6\FSharp.Core.sigdata to obj\Release\Package\PackageTmp\any\netstandard1.6\FSharp.Core.sigdata failed Problem title: Copying file any\netstandard1.6\FSharp.Core.sigdata to obj\Release\Package\PackageTmp\any\netstandard1.6\FSharp.Core.sigdata failed Tags: f%23, visual-studio, publish...
Copying file any\netstandard1.6\FSharp.Core.sigdata to obj\Release\Package\PackageTmp\any\netstandard1.6\FSharp.Core.sigdata failed Copying file any\netstandard1.6\FSharp.Core.sigdata to obj\Release\Package\PackageTmp\any\netstandard1.6\FSharp.Core.sigdata failed f%23 visual-studio publish c%23 Copying netstandard1.6 F...
[ -0.00921630859375, 0.01080322265625, -0.00677490234375, -0.004302978515625, -0.0130615234375, 0.000141143798828125, -0.0038604736328125, -0.004608154296875, 0.0107421875, 0.00049591064453125, 0.00121307373046875, -0.0291748046875, 0.004730224609375, 0.01263427734375, 0.0118408203125, 0...
[ 146930, 11435, 2499, 1179, 66589, 122336, 36381, 3467, 254, 50886, 13, 20561, 10135, 47, 995, 170, 133, 205956, 2676, 4848, 165523, 21176, 52629, 80299, 2043, 93774, 152590, 56607, 157255, 63134, 73372, 22968, 4904, 4002, 12349, 121137, 5885, ...
[ 0.18408203125, 0.114990234375, 0.1297607421875, 0.083251953125, 0.17431640625, 0.1884765625, 0.0241851806640625, 0.146728515625, 0.1900634765625, 0.1126708984375, 0.0201568603515625, 0.1195068359375, 0.1688232421875, 0.0760498046875, 0.09381103515625, 0.1402587890625, 0.0581665039062...
embed
34657891_c1
34657891
fsharp
1
imes.[counter]) | x -> loop acc (counter + 1) x let primeFactor = loop [] 0 x |> List.rev primeFactor //calculates the prime factors for each of the numbers between 2 and n //then, for each of the prime factorizations it tries to find the highest power for each occurring prime factor let findPrimeFactorsPowers n = //bu...
imes.[counter]) | x -> loop acc (counter + 1) x let primeFactor = loop [] 0 x |> List.rev primeFactor //calculates the prime factors for each of the numbers between 2 and n //then, for each of the prime factorizations it tries to find the highest power for each occurring prime factor let findPrimeFactorsPowers n = //bu...
[ -0.0146484375, 0.01092529296875, 0.0017852783203125, 0.00439453125, 0.008544921875, -0.0004482269287109375, -0.001220703125, -0.01434326171875, 0.0096435546875, -0.02099609375, 0.01373291015625, 0.0118408203125, 0.01263427734375, -0.0005035400390625, -0.0191650390625, -0.00149536132812...
[ 5431, 7, 1065, 71013, 56, 6, 58745, 1022, 33079, 40956, 50015, 997, 4879, 2633, 20809, 135518, 1290, 2203, 268, 757, 2740, 32036, 5, 65381, 4666, 6827, 16735, 1636, 120103, 12638, 70, 101935, 17721, 116, 136, 653, 92733, 4, 111, 31461, ...
[ 0.224853515625, 0.1875, 0.002166748046875, 0.1671142578125, 0.1611328125, 0.010223388671875, 0.039215087890625, 0.092529296875, 0.05078125, 0.1920166015625, 0.159423828125, 0.1126708984375, 0.095703125, 0.1070556640625, 0.262451171875, 0.228271484375, 0.157470703125, 0.019821166992...
embed
46512545_c1
46512545
fsharp
1
.GetSyncTable<VenueDto>() do! pullTable logger table (table.CreateQuery()) let! results = table.Where(fun v -> v.ManagerId = managerId).ToEnumerableAsync() |> Async.AwaitTask return results |> Array.ofSeq } EDIT 2 : Bruce Chen's answer was a partial solution, but it has highlighted another problem, which I believe is F...
.GetSyncTable<VenueDto>() do! pullTable logger table (table.CreateQuery()) let! results = table.Where(fun v -> v.ManagerId = managerId).ToEnumerableAsync() |> Async.AwaitTask return results |> Array.ofSeq } EDIT 2 : Bruce Chen's answer was a partial solution, but it has highlighted another problem, which I believe is F...
[ -0.003936767578125, 0.03759765625, -0.003448486328125, -0.0157470703125, -0.01116943359375, 0.0174560546875, 0.005828857421875, 0.01361083984375, -0.004638671875, -0.0281982421875, 0.0115966796875, 0.0023345947265625, -0.004913330078125, 0.00933837890625, 0.0203857421875, 0.02734375, ...
[ 724, 126, 217835, 618, 2886, 85512, 13388, 397, 188, 16, 54, 38, 50065, 73088, 42, 23180, 22819, 63784, 41732, 1294, 2633, 50339, 35593, 16498, 81, 12662, 33730, 568, 71, 31095, 7763, 2606, 56, 12654, 238, 6, 634, 217, 9874, 30646, 6925...
[ 0.05328369140625, 0.07342529296875, 0.257568359375, 0.1656494140625, 0.215576171875, 0.156005859375, 0.103271484375, 0.0247955322265625, 0.2042236328125, 0.003265380859375, 0.0751953125, 0.09857177734375, 0.2017822265625, 0.1639404296875, 0.1331787109375, 0.218017578125, 0.1918945312...
embed
11726790_c0
11726790
fsharp
0
Title: F# signature files - defining constructor parameters Problem title: F# signature files - defining constructor parameters Tags: f%23 Problem: F# signature files - defining constructor parameters I'm running into an error when creating a signature file for an F# script file which I can't quite work out. To replica...
F# signature files - defining constructor parameters F# signature files - defining constructor parameters f%23 Signatures System Test Guid this.Id this.Name Name Module F# signature files - defining constructor parameters I'm running into an error when creating a signature file for an F# script file which I can't quite...
[ 0.00173187255859375, 0.0084228515625, -0.0198974609375, -0.007659912109375, -0.007659912109375, -0.007049560546875, -0.000209808349609375, 0.0034942626953125, -0.0048828125, 0.000843048095703125, 0.00113677978515625, -0.0206298828125, -0.0020751953125, 0.01214599609375, -0.01336669921875...
[ 563, 4904, 138256, 102158, 13204, 64549, 748, 171859, 1238, 3742, 26729, 141762, 12353, 8647, 6955, 903, 63014, 51042, 3934, 18499, 105233, 11435, 26499, 4488, 143126, 28282, 3525, 18507, 35773, 15190, 17447, 45367, 5885, 36917, 420, 172, 959, ...
[ 0.139404296875, 0.2198486328125, 0.2049560546875, 0.1695556640625, 0.1700439453125, 0.1915283203125, 0.09716796875, 0.1851806640625, 0.0677490234375, 0.046234130859375, 0.1026611328125, 0.10205078125, 0.01123046875, 0.1495361328125, 0.01171875, 0.037017822265625, 0.0889892578125, 0...
embed
76383755_c0
76383755
fsharp
0
Title: Why is my FParsec parser failing to recognize a block comment? Problem title: Why is my FParsec parser failing to recognize a block comment? Tags: f%23, fparsec Problem: Why is my FParsec parser failing to recognize a block comment? I'm trying to parse C style comments using FParsec. Not sure why this is failing...
Why is my FParsec parser failing to recognize a block comment? Why is my FParsec parser failing to recognize a block comment? f%23 fparsec Why FParsec Parser System.Int32.MaxValue Comment spaces1 IgnoreU Success Failure Error Col Note Could Why is my FParsec parser failing to recognize a block comment? I'm trying to pa...
[ -0.00927734375, 0.016845703125, -0.0142822265625, 0.00146484375, -0.0067138671875, 0.0169677734375, 0.014404296875, -0.022705078125, 0.0191650390625, -0.0013580322265625, 0.00665283203125, 0.03759765625, 0.008056640625, -0.0191650390625, -0.0245361328125, 0.0152587890625, 0.005096435...
[ 44084, 563, 28636, 39797, 366, 2189, 35782, 214, 125296, 46389, 6868, 1238, 3742, 2500, 2392, 12353, 6460, 71346, 856, 50770, 16277, 32628, 11137, 107, 1062, 144053, 190355, 212059, 11554, 18622, 191147, 184, 313, 20623, 24626, 18151, 8647, 1...
[ 0.062744140625, 0.0894775390625, 0.123046875, 0.199462890625, 0.1011962890625, 0.1427001953125, 0.10699462890625, 0.009735107421875, 0.1085205078125, 0.15185546875, 0.1839599609375, 0.04998779296875, 0.08404541015625, 0.07781982421875, 0.0970458984375, 0.03875732421875, 0.10949707031...
embed
56115210_c0
56115210
fsharp
0
Title: Custom equality of types with statically resolved type parameters Problem title: Custom equality of types with statically resolved type parameters Tags: generics, f%23, equality, types, inline Problem: Custom equality of types with statically resolved type parameters How to implement custom equality methods in F...
Custom equality of types with statically resolved type parameters Custom equality of types with statically resolved type parameters generics f%23 equality types inline Custom CustomEqualityAttribute Fraction this.Nominator this.Denominator this.IsEqualTo other.Denominator other.Nominator this.Equals Equals IEqualityCom...
[ -0.016845703125, 0.00029754638671875, 0.00897216796875, -0.00982666015625, -0.00970458984375, -0.021240234375, 0.00421142578125, -0.000415802001953125, 0.00174713134765625, -0.00897216796875, -0.0106201171875, 0.0152587890625, 0.013671875, -0.0235595703125, 0, 0.00058746337890625, 0....
[ 130664, 28, 161789, 52895, 678, 13254, 71407, 103608, 10644, 171859, 189534, 1238, 3742, 23, 2256, 191145, 7868, 903, 1249, 4597, 175574, 1290, 647, 71723, 7763, 3789, 4657, 241, 75536, 108161, 147, 111, 29479, 114122, 150624, 563, 4904, 2563...
[ 0.177490234375, 0.107421875, 0.2410888671875, 0.1904296875, 0.0904541015625, 0.173828125, 0.0816650390625, 0.1588134765625, 0.1573486328125, 0.135986328125, 0.12060546875, 0.026641845703125, 0.1009521484375, 0.0025634765625, 0.054931640625, 0.077880859375, 0.0863037109375, 0.146972...
embed
22036479_c0
22036479
fsharp
0
Title: F# Fold while building a list using cons (::) as opposed to concat (@) Problem title: F# Fold while building a list using cons (::) as opposed to concat (@) Tags: f%23, concatenation, fold, list Problem: F# Fold while building a list using cons (::) as opposed to concat (@) I have the following function which do...
F# Fold while building a list using cons (::) as opposed to concat (@) F# Fold while building a list using cons (::) as opposed to concat (@) f%23 concatenation fold list cons Fold List.fold F# Fold while building a list using cons (::) as opposed to concat (@) I have the following function which does what I want. But ...
[ -0.005126953125, -0.0068359375, -0.003936767578125, -0.009033203125, -0.0036468505859375, 0.0072021484375, -0.0162353515625, 0.00153350830078125, 0.020263671875, -0.022705078125, 0.033935546875, -0.003021240234375, 0.00982666015625, 0.007049560546875, 0.00958251953125, -0.00537109375, ...
[ 563, 4904, 30077, 71, 12960, 33976, 5303, 17368, 158, 7, 12, 233, 144429, 4460, 41895, 1238, 3742, 33, 42822, 32036, 25632, 32354, 3444, 4966, 4527, 39933, 180, 132, 19, 27750, 3863, 177, 271, 37839, 2729, 30646, 4568, 34292, 50339, 13939...
[ 0.1141357421875, 0.1551513671875, 0.205810546875, 0.1300048828125, 0.03350830078125, 0.140869140625, 0.1959228515625, 0.03704833984375, 0.210205078125, 0.10687255859375, 0.126953125, 0.0241851806640625, 0.038177490234375, 0.2188720703125, 0.1302490234375, 0.0855712890625, 0.105224609...
embed
69283960_c0
69283960
fsharp
0
Title: Is it possible to create a C# record with a private constructor? Problem title: Is it possible to create a C# record with a private constructor? Tags: discriminated-union, c%23, f%23, record Problem: Is it possible to create a C# record with a private constructor? Hello, I´m trying to rebuild a discriminated uni...
Is it possible to create a C# record with a private constructor? Is it possible to create a C# record with a private constructor? discriminated-union c%23 f%23 record Result Error Message Is it possible to create a C# record with a private constructor? Hello, I´m trying to rebuild a discriminated union type in C#. I al...
[ -0.0164794921875, 0.02392578125, 0.01153564453125, 0.01324462890625, -0.00022792816162109375, -0.0037078857421875, -0.0264892578125, 0.00299072265625, 0.001983642578125, -0.01611328125, 0.012451171875, -0.0118408203125, 0.020751953125, 0.011474609375, -0.014404296875, -0.0067138671875,...
[ 2071, 442, 7722, 28282, 313, 4904, 17164, 678, 14375, 64549, 748, 47, 55970, 3674, 87046, 3742, 1238, 126684, 212059, 48205, 10, 31577, 456, 177149, 69941, 10644, 11343, 75935, 61112, 581, 2967, 221, 61957, 5045, 34759, 92558, 18151, 37397, ...
[ 0.060150146484375, 0.06060791015625, 0.1729736328125, 0.158203125, 0.05926513671875, 0.22509765625, 0.212646484375, 0.1026611328125, 0.2115478515625, 0.20068359375, 0.1549072265625, 0.029327392578125, 0.1971435546875, 0.04888916015625, 0.1571044921875, 0.0889892578125, 0.013275146484...
embed
2241164_c0
2241164
fsharp
0
Title: Implementing API with replaceable backend implementation in .NET (F#) Problem title: Implementing API with replaceable backend implementation in .NET (F#) Tags: f%23, .net, design-patterns Problem: Implementing API with replaceable backend implementation in .NET (F#) I'm trying to understand how to implement rep...
Implementing API with replaceable backend implementation in .NET (F#) Implementing API with replaceable backend implementation in .NET (F#) f%23 .net design-patterns Implementing API NET Matrix test.txt Implementing API with replaceable backend implementation in .NET (F#) I'm trying to understand how to implement repla...
[ -0.0004444122314453125, 0.034912109375, 0.017333984375, 0.0050048828125, -0.00180816650390625, 0.000751495361328125, 0.009033203125, 0.031005859375, 0.004913330078125, -0.002166748046875, -0.0069580078125, -0.0026702880859375, -0.00836181640625, -0.00152587890625, -0.00408935546875, -0...
[ 153941, 61687, 678, 91995, 2886, 4420, 3611, 208124, 5, 17777, 919, 4904, 23, 6, 16, 1238, 3949, 3742, 1179, 4331, 4453, 22766, 194234, 3034, 124326, 31577, 47, 28219, 3642, 29479, 82761, 7, 4, 10, 4516, 81450, 101758, 70, 8999, 87, 926...
[ 0.219482421875, 0.267333984375, 0.09661865234375, 0.239990234375, 0.17822265625, 0.2015380859375, 0.1734619140625, 0.21142578125, 0.043853759765625, 0.2230224609375, 0.091552734375, 0.207763671875, 0.022308349609375, 0.0145111083984375, 0.0142059326171875, 0.04296875, 0.0027160644531...
embed
53445073_c0
53445073
fsharp
0
Title: Creating tree from given path of string list in f# Problem title: Creating tree from given path of string list in f# Tags: filesystems, tree, f%23 Problem: Creating tree from given path of string list in f# I have a type defination: type FsTree = Node of (string * FsTree) list I create an empty node: let createE...
Creating tree from given path of string list in f# Creating tree from given path of string list in f# filesystems tree f%23 given Creating FsTree Node fs1 MainNode fs2 fs3 Creating tree from given path of string list in f# I have a type defination: I create an empty node: I would love to build a tree from a path of str...
[ 0.0184326171875, -0.0027008056640625, -0.00897216796875, 0.00457763671875, 0.00958251953125, -0.000255584716796875, -0.00732421875, -0.01263427734375, 0.007568359375, -0.00946044921875, 0.014404296875, -0.0126953125, 0.0123291015625, 0.01068115234375, -0.0015716552734375, -0.0017318725...
[ 56781, 1916, 53201, 1295, 34475, 60875, 111, 79315, 5303, 1238, 4904, 23, 11435, 16751, 3742, 563, 62731, 438, 112, 12321, 5021, 363, 10644, 45154, 28282, 201505, 110, 2806, 5161, 45367, 10, 16750, 18151, 2060, 765, 2809, 179933, 100, 116, ...
[ 0.1292724609375, 0.0229339599609375, 0.281494140625, 0.1033935546875, 0.1131591796875, 0.19189453125, 0.0716552734375, 0.2130126953125, 0.1585693359375, 0.11669921875, 0.181884765625, 0.009490966796875, 0.09002685546875, 0.109619140625, 0.103759765625, 0.0770263671875, 0.219360351562...
embed
52230419_c0
52230419
fsharp
0
Title: Why does my Windows Form in F# use a minimum width? Problem title: Why does my Windows Form in F# use a minimum width? Tags: .net, f%23, winforms Problem: Why does my Windows Form in F# use a minimum width? I'm trying to create basically a 100x100 image on the screen without any border or toolbox, but for some r...
Why does my Windows Form in F# use a minimum width? Why does my Windows Form in F# use a minimum width? .net f%23 winforms Why Windows Form form.MinimumSize Size System System.Drawing System.Windows.Forms form.Width form.Height form.FormBorderStyle System.Windows.Forms.FormBorderStyle.None form.StartPosition FormStartP...
[ 0.024169921875, 0.0184326171875, -0.00921630859375, -0.00994873046875, 0.000362396240234375, -0.00836181640625, 0.013427734375, -0.01904296875, -0.0091552734375, -0.012939453125, 0.03271484375, -0.018310546875, 0.006561279296875, -0.0011444091796875, -0.005950927734375, -0.017578125, ...
[ 44084, 14602, 759, 3773, 15236, 23, 563, 4904, 4527, 15440, 146984, 10, 1179, 1238, 3949, 3742, 148, 46334, 3173, 114986, 24105, 127167, 80378, 12353, 219, 43342, 102973, 532, 13025, 22553, 80596, 209480, 5021, 126597, 172, 174426, 7612, 1586...
[ 0.126708984375, 0.02630615234375, 0.021270751953125, 0.156494140625, 0.25146484375, 0.0406494140625, 0.1336669921875, 0.228271484375, 0.09820556640625, 0.24072265625, 0.2464599609375, 0.00286865234375, 0.1273193359375, 0.05853271484375, 0.025543212890625, 0.1177978515625, 0.026031494...
embed
9282552_c0
9282552
fsharp
0
Title: Adapting .NET 4.5 async to F# Problem title: Adapting .NET 4.5 async to F# Tags: .net-4.5, f%23 Problem: Adapting .NET 4.5 async to F# The .NET 4.5 framework libraries integrate C#-style Task-based async fairly extensively. In many cases, they also continue to expose APM-style Begin/End method pairs. F# can easi...
Adapting .NET 4.5 async to F# Adapting .NET 4.5 async to F# .net-4.5 f%23 Adapting NET System.IO.Stream x.AsyncRead Async.FromBeginEnd x.BeginRead x.EndRead x.ReadAsync Async.AwaitTask net-4.5 Adapting .NET 4.5 async to F# The .NET 4.5 framework libraries integrate C#-style Task-based async fairly extensively. In many ...
[ -0.0234375, 0.0185546875, 0.0230712890625, -0.0233154296875, -0.00811767578125, -0.0196533203125, -0.0130615234375, 0.01519775390625, 0.0069580078125, -0.01300048828125, 0.02294921875, -0.003143310546875, 0.01055908203125, 0.00836181640625, 0.01177978515625, -0.002349853515625, 0.011...
[ 91903, 17777, 60061, 12654, 238, 47, 563, 4904, 10, 1179, 104867, 1238, 3742, 12353, 17780, 115061, 31345, 168407, 6820, 152378, 1022, 634, 9874, 2043, 170846, 35773, 78779, 40946, 9598, 92, 77007, 41745, 21342, 172554, 20266, 121427, 64, 553...
[ 0.192626953125, 0.17333984375, 0.300048828125, 0.2322998046875, 0.09814453125, 0.06591796875, 0.158447265625, 0.2139892578125, 0.037353515625, 0.1328125, 0.260986328125, 0.0311737060546875, 0.0628662109375, 0.10888671875, 0.1546630859375, 0.1771240234375, 0.2333984375, 0.0020446777...
embed
60975739_c0
60975739
fsharp
0
Title: F# unable to catch DivideByZeroException Problem title: F# unable to catch DivideByZeroException Tags: f%23 Problem: F# unable to catch DivideByZeroException I atempt to catch an exception when dividing by 0 is performed but, no mater the implementation, code shows nothing of substance, always claiming that the ...
F# unable to catch DivideByZeroException F# unable to catch DivideByZeroException f%23 DivideByZeroException System.DivideByZeroException System ADD SUB MUL SQR DIV PUSH BLEDNY_PROGRAM a::b::ys a::ys x::ys x::xs i::is il3 F# unable to catch DivideByZeroException I atempt to catch an exception when dividing by 0 is perf...
[ -0.01458740234375, -0.0015106201171875, 0.0002193450927734375, -0.0203857421875, -0.007476806640625, -0.01025390625, 0.023681640625, -0.0089111328125, -0.0050048828125, -0.005126953125, 0.00127410888671875, 0.02099609375, -0.0111083984375, -0.0118408203125, 0.025390625, 0.0034637451171...
[ 563, 4904, 51, 2886, 105556, 76278, 112, 75358, 1511, 4036, 19279, 63928, 1238, 3742, 12353, 14055, 33193, 24057, 111231, 176851, 2737, 1052, 5419, 856, 24584, 12927, 38409, 25182, 47970, 724, 35812, 4778, 425, 164, 211, 363, 34224, 131527, ...
[ 0.1170654296875, 0.1815185546875, 0.03729248046875, 0.1209716796875, 0.1796875, 0.176513671875, 0.13037109375, 0.11083984375, 0.1278076171875, 0.1470947265625, 0.04443359375, 0.1578369140625, 0.06103515625, 0.115966796875, 0.1025390625, 0.0196533203125, 0.147705078125, 0.0353393554...
embed
61717146_c0
61717146
fsharp
0
Title: F# Parameterized Insert Sql Problem title: F# Parameterized Insert Sql Tags: f%23 Problem: F# Parameterized Insert Sql Trying to understand how to parameterize query with SqlCommandProvider . So far I've got this [<Literal>] let connectionString = @"Data Source=.\SQL2019;Initial Catalog=MyDb;Trusted_Connection=T...
F# Parameterized Insert Sql F# Parameterized Insert Sql f%23 Parameterized Insert Sql SqlCommandProvider Literal Data Source SQL2019 Initial Catalog MyDb Trusted_Connection InsertCommand INTO Category Name Value Website VALUES SingleRow Seq.iter cmdInsert.Execute Int32.Parse www.example.com CommandText ConnectionString...
[ -0.013427734375, 0.01025390625, -0.00135040283203125, 0.01507568359375, -0.017333984375, 0.0189208984375, -0.0286865234375, -0.0380859375, -0.0084228515625, -0.0140380859375, 0.0086669921875, -0.048828125, -0.00787353515625, -0.0185546875, -0.018798828125, -0.01251220703125, -0.01696...
[ 563, 4904, 1720, 29089, 29367, 360, 33657, 99247, 1238, 3742, 10770, 12018, 177997, 62160, 135940, 77641, 80866, 32196, 1890, 150917, 2646, 397, 275, 87343, 297, 235603, 213354, 49057, 15757, 190060, 14737, 310, 89994, 43609, 12724, 434, 864, ...
[ 0.1123046875, 0.1866455078125, 0.14599609375, 0.157958984375, 0.1402587890625, 0.1104736328125, 0.2010498046875, 0.1944580078125, 0.03753662109375, 0.1190185546875, 0.150146484375, 0.25146484375, 0.1787109375, 0.1317138671875, 0.0848388671875, 0.091796875, 0.140625, 0.20263671875, ...
embed
20341250_c2
20341250
fsharp
2
319)): Loaded 'C:\windows\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms\v4.0_4.0.0.0__b77a5c561934e089\System.Windows.Forms.dll', Symbols loaded. 'ProcessInvocation86.exe' (Managed (v4.0.30319)): Loaded 'C:\windows\Microsoft.Net\assembly\GAC_MSIL\System.Drawing\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll',...
319)): Loaded 'C:\windows\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms\v4.0_4.0.0.0__b77a5c561934e089\System.Windows.Forms.dll', Symbols loaded. 'ProcessInvocation86.exe' (Managed (v4.0.30319)): Loaded 'C:\windows\Microsoft.Net\assembly\GAC_MSIL\System.Drawing\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll',...
[ 0.0040283203125, 0.0230712890625, -0.02392578125, -0.0206298828125, -0.00128936767578125, -0.00677490234375, 0.0020904541015625, -0.00714111328125, -0.025390625, -0.005096435546875, -0.01165771484375, 0.00104522705078125, 0.00933837890625, 0.01953125, 0.005157470703125, 0.0036010742187...
[ 138, 98864, 2077, 2091, 712, 297, 441, 12, 229792, 113387, 24447, 89845, 38526, 14849, 594, 68785, 84293, 43342, 102973, 334, 151152, 454, 99929, 14546, 2947, 5, 1181, 131899, 72367, 10752, 26531, 4153, 202010, 15276, 46480, 12662, 1197, 363,...
[ 0.09747314453125, 0.212890625, 0.07666015625, 0.1307373046875, 0.13134765625, 0.09307861328125, 0.036376953125, 0.06304931640625, 0.10491943359375, 0.1317138671875, 0.14892578125, 0.163818359375, 0.05120849609375, 0.0975341796875, 0.04095458984375, 0.173828125, 0.13232421875, 0.140...
embed
41410197_c0
41410197
fsharp
0
Title: F# function composition changes base function types Problem title: F# function composition changes base function types Tags: types, f%23, f%23-interactive Problem: F# function composition changes base function types I'm working through this F# wikibook and I'm confused at something I'm seeing in the function com...
F# function composition changes base function types F# function composition changes base function types types f%23 f%23-interactive F# function composition changes base function types I'm working through this F# wikibook and I'm confused at something I'm seeing in the function composition section of the linked page. Th...
[ 0.00775146484375, -0.0050048828125, 0.006927490234375, 0.0267333984375, 0.00982666015625, 0.01116943359375, -0.004730224609375, 0.0012054443359375, 0.001983642578125, 0.0091552734375, 0.0003528594970703125, 0.004486083984375, 0.0079345703125, 0.0040283203125, 0.013671875, 0.00509643554...
[ 563, 4904, 32354, 166577, 65572, 3647, 52895, 1238, 3742, 167218, 27495, 10433, 71232, 14137, 55681, 5281, 86681, 30362, 27781, 28960, 5885, 28219, 6097, 72546, 11675, 172, 39563, 5646, 30646, 142424, 35839, 36917, 15190, 25632, 13315, 1957, 15...
[ 0.124267578125, 0.2239990234375, 0.1732177734375, 0.2371826171875, 0.1575927734375, 0.1727294921875, 0.1700439453125, 0.138671875, 0.03985595703125, 0.009490966796875, 0.03515625, 0.0714111328125, 0.02459716796875, 0.052978515625, 0.03973388671875, 0.011932373046875, 0.02438354492187...
embed
19930135_c0
19930135
fsharp
0
Title: F# limitations of discriminated unions Problem title: F# limitations of discriminated unions Tags: f%23, discriminated-union Problem: F# limitations of discriminated unions I am trying to port a small compiler from C# to F# to take advantage of features like pattern matching and discriminated unions. Currently, ...
F# limitations of discriminated unions F# limitations of discriminated unions f%23 discriminated-union TYPE Expression Add Expression.Add F# limitations of discriminated unions I am trying to port a small compiler from C# to F# to take advantage of features like pattern matching and discriminated unions. Currently, I a...
[ -0.0048828125, 0.00958251953125, 0.014892578125, -0.0025634765625, -0.020263671875, -0.01263427734375, -0.0172119140625, -0.0027618408203125, 0.0017547607421875, -0.0166015625, 0.01708984375, -0.00201416015625, 0.004364013671875, 0.005523681640625, 0.006988525390625, 0.01202392578125, ...
[ 563, 4904, 205969, 55970, 3674, 69941, 1238, 3742, 87046, 95267, 25129, 29117, 1830, 4028, 31577, 11469, 19336, 9969, 34759, 1295, 47, 92940, 66139, 103510, 14858, 3299, 48963, 35509, 12353, 5, 866, 44982, 178752, 17514, 164789, 3647, 18507, ...
[ 0.1456298828125, 0.2099609375, 0.22216796875, 0.235595703125, 0.056671142578125, 0.21484375, 0.1187744140625, 0.08258056640625, 0.130615234375, 0.1177978515625, 0.1573486328125, 0.1099853515625, 0.08349609375, 0.1104736328125, 0.00958251953125, 0.0560302734375, 0.03411865234375, 0....
embed
45667540_c1
45667540
fsharp
1
case? ( Cell<float>.Create 1.0 ; which works for me, no error, no warning; and trying non-generic types does not change my problem.) So I fool around with names, distinguishing the type from it's value constructor, adding "T"--and now it fixes iself!: type WriterT<'w, 'a> = | Writer of 'a * List<'w> with //... static ...
case? ( Cell<float>.Create 1.0 ; which works for me, no error, no warning; and trying non-generic types does not change my problem.) So I fool around with names, distinguishing the type from it's value constructor, adding "T"--and now it fixes iself!: type WriterT<'w, 'a> = | Writer of 'a * List<'w> with //... static ...
[ -0.005706787109375, 0.01312255859375, 0.01239013671875, 0.001556396484375, 0.010009765625, -0.03173828125, -0.0135498046875, -0.003570556640625, -0.00160980224609375, 0.0087890625, -0.00147247314453125, 0.0040283203125, 0.01708984375, -0.016357421875, 0.0029144287109375, -0.00329589843...
[ 7225, 80743, 52347, 257, 63784, 2182, 53855, 43240, 110, 18499, 1631, 31577, 351, 79446, 52895, 959, 15549, 2967, 150863, 10932, 123055, 157167, 10644, 1295, 34292, 64549, 748, 154107, 618, 71403, 39379, 601, 2783, 56, 434, 11, 111, 32036, ...
[ 0.1494140625, 0.1865234375, 0.1298828125, 0.0218353271484375, 0.1536865234375, 0.063232421875, 0.149658203125, 0.0958251953125, 0.02532958984375, 0.1431884765625, 0.09478759765625, 0.0191192626953125, 0.031494140625, 0.0765380859375, 0.218017578125, 0.005706787109375, 0.0313720703125...
embed
54952118_c0
54952118
fsharp
0
Title: F# how remove variables in function Problem title: F# how remove variables in function Tags: functional-programming, f%23, .net Problem: F# how remove variables in function I am refactoring a program in F# trying to do it 100% without the keyword mutable but I have a problem in this one function: let ReadAndProc...
F# how remove variables in function F# how remove variables in function functional-programming f%23 .net ReadAndProcessCardData serialPort1.BytesToRead pasobyte2 Thread.Sleep serialPort1.Read arr.Length ByteArrayToString F# how remove variables in function I am refactoring a program in F# trying to do it 100% without t...
[ 0.0201416015625, 0.000522613525390625, 0.003814697265625, -0.00014400482177734375, 0.0126953125, -0.000789642333984375, 0.00077056884765625, -0.00125885009765625, 0.0054931640625, -0.0296630859375, 0.0230712890625, 0.0167236328125, -0.0216064453125, 0.010986328125, 0.01043701171875, -0...
[ 563, 4904, 3642, 87388, 77336, 7, 23, 32354, 123309, 28966, 1238, 3742, 1179, 4764, 37839, 26531, 156119, 137989, 35686, 60006, 75358, 1636, 7763, 31345, 20145, 61028, 304, 136719, 133, 4517, 3311, 7092, 71713, 456, 144810, 1528, 3555, 15490,...
[ 0.147216796875, 0.200439453125, 0.06964111328125, 0.250244140625, 0.29736328125, 0.091552734375, 0.1163330078125, 0.237060546875, 0.165771484375, 0.09375, 0.0809326171875, 0.078857421875, 0.0609130859375, 0.106689453125, 0.044403076171875, 0.017059326171875, 0.1048583984375, 0.0251...
embed
8983485_c0
8983485
fsharp
0
Title: Best way to generate a function that generates a function in C# Problem title: Best way to generate a function that generates a function in C# Tags: c%23, functional-programming, f%23 Problem: Best way to generate a function that generates a function in C# F# provides a feature, where a function can return anoth...
Best way to generate a function that generates a function in C# Best way to generate a function that generates a function in C# c%23 functional-programming f%23 Best power2 power3 Program PowerOf2 PowerOf3 PowerOfN Main Math.Pow Console.WriteLine Best way to generate a function that generates a function in C# F# provid...
[ 0.003997802734375, -0.0034027099609375, -0.0002593994140625, -0.01153564453125, -0.005401611328125, 0.0045166015625, 0.00060272216796875, -0.027587890625, 0.004730224609375, -0.0245361328125, -0.01031494140625, 0.0203857421875, -0.0255126953125, 0.02490234375, 0.0264892578125, 0.000064...
[ 11345, 3917, 47, 139392, 32354, 450, 7, 23, 313, 4904, 10, 3742, 123309, 28966, 1238, 14537, 304, 363, 7663, 17170, 132887, 839, 12321, 78804, 434, 40777, 93232, 563, 87344, 60213, 7440, 831, 30646, 15700, 27781, 12663, 1916, 2965, 69307, ...
[ 0.110595703125, 0.10009765625, 0.04296875, 0.2451171875, 0.24560546875, 0.045379638671875, 0.082275390625, 0.089111328125, 0.0887451171875, 0.236083984375, 0.03021240234375, 0.04815673828125, 0.1636962890625, 0.10260009765625, 0.01934814453125, 0.0947265625, 0.062255859375, 0.09234...
embed
63675487_c0
63675487
fsharp
0
Title: F# and UdpClient reciver Problem title: F# and UdpClient reciver Tags: f%23, udp Problem: F# and UdpClient reciver I am creating UDP receiver in f# using .Net UdpCLient class and it looks simple: let Start (ip: IPAddress, port : int32) : Async<unit> = async { try let endpoint = IPEndPoint(ip, port) use receiving...
F# and UdpClient reciver F# and UdpClient reciver f%23 udp UdpClientDisposedException UdpClient Start IPAddress int32 Async IPEndPoint receivingClient.Client.Bind receivingClient.ReceiveAsync Async.AwaitTask receiveResult.Buffer Watcher Async.Start UdpReceiver.Watcher UdpReceiver F# and UdpClient reciver I am creating ...
[ -0.00897216796875, 0.021484375, 0.01251220703125, 0.01483154296875, 0.018798828125, -0.011962890625, -0.0030364990234375, -0.00555419921875, -0.003936767578125, -0.0230712890625, 0.0016021728515625, 0.01397705078125, 0.01300048828125, 0.01324462890625, 0.0294189453125, -0.0040893554687...
[ 563, 4904, 136, 10445, 254, 441, 150, 2517, 24862, 814, 1238, 3742, 1872, 44456, 144429, 63928, 13794, 8021, 161007, 6460, 12654, 152378, 147534, 217063, 7250, 329, 634, 9874, 53299, 7, 7136, 18234, 20413, 14, 156378, 105233, 345, 28399, 42...
[ 0.12939453125, 0.215087890625, 0.0794677734375, 0.147705078125, 0.1312255859375, 0.03436279296875, 0.1751708984375, 0.091064453125, 0.1427001953125, 0.1357421875, 0.07989501953125, 0.062225341796875, 0.09912109375, 0.05462646484375, 0.1220703125, 0.008148193359375, 0.095458984375, ...
embed
64398637_c0
64398637
fsharp
0
Title: F# syntax to change a record with a function then update the new record Problem title: F# syntax to change a record with a function then update the new record Tags: f%23 Problem: F# syntax to change a record with a function then update the new record I'm learning F# (slowly). How do I fix this? Explanation: "res...
F# syntax to change a record with a function then update the new record F# syntax to change a record with a function then update the new record f%23 SelectMsg SelectedOutterRow Model OutterRows OutterRow.Model Guid m.OutterRows List.map OutterRow.reset None F# syntax to change a record with a function then update the n...
[ -0.022216796875, 0.003753662109375, 0.01318359375, 0.0125732421875, 0.00537109375, -0.0086669921875, -0.01708984375, 0.02001953125, 0.013916015625, 0.007568359375, 0.0169677734375, 0.00738525390625, -0.0264892578125, -0.00408935546875, 0.0262451171875, 0.0108642578125, -0.00729370117...
[ 563, 4904, 6002, 86531, 47, 15549, 17164, 678, 32354, 7068, 28350, 3525, 1238, 3742, 51620, 594, 7, 177, 297, 79858, 720, 12724, 434, 13293, 13538, 140290, 6955, 347, 19725, 32036, 62346, 2109, 126, 438, 52080, 17336, 30022, 61475, 3299, ...
[ 0.1287841796875, 0.2198486328125, 0.1346435546875, 0.1845703125, 0.022735595703125, 0.21044921875, 0.2108154296875, 0.129150390625, 0.1829833984375, 0.0718994140625, 0.21044921875, 0.117431640625, 0.0655517578125, 0.117919921875, 0.16162109375, 0.00689697265625, 0.03546142578125, 0...
embed
19609949_c0
19609949
fsharp
0
Title: Batch processing and functional programming Problem title: Batch processing and functional programming Tags: spring-batch, scala, haskell, batch-processing, f%23 Problem: Batch processing and functional programming As a Java developer, I'm used to use Spring Batch for batch processing, generally using a streamin...
Batch processing and functional programming Batch processing and functional programming spring-batch scala haskell batch-processing f%23 Batch Functional Scala Batch processing and functional programming As a Java developer, I'm used to use Spring Batch for batch processing, generally using a streaming library to expor...
[ 0.00823974609375, 0.00897216796875, 0.01214599609375, 0.0026702880859375, -0.01214599609375, 0.00244140625, 0.0194091796875, 0.002838134765625, -0.00921630859375, -0.0179443359375, -0.0147705078125, -0.0108642578125, 0.004486083984375, 0.00909423828125, 0.0084228515625, 0.0067138671875...
[ 21947, 206, 9433, 214, 136, 123309, 56037, 31576, 2848, 146232, 1556, 142508, 1777, 63923, 1238, 3949, 3742, 28670, 10763, 152653, 11, 41925, 106001, 11814, 4527, 38026, 4, 137567, 10, 65296, 35773, 1294, 47, 31255, 21334, 92537, 102158, 2907...
[ 0.2454833984375, 0.1683349609375, 0.16357421875, 0.07421875, 0.045013427734375, 0.2269287109375, 0.14111328125, 0.1806640625, 0.20166015625, 0.194091796875, 0.09014892578125, 0.215087890625, 0.2393798828125, 0.176025390625, 0.0148773193359375, 0.0240325927734375, 0.10552978515625, ...
embed
50449155_c0
50449155
fsharp
0
Title: F# - Replace Float With Label Based On Percentile Comparison Problem title: F# - Replace Float With Label Based On Percentile Comparison Tags: f%23, percentile, arrays, dictionary Problem: F# - Replace Float With Label Based On Percentile Comparison I need to map the values in tmp to labels in tmpRplcd based on ...
F# - Replace Float With Label Based On Percentile Comparison F# - Replace Float With Label Based On Percentile Comparison f%23 percentile arrays dictionary Replace Float Label Based Percentile Comparison SOQN System MathNet.Numerics.Statistics Array.sort Statistics.Percentile Map Array.zip tmpRplcd:string Array.map2 Te...
[ -0.017822265625, -0.0186767578125, 0.00494384765625, 0.006072998046875, 0.0191650390625, -0.004364013671875, 0.014892578125, -0.0145263671875, 0.01214599609375, 0.05908203125, 0.003204345703125, 0.017578125, -0.00179290771484375, -0.015869140625, 0.0164794921875, -0.008056640625, 0.0...
[ 563, 4904, 853, 23935, 38699, 257, 17106, 129214, 44978, 2161, 908, 68982, 133, 113307, 40514, 1238, 3949, 3742, 33297, 1340, 10298, 4778, 45, 10763, 15969, 2737, 839, 12353, 78804, 24447, 69253, 62351, 126124, 15277, 42719, 50836, 2676, 2424...
[ 0.08056640625, 0.1707763671875, 0.08489990234375, 0.1490478515625, 0.2142333984375, 0.129638671875, 0.10369873046875, 0.231201171875, 0.09912109375, 0.024017333984375, 0.0938720703125, 0.1546630859375, 0.0655517578125, 0.1448974609375, 0.07012939453125, 0.0601806640625, 0.01596069335...
embed
11172310_c0
11172310
fsharp
0
Title: Record methods in F# Problem title: Record methods in F# Tags: records, f%23 Problem: Record methods in F# I have written a simple example for my scenario. I create a record type Switch type State = | On | Off with member this.flip = match this with | On -> Off | Off -> On type Switch = { State : State } and the...
Record methods in F# Record methods in F# records f%23 Record Switch State Off this.flip switch.State.flip List.fold this.State.flip this.flipMany sw.flip Record methods in F# I have written a simple example for my scenario. I create a record type Switch and then I write a function that creates a copy of the record wit...
[ -0.0159912109375, -0.0021514892578125, 0.020751953125, 0.0034942626953125, -0.00811767578125, -0.01141357421875, -0.033935546875, 0.00157928466796875, 0.00848388671875, -0.022216796875, -0.00390625, 0.0216064453125, 0.008056640625, 0.00372314453125, 0.003997802734375, -0.0269775390625,...
[ 54877, 150624, 563, 4904, 23, 115923, 1238, 3742, 106101, 22836, 9791, 903, 420, 21392, 101089, 135206, 32036, 42822, 12662, 53, 91, 434, 8781, 27781, 106117, 28282, 17164, 10644, 33022, 32354, 43658, 1632, 12830, 98816, 147505, 5941, 208479, ...
[ 0.227783203125, 0.2327880859375, 0.1368408203125, 0.207275390625, 0.0126953125, 0.187255859375, 0.008636474609375, 0.1025390625, 0.231689453125, 0.0789794921875, 0.1048583984375, 0.06365966796875, 0.0718994140625, 0.190185546875, 0.207763671875, 0.05242919921875, 0.062744140625, 0....
embed
46736728_c0
46736728
fsharp
0
Title: As a functional programming language, does R have pattern matching? (As in Scala, or F#) Problem title: As a functional programming language, does R have pattern matching? (As in Scala, or F#) Tags: scala, f%23, functional-programming, pattern-matching, r Problem: As a functional programming language, does R hav...
As a functional programming language, does R have pattern matching? (As in Scala, or F#) As a functional programming language, does R have pattern matching? (As in Scala, or F#) scala f%23 functional-programming pattern-matching r Scala Matcher App d1.work d2.work As a functional programming language, does R have patte...
[ 0.0118408203125, 0.017333984375, 0.00555419921875, -0.0026092529296875, 0.004241943359375, -0.01116943359375, -0.01416015625, 0.00408935546875, 0.000240325927734375, -0.01446533203125, 0.0174560546875, -0.00634765625, -0.01312255859375, -0.0299072265625, 0.013916015625, 0.0029754638671...
[ 123309, 56037, 46876, 14602, 627, 765, 103510, 14858, 214, 152653, 11, 563, 4904, 146232, 1238, 3742, 28966, 98753, 1690, 67407, 56, 5659, 18244, 5442, 49782, 9790, 1810, 80835, 242122, 16031, 214709, 22021, 60213, 4453, 22766, 831, 54, 1902,...
[ 0.1973876953125, 0.119384765625, 0.157470703125, 0.002410888671875, 0.2088623046875, 0.053680419921875, 0.2442626953125, 0.232177734375, 0.1287841796875, 0.1649169921875, 0.083984375, 0.0726318359375, 0.145751953125, 0.1864013671875, 0.0183868408203125, 0.0869140625, 0.1009521484375,...
embed
228605_c1
228605
fsharp
1
to detect type Token = | Whitespace of string | Comment of string | Strng of string | Keyword of string | Text of string | EOF //turn a string into a list of recognised tokens let tokenize (s:String) = //this is the 'parser' - should we look at compiling the regexs in advance? let nexttoken (st:String) = match st with...
to detect type Token = | Whitespace of string | Comment of string | Strng of string | Keyword of string | Text of string | EOF //turn a string into a list of recognised tokens let tokenize (s:String) = //this is the 'parser' - should we look at compiling the regexs in advance? let nexttoken (st:String) = match st with...
[ -0.00168609619140625, 0.014404296875, -0.0059814453125, 0.035888671875, -0.000385284423828125, 0.00086212158203125, -0.005340576171875, 0.0032196044921875, 0.022216796875, 0.016845703125, -0.003448486328125, 0.0262451171875, -0.0220947265625, -0.037841796875, 0, 0.01129150390625, 0.0...
[ 47, 96391, 10644, 717, 1098, 2203, 22392, 65421, 111, 79315, 16277, 23351, 449, 189755, 24129, 58745, 241, 82341, 4666, 987, 19, 3934, 5303, 75530, 5281, 84694, 2633, 20650, 7, 12, 71713, 214, 100231, 83, 2500, 2189, 5608, 6713, 9969, 497...
[ 0.133056640625, 0.2880859375, 0.2685546875, 0.120361328125, 0.239501953125, 0.0234832763671875, 0.11767578125, 0.2161865234375, 0.0751953125, 0.221923828125, 0.1878662109375, 0.048492431640625, 0.097900390625, 0.1744384765625, 0.128173828125, 0.0001220703125, 0.0421142578125, 0.227...
embed
34408743_c0
34408743
fsharp
0
Title: Trying to understand inferred type constraints Problem title: Trying to understand inferred type constraints Tags: f%23, type-constraints, type-inference Problem: Trying to understand inferred type constraints The following yields This construct causes code to be less generic than indicated by the type annotatio...
Trying to understand inferred type constraints Trying to understand inferred type constraints f%23 type-constraints type-inference Trying Value MyTypeA this.Value SomeBooleanProperty GetProperty GetValue MyTypeB this.Method Trying to understand inferred type constraints The following yields for the right side of the le...
[ -0.00133514404296875, 0.0001201629638671875, 0.023681640625, 0.0294189453125, 0.0015411376953125, 0.0022430419921875, -0.0106201171875, -0.0118408203125, 0.0211181640625, 0.009765625, 0.004730224609375, -0.0002002716064453125, -0.011962890625, -0.01226806640625, 0.0128173828125, 0.0052...
[ 40858, 28219, 53498, 2822, 10644, 158, 2816, 4288, 1238, 3742, 2271, 73, 69988, 190060, 2646, 196707, 284, 903, 856, 50770, 34677, 1264, 20779, 571, 78572, 7352, 25632, 11180, 19388, 7108, 5609, 2633, 759, 125195, 189534, 683, 55300, 9969, ...
[ 0.028350830078125, 0.1094970703125, 0.1986083984375, 0.12646484375, 0.1812744140625, 0.06500244140625, 0.1727294921875, 0.0985107421875, 0.03045654296875, 0.1231689453125, 0.06201171875, 0.048614501953125, 0.1610107421875, 0.23193359375, 0.1053466796875, 0.1832275390625, 0.0892333984...
embed
42164787_c0
42164787
fsharp
0
Title: Why are parenthesis needed in F# using method chaining query expression where clause? Problem title: Why are parenthesis needed in F# using method chaining query expression where clause? Tags: linq, f%23 Problem: Why are parenthesis needed in F# using method chaining query expression where clause? Attempting to ...
Why are parenthesis needed in F# using method chaining query expression where clause? Why are parenthesis needed in F# using method chaining query expression where clause? linq f%23 method Why TypedDataContext dc.OrderItem o.Description.Contains Dump Why are parenthesis needed in F# using method chaining query expressi...
[ 0.005218505859375, 0.004302978515625, -0.016845703125, 0.0062255859375, 0.006439208984375, 0.01953125, -0.006591796875, -0.013671875, -0.01019287109375, -0.04345703125, -0.004150390625, -0.017822265625, 0.0020904541015625, 0.003265380859375, 0.00946044921875, 0.005889892578125, -0.00...
[ 44084, 49129, 160291, 7, 44841, 563, 4904, 17368, 55300, 1608, 14653, 41, 125195, 7440, 70731, 13, 621, 1294, 44982, 1238, 3949, 3742, 60457, 71, 137989, 22829, 143045, 2982, 36, 4657, 59478, 25500, 786, 2676, 23, 1286, 339, 113954, 49041, ...
[ 0.1103515625, 0.1883544921875, 0.22216796875, 0.09295654296875, 0.167236328125, 0.1224365234375, 0.2213134765625, 0.0098876953125, 0.125244140625, 0.134765625, 0.044342041015625, 0.0865478515625, 0.155517578125, 0.198486328125, 0.204833984375, 0.09222412109375, 0.0151519775390625, ...
embed
47514684_c1
47514684
fsharp
1
<'T when 'T:> IFoo>(foo: Foo<'T>): unit = System.Console.WriteLine(foo.Bar.SomeFoo) let Start() = let readFoo = Deserialize() if (readFoo.IsSome) then DoStuff(readFoo.Value) As you can see, there are two possible types: Foo1, and Foo2. And both of them implement the interface IFoo. Therefore, my expectation was that if...
<'T when 'T:> IFoo>(foo: Foo<'T>): unit = System.Console.WriteLine(foo.Bar.SomeFoo) let Start() = let readFoo = Deserialize() if (readFoo.IsSome) then DoStuff(readFoo.Value) As you can see, there are two possible types: Foo1, and Foo2. And both of them implement the interface IFoo. Therefore, my expectation was that if...
[ 0.0087890625, -0.00665283203125, -0.015869140625, -0.01251220703125, 0.019287109375, -0.00396728515625, -0.0203857421875, 0.0002536773681640625, -0.000377655029296875, -0.00005245208740234375, 0.000545501708984375, 0.003631591796875, -0.0023193359375, -0.00384521484375, 0.001190185546875...
[ 618, 3229, 12, 2740, 55449, 16635, 3584, 31, 9572, 25072, 2203, 12353, 40777, 18781, 93232, 25267, 282, 27591, 2633, 13794, 12301, 5581, 25435, 119066, 39116, 29598, 984, 37455, 21493, 856, 50770, 6626, 7722, 52895, 418, 5442, 29479, 101758, ...
[ 0.1473388671875, 0.214111328125, 0.067138671875, 0.03131103515625, 0.1138916015625, 0.26416015625, 0.167724609375, 0.183837890625, 0.2191162109375, 0.2320556640625, 0.002838134765625, 0.09552001953125, 0.1436767578125, 0.030975341796875, 0.102783203125, 0.1119384765625, 0.00271606445...
embed
55288319_c1
55288319
fsharp
1
OnEntry (args) = Stopwatch.GetTimestamp() |> traceEvent args override __.OnExit (args) = let exit () = Stopwatch.GetTimestamp() |> traceEvent args match args.ReturnValue with | :? System.Threading.Tasks.Task as task -> task.ContinueWith(fun _ -> exit()) |> ignore | other -> // Here's where I could use some help let clr...
OnEntry (args) = Stopwatch.GetTimestamp() |> traceEvent args override __.OnExit (args) = let exit () = Stopwatch.GetTimestamp() |> traceEvent args match args.ReturnValue with | :? System.Threading.Tasks.Task as task -> task.ContinueWith(fun _ -> exit()) |> ignore | other -> // Here's where I could use some help let clr...
[ -0.02392578125, -0.01123046875, 0.007171630859375, -0.015380859375, -0.003814697265625, -0.0120849609375, -0.005279541015625, -0.0052490234375, 0.0054931640625, -0.050537109375, -0.0157470703125, 0.024169921875, -0.0260009765625, 0.014404296875, 0.02197265625, 0.005401611328125, 0.00...
[ 2161, 7768, 15123, 61477, 2203, 42284, 35414, 126, 70059, 590, 2676, 144851, 192134, 79459, 645, 416, 112, 20320, 19279, 217, 2633, 82230, 14858, 987, 856, 50770, 678, 12353, 39116, 9874, 237, 66211, 100761, 194583, 16498, 124962, 3789, 4358,...
[ 0.1844482421875, 0.1590576171875, 0.248779296875, 0.180419921875, 0.0232696533203125, 0.1591796875, 0.25, 0.06390380859375, 0.06329345703125, 0.10382080078125, 0.1094970703125, 0.1988525390625, 0.2093505859375, 0.1695556640625, 0.02978515625, 0.146484375, 0.108642578125, 0.19458007...
embed
42182635_c0
42182635
fsharp
0
Title: Input binding to custom class doesn&#x27;t seem to work for blob Problem title: Input binding to custom class doesn&#x27;t seem to work for blob Tags: azure-functions, azure, f%23 Problem: Input binding to custom class doesn't seem to work for blob My Azure Function has two input parameters: Event Hubs trigger B...
Input binding to custom class doesn&#x27;t seem to work for blob Input binding to custom class doesn&#x27;t seem to work for blob azure-functions azure f%23 Input Microsoft.Azure.WebJobs.Host Error Functions.MailboxFanOut Can Blob Run CustomerName CLIMutable UserName TraceWriter log.Verbose Default Input binding to cus...
[ -0.0211181640625, 0.01141357421875, -0.005889892578125, -0.0023040771484375, -0.016357421875, 0.0299072265625, -0.006195068359375, -0.0111083984375, 0.000682830810546875, -0.0098876953125, -0.016357421875, -0.0181884765625, 0.01708984375, 0.011962890625, 0.00830078125, -0.0054321289062...
[ 360, 7077, 128239, 47, 114122, 18507, 22027, 3768, 18, 48903, 4488, 100, 29695, 275, 295, 3408, 137175, 3742, 219534, 13, 194802, 212059, 28670, 11728, 107437, 79858, 4171, 54231, 28398, 124765, 163612, 83318, 22819, 53400, 4937, 12684, 15896, ...
[ 0.0836181640625, 0.14794921875, 0.2447509765625, 0.134521484375, 0.2415771484375, 0.2254638671875, 0.0204620361328125, 0.08392333984375, 0.02239990234375, 0.0611572265625, 0.123291015625, 0.07977294921875, 0.1614990234375, 0.145263671875, 0.04119873046875, 0.1199951171875, 0.13757324...
embed
57377391_c0
57377391
fsharp
0
Title: F# query expression nested lists Problem title: F# query expression nested lists Tags: f%23 Problem: F# query expression nested lists I'm trying to query a list of events each containg a list of attendees. I'm using a query expression on an EF db context. I've managed to do it like this: let events = query { for...
F# query expression nested lists F# query expression nested lists f%23 db.Events db.EventAttendances event.Id ea.EventId Description event.Description DateTime event.DateTime FirstName ea.Member.FirstName LastName ea.Member.LastName IsAttending ea.IsAttending Seq.toList List.groupBy List.map e.Id e.Description e.DateTi...
[ 0.004638671875, 0.008056640625, 0.007293701171875, -0.009033203125, -0.00787353515625, -0.0019989013671875, 0.00457763671875, 0.00689697265625, 0.006683349609375, -0.033203125, -0.01251220703125, 0.0279541015625, 0.00860595703125, 0.03173828125, -0.015625, 0.002685546875, -0.02246093...
[ 563, 4904, 41, 1294, 125195, 8512, 71, 5303, 1238, 3949, 3742, 40041, 192134, 12216, 549, 5170, 19732, 8394, 70643, 4657, 59478, 25512, 70059, 86291, 23972, 163612, 27417, 21672, 2729, 2071, 864, 188, 154663, 32036, 51588, 75358, 62346, 9208,...
[ 0.156494140625, 0.2020263671875, 0.1448974609375, 0.12060546875, 0.22509765625, 0.241455078125, 0.1141357421875, 0.2098388671875, 0.0767822265625, 0.0361328125, 0.130859375, 0.1263427734375, 0.1748046875, 0.1141357421875, 0.085205078125, 0.04315185546875, 0.1541748046875, 0.1115722...
embed
7550638_c0
7550638
fsharp
0
Title: Should F# functions be placed in modules, classes, or another structure? Problem title: Should F# functions be placed in modules, classes, or another structure? Tags: functional-programming, f%23 Problem: Should F# functions be placed in modules, classes, or another structure? I'm starting to code in F# and am c...
Should F# functions be placed in modules, classes, or another structure? Should F# functions be placed in modules, classes, or another structure? functional-programming f%23 Should MyOnlyNamespace CoolFunctions Should F# functions be placed in modules, classes, or another structure? I'm starting to code in F# and am ca...
[ 0.0186767578125, 0.0135498046875, 0.011474609375, -0.006622314453125, 0.00439453125, 0.01611328125, 0.0274658203125, -0.0228271484375, 0.0048828125, -0.0208740234375, -0.00921630859375, -0.00592041015625, -0.00799560546875, 0.003936767578125, 0.0031280517578125, -0.00433349609375, -0...
[ 151117, 563, 4904, 32354, 7, 158012, 23, 88996, 61112, 15700, 45646, 123309, 28966, 1238, 3742, 2646, 20320, 538, 163612, 65421, 63550, 97249, 10763, 18151, 159029, 1295, 678, 171859, 52080, 65514, 1118, 25842, 126371, 42486, 5941, 4331, 3137, ...
[ 0.09619140625, 0.1572265625, 0.268310546875, 0.228759765625, 0.05450439453125, 0.15087890625, 0.1036376953125, 0.2802734375, 0.1925048828125, 0.045928955078125, 0.197998046875, 0.1385498046875, 0.076416015625, 0.0775146484375, 0.08056640625, 0.1031494140625, 0.119873046875, 0.10565...
embed
12341767_c0
12341767
fsharp
0
Title: Converting OCaml to F#: Differences between typing and type inference Problem title: Converting OCaml to F#: Differences between typing and type inference Tags: typing, f%23, type-inference, ocaml Problem: Converting OCaml to F#: Differences between typing and type inference In researching type inference differe...
Converting OCaml to F#: Differences between typing and type inference Converting OCaml to F#: Differences between typing and type inference typing f%23 type-inference ocaml Converting OCaml Differences Converting OCaml to F#: Differences between typing and type inference In researching type inference differences betwee...
[ 0.0113525390625, 0.0022735595703125, 0.0181884765625, 0.01202392578125, 0.01104736328125, -0.005889892578125, -0.02587890625, -0.013427734375, -0.005828857421875, 0.0040283203125, 0.010009765625, -0.009033203125, -0.0091552734375, 0.00372314453125, 0.0218505859375, 0.0036163330078125, ...
[ 1657, 814, 1916, 180, 105272, 141, 47, 563, 4904, 12, 803, 18234, 69098, 17721, 11417, 214, 136, 10644, 53498, 1238, 3949, 3742, 73, 69988, 36, 9779, 6620, 25188, 60212, 17660, 32153, 27154, 4935, 20209, 118990, 5426, 14037, 12729, 110106, ...
[ 0.055389404296875, 0.1480712890625, 0.0362548828125, 0.1363525390625, 0.2060546875, 0.1759033203125, 0.110595703125, 0.162109375, 0.2220458984375, 0.008544921875, 0.0804443359375, 0.1800537109375, 0.08575439453125, 0.093505859375, 0.22998046875, 0.1204833984375, 0.0953369140625, 0....
embed
37804071_c0
37804071
fsharp
0
Title: Is there a way to pipe an image directly to a suave response stream? Problem title: Is there a way to pipe an image directly to a suave response stream? Tags: f%23, suave Problem: Is there a way to pipe an image directly to a suave response stream? I want to dynamically generate an image on server side and send ...
Is there a way to pipe an image directly to a suave response stream? Is there a way to pipe an image directly to a suave response stream? f%23 suave MemoryStream text:string SolidBrush Color.Red Color.White Bitmap Graphics.FromImage Font Courier float32 g.FillRectangle g.DrawString g.Flush System.IO.MemoryStream i.Save...
[ -0.024169921875, 0.00186920166015625, 0.000762939453125, 0.0078125, 0.00665283203125, -0.005767822265625, -0.01416015625, -0.0125732421875, -0.003662109375, -0.034912109375, 0.0169677734375, 0.032958984375, 0.01226806640625, 0.01007080078125, 0.0169677734375, -0.004547119140625, -0.0...
[ 2071, 2685, 10, 3917, 47, 137158, 142, 29569, 105237, 109829, 57553, 75973, 1238, 3949, 3742, 172681, 115061, 7986, 91693, 95823, 86532, 51193, 80852, 173473, 27774, 62346, 189682, 168407, 216960, 40788, 72813, 6815, 21917, 6460, 706, 5713, 814...
[ 0.051910400390625, 0.047393798828125, 0.05181884765625, 0.1446533203125, 0.1695556640625, 0.24462890625, 0.05078125, 0.2288818359375, 0.1917724609375, 0.283935546875, 0.23291015625, 0.2242431640625, 0.058837890625, 0.019744873046875, 0.1448974609375, 0.1717529296875, 0.2225341796875,...
embed
79048478_c0
79048478
fsharp
0
Title: Why does Cmd.OfAsync.perform expect &#x27;unit -&gt; &#x27;a&#x27; instead of expect &#x27;Message&#x27;? Problem title: Why does Cmd.OfAsync.perform expect &#x27;unit -&gt; &#x27;a&#x27; instead of expect &#x27;Message&#x27;? Tags: elm, f%23 Problem: Why does Cmd.OfAsync.perform expect 'unit -> 'a' instead of e...
Why does Cmd.OfAsync.perform expect &#x27;unit -&gt; &#x27;a&#x27; instead of expect &#x27;Message&#x27;? Why does Cmd.OfAsync.perform expect &#x27;unit -&gt; &#x27;a&#x27; instead of expect &#x27;Message&#x27;? elm f%23 Why Cmd.OfAsync.perform Message Cmd.OfAsyn.perform Input Cmd.none DownloadFile Browser.Dom.window.l...
[ -0.0113525390625, 0.0390625, 0.007080078125, 0.01348876953125, 0.004608154296875, -0.01007080078125, -0.0118408203125, -0.019775390625, 0.00994873046875, -0.00830078125, -0.005706787109375, -0.005523681640625, -0.0023651123046875, 0.00958251953125, -0.01025390625, 0.00274658203125, 0...
[ 44084, 313, 54686, 132887, 12654, 238, 1264, 5037, 41206, 3768, 309, 217, 5386, 11, 64457, 6011, 429, 88, 39, 3742, 48205, 284, 157, 4857, 174350, 86976, 106098, 24293, 29087, 42724, 144786, 297, 2071, 214, 5, 33079, 594, 17262, 107730, 3...
[ 0.1102294921875, 0.068603515625, 0.2327880859375, 0.1988525390625, 0.207275390625, 0.117431640625, 0.0858154296875, 0.2283935546875, 0.222412109375, 0.0560302734375, 0.142578125, 0.0947265625, 0.0911865234375, 0.1346435546875, 0.058319091796875, 0.1241455078125, 0.0780029296875, 0....
embed
14734658_c1
14734658
fsharp
1
(fun line -> line.Split([|'\t'|])) |> Seq.filter (fun values -> values |> Seq.length = 3) |> Seq.map (fun values -> string values.[0], string values.[2]) |> Seq.map (fun (rgb, name) -> rgb.Split([|' '|]), name) |> Seq.map (fun (rgb, name) -> [|name, rgb.[0], rgb.[1], rgb.[2]|]) // Mutable Color Table will be defined o...
(fun line -> line.Split([|'\t'|])) |> Seq.filter (fun values -> values |> Seq.length = 3) |> Seq.map (fun values -> string values.[0], string values.[2]) |> Seq.map (fun (rgb, name) -> rgb.Split([|' '|]), name) |> Seq.map (fun (rgb, name) -> [|name, rgb.[0], rgb.[1], rgb.[2]|]) // Mutable Color Table will be defined o...
[ -0.0062255859375, 0.01214599609375, -0.025390625, 0.01434326171875, -0.007659912109375, -0.0030364990234375, 0.007476806640625, 0.01507568359375, 0.0019683837890625, 0.00994873046875, 0.002044677734375, 0.014404296875, 0.0052490234375, -0.007720947265625, -0.015869140625, 0.01989746093...
[ 15, 16498, 13315, 33079, 5, 31923, 4353, 41872, 18, 25, 268, 16, 6, 2740, 503, 864, 120337, 142424, 58745, 23986, 927, 2203, 8439, 62346, 79315, 2389, 4, 44722, 10566, 275, 9351, 1690, 74251, 132, 1065, 247, 378, 11627, 25432, 4666, 275...
[ 0.06195068359375, 0.27001953125, 0.2432861328125, 0.06988525390625, 0.033355712890625, 0.1195068359375, 0.24658203125, 0.0157928466796875, 0.15869140625, 0.02593994140625, 0.02655029296875, 0.0263519287109375, 0.0261993408203125, 0.0302734375, 0.102294921875, 0.1800537109375, 0.27441...
embed
22357735_c1
22357735
fsharp
1
\Folder 2\REFERENCING_PROJECT.csproj" (default target) (7) -> [17:04:14](CoreCompile target) -> [17:04:14] SOME_CLASS_IN_REFERENCING_PROJECT.cs(10,7): error CS0246: The type or namespace name 'MY_FSHARP_PROJECT_NAME' could not be found (are you missing a using directive or an assembly reference?) [C:\TeamCity\buildAgen...
\Folder 2\REFERENCING_PROJECT.csproj" (default target) (7) -> [17:04:14](CoreCompile target) -> [17:04:14] SOME_CLASS_IN_REFERENCING_PROJECT.cs(10,7): error CS0246: The type or namespace name 'MY_FSHARP_PROJECT_NAME' could not be found (are you missing a using directive or an assembly reference?) [C:\TeamCity\buildAgen...
[ -0.0264892578125, 0.0213623046875, -0.0186767578125, 0.01190185546875, 0.0029449462890625, 0.01141357421875, -0.0244140625, -0.00537109375, 0.002532958984375, 0.009521484375, -0.010986328125, 0.0145263671875, -0.006317138671875, 0.02392578125, 0.00811767578125, 0.001617431640625, -0....
[ 27591, 31178, 116, 11766, 919, 181204, 441, 23186, 47970, 1375, 114781, 4439, 3454, 170, 214810, 30388, 16, 8696, 2489, 33296, 22635, 50886, 108161, 1340, 91245, 37486, 5, 90980, 36076, 18499, 25841, 9550, 9271, 10644, 707, 6, 210716, 9351, ...
[ 0.0144805908203125, 0.1085205078125, 0.08612060546875, 0.0545654296875, 0.1502685546875, 0.16796875, 0.0794677734375, 0.0797119140625, 0.116455078125, 0.1632080078125, 0.1328125, 0.1536865234375, 0.0919189453125, 0.116943359375, 0.181396484375, 0.236572265625, 0.00640869140625, 0.0...
embed
10274498_c1
10274498
fsharp
1
(reply) = async { reply.Reply(queue.Dequeue()) return! chooseState() } and chooseState() = if queue.Count = 0 then emptyQueue() elif queue.Count = maxLength then fullQueue() else runningQueue() // Start with an empty queue emptyQueue() ) /// Asynchronously adds item to the queue. If the queue /// is full, it blocks un...
(reply) = async { reply.Reply(queue.Dequeue()) return! chooseState() } and chooseState() = if queue.Count = 0 then emptyQueue() elif queue.Count = maxLength then fullQueue() else runningQueue() // Start with an empty queue emptyQueue() ) /// Asynchronously adds item to the queue. If the queue /// is full, it blocks un...
[ -0.0185546875, 0.025146484375, 0.00115203857421875, 0.007080078125, -0.0087890625, -0.0145263671875, 0.0146484375, -0.0023651123046875, -0.00017452239990234375, 0.00360107421875, 0.00811767578125, 0.0203857421875, 0.0196533203125, -0.001068115234375, -0.006011962890625, 0.01953125, 0...
[ 107, 62479, 2203, 10, 12654, 238, 75836, 4332, 944, 13388, 4657, 30646, 38, 55076, 135206, 13, 2174, 41, 108210, 757, 201505, 41732, 18389, 449, 4393, 51042, 132, 4666, 13794, 101966, 15190, 35735, 4263, 46389, 24189, 55769, 184750, 32786, ...
[ 0.08111572265625, 0.2164306640625, 0.0157012939453125, 0.0271759033203125, 0.192626953125, 0.087890625, 0.1744384765625, 0.053558349609375, 0.0885009765625, 0.2130126953125, 0.0826416015625, 0.0684814453125, 0.009246826171875, 0.127197265625, 0.1256103515625, 0.04986572265625, 0.0049...
embed
44482578_c0
44482578
fsharp
0
Title: Is there a name for this pattern &quot;type &#x27;a foldedSequence = Empty | Value of &#x27;a * (unit-&gt;&#x27;a foldedSequence )&quot; Problem title: Is there a name for this pattern &quot;type &#x27;a foldedSequence = Empty | Value of &#x27;a * (unit-&gt;&#x27;a foldedSequence )&quot; Tags: f%23 Problem: Is t...
Is there a name for this pattern &quot;type &#x27;a foldedSequence = Empty | Value of &#x27;a * (unit-&gt;&#x27;a foldedSequence )&quot; Is there a name for this pattern &quot;type &#x27;a foldedSequence = Empty | Value of &#x27;a * (unit-&gt;&#x27;a foldedSequence )&quot; f%23 Empty Value None Some Seq.unfold Is there...
[ 0.01019287109375, 0.01336669921875, 0.0057373046875, 0.0240478515625, -0.01220703125, -0.0025787353515625, -0.01251220703125, 0.00482177734375, 0.0126953125, -0.006378173828125, 0.01153564453125, 0.0135498046875, -0.0189208984375, 0.01470947265625, 0.006866455078125, 0.004425048828125,...
[ 2071, 2685, 10, 9351, 100, 903, 103510, 50986, 3768, 11, 18344, 48141, 4233, 944, 3956, 2203, 31678, 939, 190060, 661, 309, 217, 5386, 58745, 1238, 3742, 438, 86, 31384, 503, 864, 42822, 103607, 20697, 4904, 366, 65296, 10975, 17368, 1286...
[ 0.0689697265625, 0.0858154296875, 0.07891845703125, 0.17529296875, 0.066650390625, 0.13525390625, 0.25927734375, 0.2059326171875, 0.0821533203125, 0.138916015625, 0.1729736328125, 0.170654296875, 0.1009521484375, 0.146728515625, 0.109375, 0.024505615234375, 0.186767578125, 0.187255...
embed
69688387_c1
69688387
fsharp
1
for {0} set MCD CHICKEN ",qty) Console.Write("is RM {0} \n",total) loop() Console.Write("\nThank you for your purchase ") elif(option = "2")then let price = 13 let total = int qty*int price Console.Write("\nThe price for {0} set FILET-O-FISH ",qty) Console.Write("is RM {0} \n",total) loop() Console.Write("\nThank you ...
for {0} set MCD CHICKEN ",qty) Console.Write("is RM {0} \n",total) loop() Console.Write("\nThank you for your purchase ") elif(option = "2")then let price = 13 let total = int qty*int price Console.Write("\nThe price for {0} set FILET-O-FISH ",qty) Console.Write("is RM {0} \n",total) loop() Console.Write("\nThank you ...
[ -0.00543212890625, -0.004974365234375, 0.01336669921875, 0.0294189453125, 0.0235595703125, -0.00078582763671875, -0.005157470703125, 0.00518798828125, 0.009033203125, 0.0185546875, 0.00616455078125, -0.00726318359375, -0.004150390625, -0.00341796875, 0.002532958984375, -0.0121459960937...
[ 100, 2389, 5423, 276, 16069, 62455, 441, 47884, 864, 939, 1657, 40777, 1456, 18781, 164, 12174, 188, 1803, 40956, 188774, 398, 59038, 88, 3190, 109585, 304, 2633, 27167, 2203, 702, 3622, 18, 8096, 4288, 32983, 27089, 9, 670, 919, 79909, ...
[ 0.115478515625, 0.1531982421875, 0.213623046875, 0.0301971435546875, 0.165771484375, 0.09771728515625, 0.08050537109375, 0.1932373046875, 0.046630859375, 0.1422119140625, 0.0693359375, 0.1956787109375, 0.0919189453125, 0.137451171875, 0.1065673828125, 0.249755859375, 0.0841064453125,...
embed
30562361_c1
30562361
fsharp
1
,11): error FS3033: The type provider 'FSharp.Data.Sql.SqlTypeProvider' reported an error: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to al...
,11): error FS3033: The type provider 'FSharp.Data.Sql.SqlTypeProvider' reported an error: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to al...
[ 0.0169677734375, 0.01373291015625, -0.00750732421875, 0.02734375, 0.00034332275390625, 0.01190185546875, -0.0032501220703125, -0.026123046875, -0.0076904296875, -0.05078125, -0.00162506103515625, -0.0189208984375, 0.03076171875, -0.00701904296875, -0.006988525390625, 0.01025390625, -...
[ 48105, 18499, 93774, 1197, 9185, 10644, 81450, 36381, 3467, 254, 137989, 99247, 196707, 177997, 62160, 113771, 33120, 174822, 707, 110527, 159975, 74918, 12960, 137633, 94878, 47, 80866, 22687, 10723, 959, 14037, 81522, 1446, 40383, 9351, 26785, ...
[ 0.1341552734375, 0.1749267578125, 0.148681640625, 0.1209716796875, 0.24267578125, 0.189697265625, 0.205078125, 0.041229248046875, 0.1287841796875, 0.153564453125, 0.09326171875, 0.1441650390625, 0.179443359375, 0.1689453125, 0.134521484375, 0.058380126953125, 0.10986328125, 0.10565...
embed
32553701_c0
32553701
fsharp
0
Title: Functional Programming Exercise Problem title: Functional Programming Exercise Tags: f%23, functional-programming Problem: Functional Programming Exercise As a functional programming exercise, I thought I'd write a little program to rank crafting recipes in an mmo by profitability. In an OO language, I'd make st...
Functional Programming Exercise Functional Programming Exercise f%23 functional-programming Functional Programming Exercise cost:double revenue:double volume:int Functional Programming Exercise As a functional programming exercise, I thought I'd write a little program to rank crafting recipes in an mmo by profitability...
[ 0.0019989013671875, 0.01031494140625, -0.0024261474609375, 0.0033416748046875, -0.0045166015625, -0.0120849609375, -0.006866455078125, -0.007476806640625, 0.01202392578125, 0.0028533935546875, 0.0029296875, 0.002655029296875, 0.001556396484375, -0.002685546875, -0.0101318359375, -0.005...
[ 28670, 10763, 27958, 155534, 289, 1238, 3949, 3742, 123309, 28966, 11034, 21555, 2661, 146295, 21950, 4288, 56037, 81979, 17569, 33022, 10176, 1528, 30648, 131346, 48564, 2866, 31, 390, 18348, 41159, 360, 30563, 46876, 3249, 113857, 36746, 1263...
[ 0.1453857421875, 0.1136474609375, 0.16259765625, 0.1461181640625, 0.0161895751953125, 0.0718994140625, 0.052337646484375, 0.1466064453125, 0.2379150390625, 0.1717529296875, 0.2005615234375, 0.13427734375, 0.117919921875, 0.267333984375, 0.247314453125, 0.1016845703125, 0.15478515625,...
embed
42937873_c0
42937873
fsharp
0
Title: Why does Frame.tryValues fail in this simple example? Problem title: Why does Frame.tryValues fail in this simple example? Tags: deedle, f%23 Problem: Why does Frame.tryValues fail in this simple example? The help for Frame.tryValues has the following: "Given a data frame containing columns of type tryval<'T> , ...
Why does Frame.tryValues fail in this simple example? Why does Frame.tryValues fail in this simple example? deedle f%23 Why Frame.tryValues DateTime Series Frame ObjectSeries row.Get Frame.tryMapRows frame1 frame2 frame3 Why does Frame.tryValues fail in this simple example? The help for Frame.tryValues has the followin...
[ 0.0167236328125, 0.00531005859375, -0.00689697265625, 0.020263671875, -0.020263671875, -0.022216796875, 0.00677490234375, 0.01129150390625, 0.0103759765625, 0.0198974609375, -0.0024261474609375, 0.006988525390625, -0.0162353515625, -0.00165557861328125, 0.009765625, 0.0019989013671875,...
[ 44084, 42557, 13, 15123, 42272, 21049, 35782, 8781, 27781, 8, 297, 133, 1238, 3742, 25512, 70059, 64876, 134549, 138724, 15555, 12724, 123789, 363, 4358, 2053, 3365, 316, 10644, 9790, 1405, 618, 30646, 3525, 1379, 142424, 29481, 32354, 43613,...
[ 0.050628662109375, 0.147216796875, 0.1024169921875, 0.193603515625, 0.16650390625, 0.16943359375, 0.1837158203125, 0.0997314453125, 0.132568359375, 0.048004150390625, 0.11181640625, 0.08001708984375, 0.00469970703125, 0.0914306640625, 0.014007568359375, 0.08056640625, 0.1190185546875...
embed
44799465_c0
44799465
fsharp
0
Title: Expecto FsCheck getting stack overflow exception when generating string Problem title: Expecto FsCheck getting stack overflow exception when generating string Tags: property-based-testing, expecto, fscheck, f%23 Problem: Expecto FsCheck getting stack overflow exception when generating string I'm trying to learn ...
Expecto FsCheck getting stack overflow exception when generating string Expecto FsCheck getting stack overflow exception when generating string property-based-testing expecto fscheck f%23 Expecto FsCheck NameGen Name Arb.generate Gen.where firstName.Length lastName.Length Gen.map Arb.fromGen Arb.convert FsCheckConfig.d...
[ 0.0089111328125, 0.01318359375, -0.01171875, 0.0093994140625, -0.0162353515625, -0.006195068359375, 0.014404296875, -0.023193359375, -0.006317138671875, -0.006927490234375, 0.0126953125, 0.033203125, 0.005584716796875, -0.01129150390625, 0.004547119140625, -0.004119873046875, -0.0082...
[ 60075, 60751, 563, 7, 202567, 177261, 645, 118664, 131527, 12663, 79315, 57266, 77007, 6954, 41206, 31, 1238, 78292, 3742, 15757, 105376, 1172, 48281, 15937, 136913, 163612, 4568, 62346, 11549, 83671, 214810, 140992, 152378, 194583, 74275, 20949,...
[ 0.1563720703125, 0.24169921875, 0.1309814453125, 0.09130859375, 0.281982421875, 0.1534423828125, 0.095458984375, 0.2322998046875, 0.2052001953125, 0.1376953125, 0.1785888671875, 0.166259765625, 0.053466796875, 0.1279296875, 0.1529541015625, 0.05352783203125, 0.059478759765625, 0.20...
embed
29627950_c0
29627950
fsharp
0
Title: Pattern matching based on the function signature Problem title: Pattern matching based on the function signature Tags: f%23, statsd, functional-programming Problem: Pattern matching based on the function signature In F# can you pattern match on a function signature. I want to decorate a number of functions with ...
Pattern matching based on the function signature Pattern matching based on the function signature f%23 statsd functional-programming Pattern WrapFunctionWithPrefix metrics:Metric.Client.IRecorder Environment.MachineName metrics.StartTimer WrapFunction Unknown Pattern matching based on the function signature In F# can y...
[ -0.01300048828125, 0.000278472900390625, -0.01092529296875, -0.008544921875, -0.023681640625, -0.0159912109375, -0.0299072265625, -0.0029144287109375, 0.015869140625, -0.005523681640625, -0.01104736328125, -0.0084228515625, -0.0137939453125, -0.0076904296875, 0.021484375, 0.00860595703...
[ 9876, 22766, 14858, 214, 35509, 98, 70, 32354, 138256, 1238, 3949, 3742, 63841, 71, 123309, 28966, 13631, 97249, 194583, 19273, 55923, 27079, 6696, 150, 80596, 99326, 163612, 126597, 70059, 69723, 360, 563, 4904, 831, 103510, 10, 3444, 122329...
[ 0.196533203125, 0.1783447265625, 0.251708984375, 0.07958984375, 0.140625, 0.10614013671875, 0.0294952392578125, 0.2216796875, 0.268310546875, 0.03948974609375, 0.0068359375, 0.077880859375, 0.1378173828125, 0.1029052734375, 0.1241455078125, 0.0699462890625, 0.121337890625, 0.096435...
embed
5586018_c0
5586018
fsharp
0
Title: Can F# type members reference each other? Problem title: Can F# type members reference each other? Tags: members, f%23 Problem: Can F# type members reference each other? I was wondering if there is a way to let type members reference each other. I would like to write the following program like this: type IDieRol...
Can F# type members reference each other? Can F# type members reference each other? members f%23 Can IDieRoller RollDn RollD6 RollD66 DieRoller Random this.RollDn randomizer.Next this.RollD6 this.RollD66 Can F# type members reference each other? I was wondering if there is a way to let type members reference each other...
[ 0.0185546875, 0.00167083740234375, 0.01470947265625, 0.0091552734375, -0.003692626953125, -0.00102996826171875, -0.000614166259765625, 0.01373291015625, 0.004119873046875, -0.0301513671875, 0.001861572265625, 0.044189453125, 0.0008544921875, 0.01434326171875, 0.02783203125, 0.000587463...
[ 4171, 563, 4904, 10644, 43032, 91067, 12638, 3789, 1238, 3949, 3742, 87, 17048, 211258, 56, 48615, 397, 19, 910, 14604, 622, 39643, 306, 903, 96759, 52825, 81280, 149016, 3917, 2633, 33022, 1528, 51, 2886, 1957, 15400, 123309, 46876, 32354,...
[ 0.09185791015625, 0.11767578125, 0.1943359375, 0.2083740234375, 0.2056884765625, 0.260498046875, 0.0859375, 0.1422119140625, 0.0772705078125, 0.0106201171875, 0.08355712890625, 0.06689453125, 0.1341552734375, 0.1556396484375, 0.08203125, 0.1478271484375, 0.114501953125, 0.035766601...
embed
27379083_c0
27379083
fsharp
0
Title: F# wrapping statements in a do block Problem title: F# wrapping statements in a do block Tags: statements, conventions, f%23, functional-programming Problem: F# wrapping statements in a do block I have a question regarding conventions on using do blocks in F#. Primarily this comes up when working with the .NET l...
F# wrapping statements in a do block F# wrapping statements in a do block statements conventions f%23 functional-programming width:int height:int Bitmap Font Arial Graphics.FromImage gr.Clear Color.White gr.DrawString Brushes.Black PointF F# wrapping statements in a do block I have a question regarding conventions on u...
[ -0.00823974609375, 0.00787353515625, -0.004425048828125, -0.01556396484375, -0.021240234375, 0.004608154296875, 0.01318359375, -0.003509521484375, 0.006591796875, -0.000904083251953125, -0.00185394287109375, -0.007720947265625, -0.0040283203125, -0.0186767578125, 0.01104736328125, 0.01...
[ 563, 4904, 137565, 10366, 63805, 23, 10, 54, 46389, 101805, 1238, 3949, 3742, 123309, 28966, 146984, 4288, 155955, 27774, 62346, 40788, 51626, 189682, 168407, 216960, 4452, 133, 51193, 173473, 81456, 71713, 19528, 114942, 97732, 41097, 919, 965...
[ 0.1478271484375, 0.20654296875, 0.2093505859375, 0.0667724609375, 0.2388916015625, 0.076904296875, 0.0249176025390625, 0.1693115234375, 0.2373046875, 0.18212890625, 0.1029052734375, 0.0229949951171875, 0.1263427734375, 0.169921875, 0.10552978515625, 0.1522216796875, 0.0887451171875, ...
embed
49335833_c0
49335833
fsharp
0
Title: implementing an algorithm to transform a real number to a continued fraction in #F Problem title: implementing an algorithm to transform a real number to a continued fraction in #F Tags: recursion, f%23, continued-fractions Problem: implementing an algorithm to transform a real number to a continued fraction in ...
implementing an algorithm to transform a real number to a continued fraction in #F implementing an algorithm to transform a real number to a continued fraction in #F recursion f%23 continued-fractions float2cfrac implementing an algorithm to transform a real number to a continued fraction in #F i am trying to implement...
[ -0.01165771484375, 0.00174713134765625, 0.0034942626953125, -0.01129150390625, 0.020263671875, -0.0029296875, -0.01531982421875, -0.0128173828125, 0.00982666015625, -0.00145721435546875, -0.018310546875, 0.000484466552734375, -0.01171875, 0.001983642578125, 0.003143310546875, -0.009338...
[ 29479, 234873, 27198, 2773, 14012, 47, 136475, 175921, 468, 919, 10, 195625, 1830, 1238, 3949, 3742, 21917, 257, 304, 132076, 31577, 5844, 32354, 51776, 30646, 7, 5303, 111, 23, 933, 33636, 70, 18811, 696, 33, 7168, 5, 64, 13691, 100761, ...
[ 0.1796875, 0.271728515625, 0.1903076171875, 0.1739501953125, 0.1368408203125, 0.09722900390625, 0.2100830078125, 0.268798828125, 0.021484375, 0.1514892578125, 0.022918701171875, 0.2314453125, 0.0408935546875, 0.082275390625, 0.019805908203125, 0.1685791015625, 0.1822509765625, 0.10...
embed
50915971_c0
50915971
fsharp
0
Title: Trying to filter out values in a sequence that are not in another sequence Problem title: Trying to filter out values in a sequence that are not in another sequence Tags: f%23 Problem: Trying to filter out values in a sequence that are not in another sequence I am trying to filter out values from a sequence, tha...
Trying to filter out values in a sequence that are not in another sequence Trying to filter out values in a sequence that are not in another sequence f%23 Trying StateCsv.GetSample Rows Seq.map row.State Seq.distinct State row:StateCsv Seq.contains StateCsv1.GetSample row.Income row.Family Seq.filter List.ofSeq Trying ...
[ 0.00787353515625, 0.0224609375, -0.0103759765625, 0.01318359375, 0.0036468505859375, -0.01202392578125, -0.01287841796875, 0.0255126953125, 0.006439208984375, -0.00159454345703125, -0.01104736328125, 0.00933837890625, -0.017822265625, 0.0108642578125, -0.016357421875, 0.0108642578125, ...
[ 40858, 46312, 1810, 142424, 40, 944, 3956, 621, 959, 23, 15700, 214, 3949, 3742, 22836, 67756, 126, 5464, 33209, 96190, 503, 864, 62346, 15555, 135206, 441, 98102, 418, 45738, 1191, 120337, 32036, 4390, 4233, 31577, 1295, 18151, 79786, 3597...
[ 0.09881591796875, 0.209716796875, 0.1309814453125, 0.1751708984375, 0.06024169921875, 0.1356201171875, 0.1160888671875, 0.02728271484375, 0.1124267578125, 0.0362548828125, 0.08135986328125, 0.000274658203125, 0.003814697265625, 0.0706787109375, 0.13037109375, 0.205322265625, 0.015045...
embed
66671149_c0
66671149
fsharp
0
Title: Can a .NET 5 project be set up to always build with release configuration? Problem title: Can a .NET 5 project be set up to always build with release configuration? Tags: .net-core, f%23, msbuild, project Problem: Can a .NET 5 project be set up to always build with release configuration? I have a small .NET 5 pr...
Can a .NET 5 project be set up to always build with release configuration? Can a .NET 5 project be set up to always build with release configuration? .net-core f%23 msbuild project Can NET Project Sdk Microsoft.NET.Sdk PropertyGroup OutputType Exe TargetFramework net5.0 ItemGroup Compile Include Program.fs ProjectRefer...
[ -0.02685546875, 0.03369140625, 0.017333984375, -0.01361083984375, 0.004547119140625, -0.032470703125, -0.01904296875, -0.01397705078125, 0.012939453125, 0.0096435546875, 0.006256103515625, 0.0018463134765625, -0.01055908203125, 0.005157470703125, -0.01336669921875, 0.00933837890625, ...
[ 4171, 5, 17777, 190, 13452, 5423, 1257, 11343, 45367, 678, 54452, 180346, 47, 1179, 30854, 3742, 177149, 27331, 159, 5740, 7244, 206984, 205072, 13538, 196707, 5443, 160017, 108386, 2043, 187461, 78426, 15612, 7663, 17447, 69988, 93702, 3454, ...
[ 0.0755615234375, 0.010986328125, 0.1903076171875, 0.196533203125, 0.16455078125, 0.08074951171875, 0.06622314453125, 0.13427734375, 0.20068359375, 0.0919189453125, 0.2054443359375, 0.231689453125, 0.01177978515625, 0.1724853515625, 0.0726318359375, 0.105712890625, 0.189453125, 0.16...
embed