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
5468523_c0
5468523
fsharp
0
Title: not &lt;| doesn&#x27;t work for linq2sql? Problem title: not &lt;| doesn&#x27;t work for linq2sql? Tags: linq-to-sql, f%23 Problem: not <| doesn't work for linq2sql? <@[for i in linq.TrueIncidents -> i.RecTime, i.Name, (if i.Description = null && i.ID.HasValue = false then i.Message else "hello") ] @> works <@[f...
not &lt;| doesn&#x27;t work for linq2sql? not &lt;| doesn&#x27;t work for linq2sql? linq-to-sql f%23 linq2sql linq.TrueIncidents i.RecTime i.Name i.Description i.ID.HasValue i.Message not <| doesn't work for linq2sql? works doesn't work does "not" works inside linq2sql ? or is it a bug ?
[ 0.0206298828125, 0.01806640625, 0.0167236328125, -0.00106048583984375, -0.0238037109375, 0.0145263671875, 0.00148773193359375, -0.00604248046875, -0.00823974609375, -0.0179443359375, -0.0021209716796875, 0.0101318359375, 0.019287109375, 0.0015411376953125, 0.01507568359375, 0.002456665...
[ 959, 1277, 22027, 3768, 18, 4488, 100, 96, 44982, 304, 99247, 188, 7, 1238, 3742, 882, 13, 4153, 36079, 17, 4332, 238, 70059, 163612, 5, 4657, 59478, 7146, 6495, 856, 50770, 6011, 429, 4426, 58745, 43240, 14602, 10869, 46132, 54608 ]
[ 0.260498046875, 0.0794677734375, 0.1480712890625, 0.1246337890625, 0.15087890625, 0.1602783203125, 0.10076904296875, 0.10009765625, 0.2354736328125, 0.2080078125, 0.2269287109375, 0.1728515625, 0.006805419921875, 0.0141754150390625, 0.0914306640625, 0.1199951171875, 0.025894165039062...
embed
5689632_c0
5689632
fsharp
0
Title: Return item at position x in a list Problem title: Return item at position x in a list Tags: f%23, tail-recursion Problem: Return item at position x in a list I was reading this post While or Tail Recursion in F#, what to use when? were several people say that the 'functional way' of doing things is by using map...
Return item at position x in a list Return item at position x in a list f%23 tail-recursion List.head List.tail Return item at position x in a list I was reading this post While or Tail Recursion in F#, what to use when? were several people say that the 'functional way' of doing things is by using maps/folds and higher...
[ -0.016845703125, 0.007659912109375, 0.005889892578125, -0.002899169921875, -0.00958251953125, 0.0167236328125, 0.00157928466796875, -0.004974365234375, 0.01422119140625, -0.037353515625, 0.0301513671875, -0.0133056640625, -0.013916015625, 0.01446533203125, 0.0135498046875, -0.001373291...
[ 173340, 35735, 99, 19069, 1022, 23, 5303, 1238, 3949, 3742, 46741, 107, 48650, 1830, 32036, 31251, 16454, 51404, 707, 1218, 379, 165428, 42, 6889, 563, 4904, 2367, 4527, 3229, 40368, 70, 137175, 3917, 20594, 8966, 17368, 22288, 64, 42822, ...
[ 0.2369384765625, 0.2119140625, 0.1202392578125, 0.2235107421875, 0.145263671875, 0.0789794921875, 0.198486328125, 0.0704345703125, 0.0227203369140625, 0.119873046875, 0.2264404296875, 0.082763671875, 0.1719970703125, 0.102294921875, 0.17138671875, 0.10546875, 0.03558349609375, 0.15...
embed
58034623_c0
58034623
fsharp
0
Title: What is the &#x27;*&#x27; used for in this example? Problem title: What is the &#x27;*&#x27; used for in this example? Tags: f%23 Problem: What is the '*' used for in this example? I am trying to figure out how to design a type for trees in F# and was looking at this thread for some help Tree Representation in F...
What is the &#x27;*&#x27; used for in this example? What is the &#x27;*&#x27; used for in this example? f%23 What Tree Branch Leaf What is the '*' used for in this example? I am trying to figure out how to design a type for trees in F# and was looking at this thread for some help Tree Representation in F# . In it, they...
[ 0.032470703125, -0.007110595703125, 0.0045166015625, 0.0167236328125, 0.0137939453125, 0.0027618408203125, -0.00182342529296875, -0.006256103515625, 0.00640869140625, -0.0234375, 0.005096435546875, -0.0303955078125, 0.00007390975952148438, 0.0064697265625, -0.025634765625, 0.0125732421...
[ 4865, 3768, 1639, 11814, 100, 903, 27781, 74, 1238, 3742, 101344, 21110, 636, 2407, 4331, 10644, 1360, 90, 563, 4904, 130877, 23, 61924, 444, 661, 39933, 17721, 79315, 136, 83, 134598, 54, 35166 ]
[ 0.04180908203125, 0.132080078125, 0.183349609375, 0.0853271484375, 0.05389404296875, 0.0107421875, 0.1429443359375, 0.027374267578125, 0.0204010009765625, 0.060028076171875, 0.2489013671875, 0.07373046875, 0.0172576904296875, 0.0902099609375, 0.104248046875, 0.1317138671875, 0.137817...
embed
37097846_c0
37097846
fsharp
0
Title: How to define F# generic function argument in a generic function? Problem title: How to define F# generic function argument in a generic function? Tags: generics, f%23 Problem: How to define F# generic function argument in a generic function? let getLogicalWithDoubleLevelElement<'E when 'E :> DoubleLevelElement>...
How to define F# generic function argument in a generic function? How to define F# generic function argument in a generic function? generics f%23 How DoubleLevelElement InletPosition OutletPosition Logical How to define F# generic function argument in a generic function? I need logicalModifier to be generic function wi...
[ 0.006866455078125, 0.00714111328125, -0.0004558563232421875, -0.01708984375, 0.0233154296875, -0.0003986358642578125, -0.01043701171875, -0.0263671875, 0.01318359375, -0.0166015625, 0.027587890625, -0.0052490234375, -0.007720947265625, -0.01544189453125, 0.000583648681640625, -0.005035...
[ 11249, 61924, 563, 4904, 189534, 32354, 10750, 47, 23, 1238, 3742, 107172, 5267, 2601, 19929, 360, 1974, 7192, 172, 158542, 13146, 21533, 3871, 62775, 289, 91616, 85789, 186, 678, 10644, 5701, 2046, 113972, 194583, 34, 2661 ]
[ 0.02691650390625, 0.1805419921875, 0.1324462890625, 0.19482421875, 0.232666015625, 0.1724853515625, 0.224609375, 0.013153076171875, 0.0302734375, 0.0611572265625, 0.041900634765625, 0.1160888671875, 0.0232086181640625, 0.1383056640625, 0.10601806640625, 0.05718994140625, 0.1217041015...
embed
17762670_c0
17762670
fsharp
0
Title: Why isn&#x27;t it possible to use the same function twice with differently typed arguments? Problem title: Why isn&#x27;t it possible to use the same function twice with differently typed arguments? Tags: f%23, type-inference, inline Problem: Why isn't it possible to use the same function twice with differently ...
Why isn&#x27;t it possible to use the same function twice with differently typed arguments? Why isn&#x27;t it possible to use the same function twice with differently typed arguments? f%23 type-inference inline Why Why isn't it possible to use the same function twice with differently typed arguments? I played around a ...
[ 0.0027008056640625, -0.0013885498046875, 0.0045166015625, -0.015869140625, 0.0028533935546875, -0.01226806640625, -0.00665283203125, -0.00128173828125, 0.01385498046875, -0.01409912109375, -0.0089111328125, -0.0247802734375, -0.00421142578125, -0.004241943359375, 0.0020294189453125, 0....
[ 44084, 56112, 3768, 18, 7722, 4527, 5701, 32354, 186351, 678, 12921, 10644, 71, 10750, 1238, 3742, 73, 69988, 23, 2256, 112730, 563, 4904, 9969, 1340, 87388, 50960, 22759, 13315, 959, 15044, 13379, 18499, 125195, 4288, 52347, 257 ]
[ 0.07598876953125, 0.07666015625, 0.02001953125, 0.07647705078125, 0.1348876953125, 0.119873046875, 0.1246337890625, 0.1942138671875, 0.2177734375, 0.061126708984375, 0.1531982421875, 0.195068359375, 0.07000732421875, 0.181396484375, 0.049468994140625, 0.0872802734375, 0.0138549804687...
embed
27232736_c0
27232736
fsharp
0
Title: Tuple.Create in F# Problem title: Tuple.Create in F# Tags: f%23, tuples, .net, base-class-library Problem: Tuple.Create in F# I noticed a quite weird behavior of the System.Tuple.Create method in F#. When looking at the MSDN documentation it indicates that the return type is of System.Tuple<T> . However when usi...
Tuple.Create in F# Tuple.Create in F# f%23 tuples .net base-class-library Tuple.Create System.Tuple.Create System.Tuple Tuple Tuple.Create in F# I noticed a quite weird behavior of the System.Tuple.Create method in F#. When looking at the MSDN documentation it indicates that the return type is of System.Tuple<T> . Howe...
[ 0.0257568359375, 0.0028839111328125, 0.01214599609375, 0.0137939453125, 0.00872802734375, -0.025146484375, -0.017333984375, -0.0198974609375, 0.0201416015625, 0.0240478515625, 0.00323486328125, -0.005828857421875, -0.00323486328125, 0.00579833984375, -0.0031890869140625, 0.006744384765...
[ 1371, 8705, 63784, 2182, 563, 4904, 23, 1238, 3742, 370, 99726, 1179, 3647, 67413, 2844, 12353, 15665, 156672, 32233, 179459, 123166, 5, 55300, 16265, 51671, 209806, 442, 30646, 10644, 618, 17368, 756, 645, 63033, 40494, 418, 661, 304, 2325...
[ 0.1441650390625, 0.2135009765625, 0.1917724609375, 0.1077880859375, 0.142578125, 0.1875, 0.031524658203125, 0.04388427734375, 0.061767578125, 0.1304931640625, 0.168701171875, 0.07568359375, 0.0823974609375, 0.06060791015625, 0.01702880859375, 0.11376953125, 0.14208984375, 0.0336303...
embed
10205594_c1
10205594
fsharp
1
solution to my underlying problem: I didn't realize the indentation in the for blocks isn't needed, and the second sample can be re-written as: let xx = seq { for i in [ 1; 2 ] do for j in [ 3; 4 ] do yield (i,j) } ... which gets rid of the ever-increasing indentation when traversing a tree structure. The syntax even ...
solution to my underlying problem: I didn't realize the indentation in the for blocks isn't needed, and the second sample can be re-written as: let xx = seq { for i in [ 1; 2 ] do for j in [ 3; 4 ] do yield (i,j) } ... which gets rid of the ever-increasing indentation when traversing a tree structure. The syntax even ...
[ 0.013916015625, 0.007720947265625, -0.0142822265625, 0.028564453125, 0.01251220703125, -0.00341796875, -0.002044677734375, 0.0125732421875, 0.00726318359375, -0.005279541015625, 0.00396728515625, 0.0167236328125, -0.0140380859375, -0.0191650390625, 0.01904296875, -0.00897216796875, -...
[ 29806, 1379, 538, 2967, 18, 92154, 18597, 22062, 100, 46389, 56112, 44841, 17932, 121413, 831, 456, 5429, 75639, 2633, 113664, 2203, 40, 864, 17, 23, 106, 74, 116, 54, 1647, 138, 201, 11180, 19388, 14, 170, 62163, 31351, 17669, 38893, 1...
[ 0.08251953125, 0.02557373046875, 0.049560546875, 0.08984375, 0.06201171875, 0.07537841796875, 0.2166748046875, 0.1668701171875, 0.1685791015625, 0.20703125, 0.0212860107421875, 0.148681640625, 0.125244140625, 0.2314453125, 0.0251312255859375, 0.078369140625, 0.09912109375, 0.064758...
embed
50934648_c1
50934648
fsharp
1
? I tried to translate, but it got messed, so far I have type IData = inherit INotifyPropertyChanged abstract member ID: Guid with get, set type IEdgeData = inherit IData type IVertex = inherit INotifyPropertyChanged type ISourceVertex = inherit IVertex type ITargetVertex = interface inherit IVertex end Code signals: ...
? I tried to translate, but it got messed, so far I have type IData = inherit INotifyPropertyChanged abstract member ID: Guid with get, set type IEdgeData = inherit IData type IVertex = inherit INotifyPropertyChanged type ISourceVertex = inherit IVertex type ITargetVertex = interface inherit IVertex end Code signals: ...
[ 0.0079345703125, 0.0213623046875, 0.0002994537353515625, 0.006622314453125, 0.005096435546875, 0.0218505859375, -0.003173828125, 0.018798828125, 0.0125732421875, -0.0159912109375, -0.01153564453125, -0.034423828125, -0.00628662109375, -0.0026397705078125, -0.005126953125, 0.01287841796...
[ 705, 87, 37842, 47, 3900, 19309, 1284, 442, 4163, 2409, 5281, 221, 2060, 765, 10644, 137989, 2203, 23, 3334, 217, 5881, 818, 40383, 10752, 1264, 939, 127008, 17704, 164789, 32786, 11338, 6955, 532, 678, 2046, 5423, 75536, 61007, 7610, 56,...
[ 0.0938720703125, 0.1676025390625, 0.0870361328125, 0.052154541015625, 0.180419921875, 0.2205810546875, 0.047515869140625, 0.07342529296875, 0.033111572265625, 0.1376953125, 0.1265869140625, 0.0218658447265625, 0.1204833984375, 0.07684326171875, 0.221435546875, 0.2413330078125, 0.0347...
embed
1902749_c0
1902749
fsharp
0
Title: a timeit function for F# Problem title: a timeit function for F# Tags: .net, f%23 Problem: a timeit function for F# I am trying to write something like let timeit (x:'a->'b) = let start = System.DateTime.Now x let duration = System.DateTime.Now - start printfn "time usage = %A" duration.Milliseconds () it works ...
a timeit function for F# a timeit function for F# .net f%23 System.DateTime.Now duration.Milliseconds n-1 n-2 a timeit function for F# I am trying to write something like it works for but not for sa F# is static typed. Any idea? Thanks.
[ -0.0169677734375, 0.01513671875, 0.0255126953125, -0.0096435546875, -0.00531005859375, -0.0177001953125, -0.00823974609375, 0.0157470703125, 0.00128936767578125, -0.0625, -0.0089111328125, 0.0159912109375, -0.01312255859375, 0.00179290771484375, 0.00133514404296875, -0.002777099609375,...
[ 10, 1733, 217, 32354, 100, 563, 4904, 1179, 1238, 3742, 12353, 86291, 70059, 137594, 115, 30494, 178449, 191633, 653, 5759, 5428, 31577, 33022, 1884, 43240, 1284, 959, 57, 6, 201939, 10644, 71, 6528, 22362 ]
[ 0.08544921875, 0.196533203125, 0.259521484375, 0.2276611328125, 0.1275634765625, 0.1697998046875, 0.2471923828125, 0.150634765625, 0.07025146484375, 0.154052734375, 0.15283203125, 0.10888671875, 0.2266845703125, 0.1708984375, 0.0880126953125, 0.10888671875, 0.1004638671875, 0.22143...
embed
1952114_c0
1952114
fsharp
0
Title: Call a higher order F# function from C# Problem title: Call a higher order F# function from C# Tags: c%23, f%23, delegates Problem: Call a higher order F# function from C# Given the F# higher order function (taking a function in parameter): let ApplyOn2 (f:int->int) = f(2) and the C# function public static int I...
Call a higher order F# function from C# Call a higher order F# function from C# c%23 f%23 delegates C# Call ApplyOn2 f:int Increment Microsoft.FSharp.Core.FSharpFunc Call a higher order F# function from C# Given the F# higher order function (taking a function in parameter): and the C# function How do I call ApplyOn2 wi...
[ 0.009765625, -0.00933837890625, 0.006256103515625, 0.00933837890625, 0.01263427734375, 0.0108642578125, 0.0164794921875, -0.000046253204345703125, 0.020263671875, -0.0208740234375, 0.000843048095703125, -0.0037078857421875, -0.0194091796875, 0.01177978515625, 0.034423828125, -0.0242919...
[ 26265, 77546, 12989, 563, 4904, 32354, 1295, 313, 10, 3742, 1238, 102329, 5659, 538, 20320, 304, 12, 4288, 8942, 107, 674, 7244, 36381, 3467, 254, 50886, 13, 97249, 77878, 70, 1865, 171859, 54, 11782, 678, 237, 161063, 31255, 5, 238, 95...
[ 0.16552734375, 0.1400146484375, 0.1920166015625, 0.139404296875, 0.2197265625, 0.228759765625, 0.11669921875, 0.0706787109375, 0.005401611328125, 0.1136474609375, 0.1243896484375, 0.244873046875, 0.16162109375, 0.185791015625, 0.279052734375, 0.2122802734375, 0.011627197265625, 0.1...
embed
50401770_c1
50401770
fsharp
1
Provider, DBF, ODBC, FSharp.Data.Sql, FSharp.Data.Sql.Runtime, System.IO, Literal, Driver, Microsoft, DriverID, Dbq, Citect, User, NPM, SqlDataProvider, Common.DatabaseProviderTypes.ODBC, Printf.StringFormat, Project, schema.dataContext, Directory.GetDirectories, SearchOption.AllDirectories, Array.find, d.Contains, sch...
Provider, DBF, ODBC, FSharp.Data.Sql, FSharp.Data.Sql.Runtime, System.IO, Literal, Driver, Microsoft, DriverID, Dbq, Citect, User, NPM, SqlDataProvider, Common.DatabaseProviderTypes.ODBC, Printf.StringFormat, Project, schema.dataContext, Directory.GetDirectories, SearchOption.AllDirectories, Array.find, d.Contains, sch...
[ 0.006622314453125, 0.024658203125, 0.00872802734375, 0.0233154296875, 0.0034027099609375, 0.0031585693359375, -0.00921630859375, -0.0272216796875, 0.0201416015625, 0.0037078857421875, -0.005401611328125, 0.0164794921875, -0.00836181640625, -0.033203125, -0.01416015625, -0.0027618408203...
[ 123089, 42, 4, 391, 82350, 34687, 24318, 93774, 3467, 254, 5, 137989, 99247, 163321, 6032, 12353, 17780, 135940, 141, 131470, 7244, 7146, 864, 71758, 24762, 53400, 20266, 177997, 62160, 151301, 37382, 196707, 43740, 39754, 420, 71713, 102973, ...
[ 0.2452392578125, 0.131103515625, 0.04022216796875, 0.063232421875, 0.25439453125, 0.144287109375, 0.2288818359375, 0.0687255859375, 0.1881103515625, 0.1923828125, 0.018890380859375, 0.1517333984375, 0.216552734375, 0.0673828125, 0.08148193359375, 0.1138916015625, 0.2008056640625, 0...
embed
38008869_c0
38008869
fsharp
0
Title: F# tuples into function parameters Problem title: F# tuples into function parameters Tags: currying, f%23, parameters, tuples Problem: F# tuples into function parameters Is there any way to convert tuple into separate parameters and put them to function instead of binding to variables? Something like let nice fu...
F# tuples into function parameters F# tuples into function parameters currying f%23 parameters tuples funOf5 tupleOf5 Tuple.toParameters number1 number2 number3 number4 number5 F# tuples into function parameters Is there any way to convert tuple into separate parameters and put them to function instead of binding to va...
[ -0.01043701171875, -0.00408935546875, 0.011474609375, 0.00799560546875, -0.003997802734375, -0.0003032684326171875, -0.00052642822265625, -0.0022430419921875, 0.01043701171875, -0.033203125, 0.0006561279296875, 0.005218505859375, -0.004547119140625, 0.028076171875, 0.006591796875, -0.0...
[ 563, 4904, 370, 99726, 3934, 32354, 171859, 198555, 214, 1238, 3949, 3742, 7477, 132887, 758, 8705, 1371, 188, 55292, 29089, 7, 363, 617, 2685, 2499, 3917, 47, 96760, 84797, 136, 3884, 64457, 6, 128239, 77336, 1884, 22362, 5 ]
[ 0.13720703125, 0.20166015625, 0.169189453125, 0.2420654296875, 0.135986328125, 0.2216796875, 0.248291015625, 0.1441650390625, 0.027069091796875, 0.08740234375, 0.037353515625, 0.1282958984375, 0.098876953125, 0.0789794921875, 0.1356201171875, 0.230224609375, 0.12548828125, 0.096679...
embed
11618640_c0
11618640
fsharp
0
Title: how does the compiler treat extending a record Problem title: how does the compiler treat extending a record Tags: f%23 Problem: how does the compiler treat extending a record Does the compiler create a new location in memory when a record is extended (deep copy?) or does the compiler make the record mutable and...
how does the compiler treat extending a record how does the compiler treat extending a record f%23 MyRecord how does the compiler treat extending a record Does the compiler create a new location in memory when a record is extended (deep copy?) or does the compiler make the record mutable and modify the value? For examp...
[ 0.007476806640625, 0.006195068359375, 0.008544921875, 0.03369140625, 0.004791259765625, -0.02294921875, -0.0242919921875, 0.0048828125, 0.0177001953125, -0.003936767578125, 0.01300048828125, 0.0118408203125, 0.0234375, 0.0089111328125, 0.01068115234375, -0.02294921875, 0.007476806640...
[ 3642, 14602, 9969, 34759, 85689, 65042, 214, 17164, 70, 1238, 3742, 2646, 4332, 32271, 10, 28282, 3525, 31913, 98323, 3229, 123041, 43658, 707, 3249, 842, 22819, 2811, 40383, 34292, 645, 199332, 434, 18781, 23718, 50509 ]
[ 0.07061767578125, 0.0260162353515625, 0.1678466796875, 0.2061767578125, 0.1947021484375, 0.21875, 0.0933837890625, 0.229248046875, 0.024566650390625, 0.043731689453125, 0.0760498046875, 0.0943603515625, 0.03143310546875, 0.217529296875, 0.00335693359375, 0.0997314453125, 0.0657348632...
embed
23681982_c0
23681982
fsharp
0
Title: Get access to httponly cookies with canopy Problem title: Get access to httponly cookies with canopy Tags: f%23, canopy-web-testing, cookies Problem: Get access to httponly cookies with canopy I need to clean session cookies during canopy tests. I dont see any way to do it documentation. Currently I managed to g...
Get access to httponly cookies with canopy Get access to httponly cookies with canopy f%23 canopy-web-testing cookies Get core.browser.Manage Cookies OpenQA.Selenium.Remote.RemoteCookieJar Get access to httponly cookies with canopy I need to clean session cookies during canopy tests. I dont see any way to do it documen...
[ -0.024658203125, 0.0262451171875, -0.0240478515625, 0.0027923583984375, -0.000675201416015625, -0.0093994140625, -0.0032958984375, 0.00860595703125, -0.005706787109375, -0.0025787353515625, -0.004425048828125, 0.0264892578125, -0.006256103515625, -0.00131988525390625, 0.0201416015625, ...
[ 20779, 17203, 1621, 191, 538, 4136, 678, 831, 2146, 53, 3742, 14051, 6954, 56458, 215725, 12662, 4588, 29637, 13527, 72898, 1018, 53208, 432, 67, 146318, 1375, 147, 3871, 46622, 56002, 20271, 109921, 209806, 145755, 13319, 3714, 87388, 9332, ...
[ 0.02630615234375, 0.1533203125, 0.228515625, 0.142822265625, 0.122314453125, 0.257568359375, 0.072509765625, 0.1199951171875, 0.1937255859375, 0.1671142578125, 0.0149383544921875, 0.06402587890625, 0.1392822265625, 0.1463623046875, 0.1322021484375, 0.0953369140625, 0.06756591796875, ...
embed
60345058_c0
60345058
fsharp
0
Title: how to use transactions in F# using StackExchange.Redis Problem title: how to use transactions in F# using StackExchange.Redis Tags: f%23, redis, transactions, stackexchange.redis Problem: how to use transactions in F# using StackExchange.Redis I'm looking for a simple F# example to do something like this: db.St...
how to use transactions in F# using StackExchange.Redis how to use transactions in F# using StackExchange.Redis f%23 redis transactions stackexchange.redis StackExchange.Redis db.StringSet RedisKey.op_Implicit RedisValue.op_Implicit how to use transactions in F# using StackExchange.Redis I'm looking for a simple F# exa...
[ -0.0201416015625, -0.004486083984375, -0.01165771484375, -0.01068115234375, 0.00341796875, 0.00125885009765625, -0.0184326171875, -0.0004100799560546875, -0.0019989013671875, -0.0032806396484375, 0.011474609375, 0.046630859375, 0.0179443359375, -0.00543212890625, -0.01495361328125, 0.0...
[ 3642, 47, 4527, 124161, 7, 23, 563, 4904, 17368, 6512, 2594, 19279, 152028, 80852, 164, 1238, 3949, 3742, 4842, 177261, 3355, 107, 3827, 40041, 71713, 294, 126, 6096, 162429, 2146, 128878, 60923, 856, 50770, 8781, 27781, 54, 1884, 903, 46...
[ 0.0650634765625, 0.0289154052734375, 0.1446533203125, 0.239013671875, 0.090087890625, 0.05743408203125, 0.130859375, 0.18896484375, 0.041748046875, 0.112548828125, 0.072021484375, 0.074951171875, 0.1436767578125, 0.1513671875, 0.1796875, 0.0743408203125, 0.00341796875, 0.0889892578...
embed
46432442_c0
46432442
fsharp
0
Title: F# function arguments type annotation not working Problem title: F# function arguments type annotation not working Tags: arguments, f%23, function, type-annotation Problem: F# function arguments type annotation not working I want to have a specific type for an argument in a F# function: type NewType = string*int...
F# function arguments type annotation not working F# function arguments type annotation not working arguments f%23 function type-annotation NewType arg1:NewType F# function arguments type annotation not working I want to have a specific type for an argument in a F# function: I want the type of the function to be: But t...
[ 0.00390625, -0.0177001953125, 0.003448486328125, 0.005462646484375, 0.0115966796875, 0.00994873046875, -0.0225830078125, 0.002349853515625, -0.005523681640625, 0.01031494140625, 0.021484375, -0.00787353515625, -0.01312255859375, 0.017578125, 0.0019073486328125, -0.00341796875, 0.0189...
[ 563, 4904, 32354, 10750, 7, 10644, 8668, 22062, 959, 20697, 1238, 3949, 3742, 11071, 2356, 196707, 79459, 82825, 46568, 3444, 765, 29458, 100, 70, 47, 186, 4966, 5608, 22, 50930, 418 ]
[ 0.135498046875, 0.195556640625, 0.1624755859375, 0.2216796875, 0.0243682861328125, 0.2100830078125, 0.1790771484375, 0.096435546875, 0.06646728515625, 0.1361083984375, 0.0755615234375, 0.01385498046875, 0.1241455078125, 0.1495361328125, 0.1142578125, 0.25927734375, 0.11669921875, 0...
embed
41859172_c0
41859172
fsharp
0
Title: multiple field validation using F# (inside an azure function) Problem title: multiple field validation using F# (inside an azure function) Tags: azure-functions, f%23 Problem: multiple field validation using F# (inside an azure function) I have an azure function based on the http post template. I expanded the js...
multiple field validation using F# (inside an azure function) multiple field validation using F# (inside an azure function) azure-functions f%23 F# multiple field validation using F# (inside an azure function) I have an azure function based on the http post template. I expanded the json from 1 prop to 3. What is the be...
[ 0.0023956298828125, -0.004852294921875, 0.00311279296875, 0.010986328125, -0.003204345703125, -0.01611328125, 0.0145263671875, -0.0037994384765625, 0.01153564453125, 0.031982421875, 0.0101318359375, 0.01275634765625, 0.0205078125, -0.01025390625, 0.019775390625, 0.01446533203125, 0.0...
[ 48716, 44457, 44622, 1363, 17368, 563, 4904, 8752, 295, 3408, 32354, 137175, 1238, 3949, 3742, 35509, 1621, 1305, 110934, 71062, 1647, 1681, 106, 25793, 47, 1031, 2965, 12765, 100, 56574, 36880, 756, 17262, 36836, 38137, 8705 ]
[ 0.2008056640625, 0.222412109375, 0.229248046875, 0.0279083251953125, 0.02398681640625, 0.08642578125, 0.155517578125, 0.0689697265625, 0.1334228515625, 0.228759765625, 0.16015625, 0.177978515625, 0.0625, 0.0149688720703125, 0.0987548828125, 0.046966552734375, 0.0965576171875, 0.081...
embed
11903595_c0
11903595
fsharp
0
Title: Is there an open source F# Tree data structure? Problem title: Is there an open source F# Tree data structure? Tags: f%23, immutability, tree Problem: Is there an open source F# Tree data structure? I need a simple tree like this, with all the fixings - type 'a Tree = | Leaf of 'a | Branch of 'a Tree list There'...
Is there an open source F# Tree data structure? Is there an open source F# Tree data structure? f%23 immutability tree Tree Leaf Branch Is there an open source F# Tree data structure? I need a simple tree like this, with all the fixings - There's got to be something like this available already with nice add, remove, ma...
[ 0.025390625, 0.0128173828125, -0.00750732421875, -0.01116943359375, 0.0191650390625, 0.005035400390625, -0.00168609619140625, -0.017822265625, 0.006103515625, -0.0498046875, 0.00018787384033203125, -0.006744384765625, 0.002532958984375, 0.0050048828125, 0.01116943359375, 0.011840820312...
[ 2071, 2685, 142, 9803, 31344, 563, 4904, 101344, 2053, 45646, 32, 1238, 3949, 3742, 566, 14311, 41159, 53201, 636, 2407, 21110, 206, 3871, 8781, 1884, 903, 678, 756, 30022, 5180, 4163, 186, 9844, 19882, 21771, 26267, 15190, 87388, 22288, ...
[ 0.0318603515625, 0.058258056640625, 0.045501708984375, 0.1578369140625, 0.1767578125, 0.135009765625, 0.231689453125, 0.28515625, 0.163330078125, 0.2415771484375, 0.00006103515625, 0.09014892578125, 0.005889892578125, 0.12353515625, 0.07659912109375, 0.167724609375, 0.1014404296875, ...
embed
52857636_c0
52857636
fsharp
0
Title: How to count files in the FileSystem Problem title: How to count files in the FileSystem Tags: f%23 Problem: How to count files in the FileSystem FileSystem = [Dir ("Dir3",[]); Dir ("Dir1",[Dir ("Dir2",[])])] Let's suppose that this is my FileSystem. I want to count the number of files in that FileSystem recursi...
How to count files in the FileSystem How to count files in the FileSystem f%23 How FileSystem Dir Dir3 Dir1 Dir2 Element File How to count files in the FileSystem Let's suppose that this is my FileSystem. I want to count the number of files in that FileSystem recursively. Can someone guide me through this? I could not ...
[ 0.01336669921875, 0.01031494140625, -0.00506591796875, 0.01275634765625, -0.0037994384765625, 0.004547119140625, -0.016357421875, -0.01123046875, -0.00396728515625, -0.0269775390625, 0.0078125, -0.0157470703125, 0.00750732421875, 0.036376953125, -0.004913330078125, 0.00061798095703125,...
[ 11249, 47, 54529, 102158, 23, 70, 42724, 84293, 1238, 3949, 3742, 19946, 363, 418, 304, 48325, 139124, 759, 3444, 14012, 195625, 5844, 4171, 17997, 209806, 6713, 2646, 45646, 1884, 36917 ]
[ 0.050689697265625, 0.06866455078125, 0.212646484375, 0.2154541015625, 0.104248046875, 0.042633056640625, 0.1666259765625, 0.219970703125, 0.0253753662109375, 0.025054931640625, 0.10150146484375, 0.061798095703125, 0.08905029296875, 0.0182037353515625, 0.049774169921875, 0.1046142578125...
embed
23072821_c0
23072821
fsharp
0
Title: F# Async Map different types Problem title: F# Async Map different types Tags: asynchronous, f%23, functional-programming Problem: F# Async Map different types Is there some way to do the following using f#? let expr0:Async<int> = get0... let expr1:Async<string> = get1... //please pretend that this compiles let ...
F# Async Map different types F# Async Map different types asynchronous f%23 functional-programming Async Map expr0:Async get0 expr1:Async get1 finalFuture:Async Async.Map2 expr0 expr1 v0:int v1:string final:string Async.RunSynchronously F# Async Map different types Is there some way to do the following using f#?
[ -0.004669189453125, -0.0078125, -0.0123291015625, 0.00250244140625, -0.01104736328125, 0.0014495849609375, -0.01019287109375, -0.0018768310546875, 0.0079345703125, -0.0003643035888671875, -0.0019683837890625, -0.006805419921875, 0.0142822265625, 0.007659912109375, 0.01409912109375, -0....
[ 563, 4904, 62, 12654, 238, 42719, 12921, 52895, 10, 101966, 1238, 3742, 123309, 28966, 14700, 42, 2389, 2046, 2704, 80163, 6644, 166179, 81, 4288, 91693, 163321, 217835, 127, 1900, 3060, 3917, 54, 25632, 17368 ]
[ 0.1365966796875, 0.1844482421875, 0.0325927734375, 0.2099609375, 0.0660400390625, 0.2027587890625, 0.1278076171875, 0.18798828125, 0.012664794921875, 0.15087890625, 0.1153564453125, 0.11376953125, 0.114501953125, 0.0958251953125, 0.043304443359375, 0.034088134765625, 0.05392456054687...
embed
64589217_c0
64589217
fsharp
0
Title: Let bindings to one function Problem title: Let bindings to one function Tags: let, function, f%23, binding, tuples Problem: Let bindings to one function So, I can't figure out how you make 2 let bindings to the same function result (tuple) in FSharp. For example, if I have a function: Play() whose output is (x,...
Let bindings to one function Let bindings to one function let function f%23 binding tuples Play Let bindings to one function So, I can't figure out how you make 2 let bindings to the same function result (tuple) in FSharp. For example, if I have a function: Play() whose output is (x,y) . And i wanna use x and y in anot...
[ -0.0081787109375, -0.005615234375, -0.0025634765625, 0.0205078125, 0.00823974609375, 0.0274658203125, 0.009033203125, -0.005950927734375, 0.021728515625, -0.0400390625, -0.00836181640625, 0.01531982421875, -0.0106201171875, 0.020263671875, 0.0125732421875, 0.004852294921875, -0.00439...
[ 10842, 128239, 7, 47, 1632, 32354, 2633, 1238, 3949, 3742, 370, 99726, 11356, 26366, 3642, 3249, 116, 5701, 16750, 458, 8705, 23, 93774, 3467, 254, 132, 140992, 53, 6165, 76, 4527, 136, 113, 15700, 33022, 51042, 186351, 10422, 4734, 11675...
[ 0.1954345703125, 0.257080078125, 0.098876953125, 0.14794921875, 0.139404296875, 0.2191162109375, 0.2271728515625, 0.09814453125, 0.0457763671875, 0.179931640625, 0.121826171875, 0.2005615234375, 0.2064208984375, 0.03192138671875, 0.0201568603515625, 0.09674072265625, 0.173583984375, ...
embed
4203560_c1
4203560
fsharp
1
that somehow results in that error message. Using an explicit cast results in a reasonable error message - but it doesn't work either. Using a runtime cast works - but only for strings, ints fail with an exception (nasty). I'm trying to interoperate with other .NET code; that's why I need specific IEnumerable types. W...
that somehow results in that error message. Using an explicit cast results in a reasonable error message - but it doesn't work either. Using a runtime cast works - but only for strings, ints fail with an exception (nasty). I'm trying to interoperate with other .NET code; that's why I need specific IEnumerable types. W...
[ -0.002777099609375, 0.01251220703125, -0.0101318359375, 0.0135498046875, 0.009521484375, 0.0020294189453125, -0.0230712890625, 0.00165557861328125, 0.0030364990234375, 0.003204345703125, 0.0026092529296875, -0.02001953125, 0.001922607421875, 0.012939453125, -0.00151824951171875, -0.018...
[ 450, 209303, 50339, 18499, 26008, 345, 143726, 37702, 169022, 18, 4488, 11675, 6032, 43240, 79315, 23, 933, 35782, 131527, 76, 8946, 21473, 17777, 18151, 3871, 29458, 75536, 2606, 56, 2886, 52895, 46622, 525, 12601, 93766, 3917, 176050, 552, ...
[ 0.050384521484375, 0.05535888671875, 0.0660400390625, 0.144775390625, 0.1038818359375, 0.032196044921875, 0.135498046875, 0.2041015625, 0.1080322265625, 0.0111083984375, 0.05023193359375, 0.043060302734375, 0.108154296875, 0.05670166015625, 0.137451171875, 0.0716552734375, 0.12524414...
embed
10617364_c2
10617364
fsharp
2
: OutOfMemoryException, IBaseClass, IChildClass1, IChildClass2, IChildClass3, IChildClass4, IChildClass5, IChildClass6, IChildClass7, IChildClass8, IChildClass9, IChildClass10, IChildClass11, IChildClass12, IChildClass13, IChildClass14, IChildClass15, IChildClass16, IChildClass17, IChildClass18, IChildClass19, IChildCl...
: OutOfMemoryException, IBaseClass, IChildClass1, IChildClass2, IChildClass3, IChildClass4, IChildClass5, IChildClass6, IChildClass7, IChildClass8, IChildClass9, IChildClass10, IChildClass11, IChildClass12, IChildClass13, IChildClass14, IChildClass15, IChildClass16, IChildClass17, IChildClass18, IChildClass19, IChildCl...
[ -0.0002651214599609375, 0.0068359375, -0.038330078125, 0.007293701171875, 0.01507568359375, 0.0126953125, 0.00927734375, 0.0054931640625, 0.019775390625, 0.0322265625, 0.007415771484375, -0.00396728515625, 0.00014972686767578125, 0.01904296875, -0.0125732421875, -0.02001953125, 0.007...
[ 152, 13538, 132887, 6696, 4514, 53, 19279, 63928, 4, 88874, 6991, 140803, 69010, 102656, 418, 304, 363, 617, 758, 910, 966, 1019, 1126, 963, 1662, 1530, 2681, 2592, 1837, 2485, 2489, 1819, 2947, 1549, 15901, 647, 71723, 3164, 90, 123829 ]
[ 0.1751708984375, 0.224365234375, 0.28173828125, 0.1771240234375, 0.21435546875, 0.141357421875, 0.145751953125, 0.2447509765625, 0.1395263671875, 0.1837158203125, 0.2294921875, 0.2890625, 0.1507568359375, 0.244873046875, 0.158935546875, 0.139892578125, 0.1435546875, 0.157470703125,...
embed
29322892_c0
29322892
fsharp
0
Title: Parsing &quot;x y z&quot; with the precedence of multiply Problem title: Parsing &quot;x y z&quot; with the precedence of multiply Tags: f%23, fparsec Problem: Parsing "x y z" with the precedence of multiply I'm trying to write a parser for the Mathematica language in F# using FParsec. I have written one for a M...
Parsing &quot;x y z&quot; with the precedence of multiply Parsing &quot;x y z&quot; with the precedence of multiply f%23 fparsec Parsing Parsing "x y z" with the precedence of multiply I'm trying to write a parser for the Mathematica language in F# using FParsec. I have written one for a MiniML that supports the syntax...
[ 0.004608154296875, 0.004852294921875, -0.005767822265625, 0.037841796875, -0.0091552734375, 0.013916015625, 0.0264892578125, -0.0146484375, 0.01263427734375, -0.0255126953125, 0.016845703125, 0.00726318359375, -0.01806640625, -0.0101318359375, 0.00701904296875, 0.015625, -0.007507324...
[ 2392, 6953, 425, 113, 97, 678, 107671, 6620, 111, 6024, 62479, 1238, 3742, 2500, 39797, 31577, 33022, 366, 2189, 123426, 88875, 46876, 563, 4904, 28636, 59121, 13468, 39456, 8060, 6002, 86531, 1022, 2203, 420, 53, 11192, 32354, 38415, 3871,...
[ 0.1656494140625, 0.0858154296875, 0.1324462890625, 0.2181396484375, 0.215576171875, 0.08935546875, 0.1629638671875, 0.119873046875, 0.0506591796875, 0.136474609375, 0.2203369140625, 0.1102294921875, 0.1099853515625, 0.076904296875, 0.2059326171875, 0.03643798828125, 0.05181884765625,...
embed
28777848_c0
28777848
fsharp
0
Title: F# Async.Map not found Problem title: F# Async.Map not found Tags: f%23, onvif Problem: F# Async.Map not found I have source from http://sourceforge.net/p/onvifdm/code/HEAD/tree/ When I try to build this solution, I get the following issue in the onvif.utils project. use! response = request.AsyncGetResponse() |>...
F# Async.Map not found F# Async.Map not found f%23 onvif Async.Map onvif.utils request.AsyncGetResponse HttpWebResponse Error Method Map Working onvifdm-code-96-trunk OdmSession.fs F# Async.Map not found I have source from http://sourceforge.net/p/onvifdm/code/HEAD/tree/ When I try to build this solution, I get the fol...
[ -0.027587890625, 0.0208740234375, 0.0299072265625, -0.01953125, -0.0213623046875, 0.000698089599609375, -0.0089111328125, 0.005645751953125, 0.00006008148193359375, -0.01904296875, -0.00244140625, -0.01239013671875, 0.0009002685546875, 0.00982666015625, 0.019287109375, -0.0033111572265...
[ 563, 4904, 62, 12654, 238, 166179, 959, 14037, 5, 1238, 3949, 3742, 98, 686, 420, 1003, 7870, 50336, 284, 94399, 30474, 212059, 74644, 42719, 27985, 39, 40899, 11648, 79099, 2365, 294, 90, 6889, 17447, 31344, 60427, 2472, 429, 64, 191, ...
[ 0.12451171875, 0.189208984375, 0.07257080078125, 0.240234375, 0.1334228515625, 0.242919921875, 0.1038818359375, 0.16943359375, 0.0159454345703125, 0.10015869140625, 0.023651123046875, 0.13427734375, 0.1497802734375, 0.1485595703125, 0.1485595703125, 0.09716796875, 0.119873046875, 0...
embed
9253622_c0
9253622
fsharp
0
Title: Programmatically disassemble CIL Problem title: Programmatically disassemble CIL Tags: metaprogramming, f%23, c%23, .net Problem: Programmatically disassemble CIL I can compile instructions to bytecode and even execute them easily but the only function I have found to extract CIL is GetILAsByteArray and, as the ...
Programmatically disassemble CIL Programmatically disassemble CIL metaprogramming f%23 c%23 .net Programmatically CIL GetILAsByteArray Programmatically disassemble CIL I can compile instructions to bytecode and even execute them easily but the only function I have found to extract CIL is GetILAsByteArray and, as the na...
[ 0.0019989013671875, -0.00299072265625, -0.006500244140625, 0.0233154296875, -0.009033203125, 0.009521484375, -0.00958251953125, 0.01031494140625, -0.0201416015625, -0.04052734375, 0.00469970703125, 0.0211181640625, -0.027587890625, 0.01470947265625, -0.00970458984375, 0.0047607421875, ...
[ 27958, 257, 71407, 2837, 93457, 313, 16444, 23550, 28966, 1238, 3742, 1179, 20779, 39037, 7, 75358, 67, 7614, 7092, 831, 9969, 1340, 167934, 47, 390, 40899, 3853, 71924, 72546, 1284, 4734, 32354, 765, 14037, 125663, 9351, 35388, 1660, 30646...
[ 0.15185546875, 0.1142578125, 0.09283447265625, 0.13330078125, 0.24267578125, 0.1549072265625, 0.2459716796875, 0.1514892578125, 0.1552734375, 0.0224456787109375, 0.0372314453125, 0.1533203125, 0.1243896484375, 0.130615234375, 0.07470703125, 0.127685546875, 0.09503173828125, 0.11889...
embed
19698641_c1
19698641
fsharp
1
is to force nextThread to run the method when it's waken up by adding nextThread.Running just before (D). By this wait, there's some collision occurred with the thread itself. Is there any way I could make the waiting thread to execute the following code when it wakes up? Code signals: Test, BUNCH, MEMBERS, MAIN, ONE,...
is to force nextThread to run the method when it's waken up by adding nextThread.Running just before (D). By this wait, there's some collision occurred with the thread itself. Is there any way I could make the waiting thread to execute the following code when it wakes up? Code signals: Test, BUNCH, MEMBERS, MAIN, ONE,...
[ 0.006256103515625, 0.00616455078125, 0.01531982421875, 0.011962890625, -0.01220703125, 0.01202392578125, -0.0033416748046875, -0.0118408203125, -0.004364013671875, -0.0145263671875, 0.0009613037109375, 0.023193359375, -0.0213623046875, -0.006256103515625, -0.0108642578125, 0.0064392089...
[ 83, 37772, 11737, 20800, 39116, 11675, 55300, 3229, 9908, 19, 1257, 154107, 163321, 592, 8108, 397, 40485, 61770, 6889, 74918, 86997, 68034, 3917, 5809, 3249, 89289, 47, 71924, 25632, 18151, 7, 28864, 26073, 8647, 183486, 108582, 48026, 31261...
[ 0.009124755859375, 0.17529296875, 0.173095703125, 0.05865478515625, 0.2117919921875, 0.16357421875, 0.1641845703125, 0.09576416015625, 0.1837158203125, 0.0655517578125, 0.166748046875, 0.08563232421875, 0.144287109375, 0.1116943359375, 0.0889892578125, 0.0572509765625, 0.213134765625...
embed
48652923_c1
48652923
fsharp
1
-3.4.3/library/stats/libs/x64/stats.dll': LoadLibrary failure: The specified module could not be found. I have tried reinstalling R and swapping the stats.dll in the C:/Program Files/R/R-3.4.3/library/stats/libs/x64/ and C:\Program Files\R\R-3.4.3\library\stats\libs\i386 directories but this simply results in a "not a ...
-3.4.3/library/stats/libs/x64/stats.dll': LoadLibrary failure: The specified module could not be found. I have tried reinstalling R and swapping the stats.dll in the C:/Program Files/R/R-3.4.3/library/stats/libs/x64/ and C:\Program Files\R\R-3.4.3\library\stats\libs\i386 directories but this simply results in a "not a ...
[ 0.0135498046875, 0.00787353515625, 0.004913330078125, -0.0130615234375, -0.01263427734375, 0.008544921875, 0.005645751953125, -0.007537841796875, -0.0096435546875, 0.0113525390625, 0.007415771484375, -0.00009489059448242188, 0.00201416015625, -0.0184326171875, 0.0294189453125, -0.00878...
[ 172508, 40061, 150, 2844, 17346, 5612, 13307, 7, 71, 1181, 2091, 712, 104820, 3701, 53, 137578, 58735, 297, 88996, 5809, 959, 14037, 37842, 80383, 627, 68062, 63841, 5, 148968, 42724, 1052, 8316, 158406, 105742, 14364, 50339, 10869, 10, 356...
[ 0.158935546875, 0.134521484375, 0.011871337890625, 0.0841064453125, 0.218017578125, 0.08349609375, 0.1820068359375, 0.106689453125, 0.0594482421875, 0.176513671875, 0.1517333984375, 0.098388671875, 0.1878662109375, 0.1455078125, 0.039459228515625, 0.18603515625, 0.124267578125, 0.0...
embed
33569326_c0
33569326
fsharp
0
Title: Implement F# libraries for consumption by TypeScript/Javascript? Problem title: Implement F# libraries for consumption by TypeScript/Javascript? Tags: websharper, typescript, f%23, funscript Problem: Implement F# libraries for consumption by TypeScript/Javascript? I know there are a number of projects which can ...
Implement F# libraries for consumption by TypeScript/Javascript? Implement F# libraries for consumption by TypeScript/Javascript? websharper typescript f%23 funscript Implement TypeScript Javascript Implement F# libraries for consumption by TypeScript/Javascript? I know there are a number of projects which can compile ...
[ -0.0023651123046875, 0.024658203125, -0.01519775390625, -0.01202392578125, -0.004241943359375, -0.0024566650390625, -0.016357421875, 0.01434326171875, -0.01531982421875, 0.024169921875, 0.00567626953125, -0.01385498046875, -0.00408935546875, 0.0279541015625, 0.0234375, 0.00411987304687...
[ 153941, 563, 4904, 35773, 10484, 100, 18588, 254, 390, 60457, 147845, 64, 156202, 32032, 1467, 89280, 1264, 10644, 1238, 3742, 7477, 74181, 14012, 77635, 831, 9969, 1340, 47, 17925, 8060, 4527, 7225, 168698, 38415, 23, 1284, 32562, 2831, 12...
[ 0.208740234375, 0.172119140625, 0.2373046875, 0.2071533203125, 0.1038818359375, 0.041168212890625, 0.1507568359375, 0.06494140625, 0.048583984375, 0.234619140625, 0.24365234375, 0.00189208984375, 0.15234375, 0.2041015625, 0.06842041015625, 0.1572265625, 0.142578125, 0.16455078125, ...
embed
9810055_c0
9810055
fsharp
0
Title: What is wrong with this simple F# block? Problem title: What is wrong with this simple F# block? Tags: f%23 Problem: What is wrong with this simple F# block? I have a test in C# that looks like this: public void CanLog() { ModUnderTest.Log.Info("HI"); } This C# code throws a Null Reference exception saying that ...
What is wrong with this simple F# block? What is wrong with this simple F# block? f%23 What CanLog ModUnderTest.Log.Info ModUnderTest.Log ModUnderTest Log log4net.LogManager.GetLogger What is wrong with this simple F# block? I have a test in C# that looks like this: This C# code throws a Null Reference exception saying...
[ -0.0013275146484375, 0.02587890625, -0.00604248046875, -0.001068115234375, 0.01220703125, 0.004364013671875, 0.0179443359375, 0.00153350830078125, 0.007080078125, -0.01190185546875, -0.004180908203125, 0.017333984375, -0.00153350830078125, -0.010986328125, 0.01336669921875, -0.00964355...
[ 4865, 83, 44691, 678, 903, 8781, 563, 4904, 46389, 1238, 3742, 4171, 113972, 16269, 7944, 111337, 93147, 1062, 13146, 12684, 617, 1179, 12662, 33730, 1505, 3034, 313, 33342, 1884, 3293, 18151, 104250, 1429, 1181, 215996, 131527, 56574, 70, ...
[ 0.03131103515625, 0.0179443359375, 0.1451416015625, 0.07275390625, 0.0628662109375, 0.1334228515625, 0.099853515625, 0.1900634765625, 0.1624755859375, 0.059783935546875, 0.1058349609375, 0.118408203125, 0.1712646484375, 0.146240234375, 0.2235107421875, 0.2132568359375, 0.115600585937...
embed
62984190_c0
62984190
fsharp
0
Title: how to catch a failwith with nUnit in F#? Problem title: how to catch a failwith with nUnit in F#? Tags: nunit, f%23 Problem: how to catch a failwith with nUnit in F#? let's assume I have this code: let a () = failwith "I want to fail!" and then I have a nUnit test: Assert.Throws(fun () -> a() |> ignore) the tes...
how to catch a failwith with nUnit in F#? how to catch a failwith with nUnit in F#? nunit f%23 Assert.Throws how to catch a failwith with nUnit in F#? let's assume I have this code: and then I have a nUnit test: the test will return: How can I test cases where I have an expected failwith situation? There are a few ques...
[ 0.004058837890625, 0.0162353515625, -0.0008697509765625, -0.000782012939453125, 0.002655029296875, -0.01507568359375, 0.0245361328125, -0.005523681640625, 0.00142669677734375, -0.007537841796875, -0.0030059814453125, 0.023193359375, -0.0203857421875, -0.0126953125, 0.02392578125, -0.01...
[ 3642, 47, 105556, 10, 35782, 76228, 678, 653, 85600, 18, 23, 563, 4904, 4124, 217, 1238, 3949, 3742, 33657, 15555, 41591, 18151, 3034, 30646, 50218, 84751, 16648, 131527, 35166, 7225 ]
[ 0.039215087890625, 0.0235443115234375, 0.199462890625, 0.08203125, 0.1741943359375, 0.253662109375, 0.08087158203125, 0.1185302734375, 0.22900390625, 0.11474609375, 0.045013427734375, 0.112548828125, 0.18603515625, 0.10528564453125, 0.1273193359375, 0.0726318359375, 0.02288818359375,...
embed
40793296_c0
40793296
fsharp
0
Title: Sleep for x seconds before running next operation Problem title: Sleep for x seconds before running next operation Tags: asynchronous, f%23, sleep Problem: Sleep for x seconds before running next operation I have been trying in various ways to make my program sleep for 10 seconds before running the next line of ...
Sleep for x seconds before running next operation Sleep for x seconds before running next operation asynchronous f%23 sleep Sleep this.SetContentView Resource_Layout.Main System.Timers.Timer timer.Start Resource_Layout.next Sleep for x seconds before running next operation I have been trying in various ways to make my ...
[ 0.020263671875, 0.01214599609375, -0.01409912109375, 0.0042724609375, -0.00823974609375, -0.005096435546875, 0.01806640625, -0.0048828125, 0.0024871826171875, -0.046142578125, 0.0189208984375, -0.0062255859375, -0.0206298828125, -0.00872802734375, 0.008544921875, 0.01239013671875, 0....
[ 132140, 100, 1022, 94131, 8108, 51042, 11737, 41018, 10, 12654, 101966, 1238, 3949, 3742, 60268, 903, 294, 126, 25352, 100474, 152055, 53, 6056, 168793, 12353, 152704, 1314, 70059, 42, 21991, 126597, 29062, 31577, 67842, 3249, 1528, 209, 1331...
[ 0.2327880859375, 0.09423828125, 0.1317138671875, 0.221435546875, 0.1187744140625, 0.0947265625, 0.101318359375, 0.147216796875, 0.0295562744140625, 0.0623779296875, 0.1053466796875, 0.0732421875, 0.08233642578125, 0.1656494140625, 0.2369384765625, 0.10498046875, 0.0211334228515625, ...
embed
44563293_c0
44563293
fsharp
0
Title: FSharp Charting change data point label font size Problem title: FSharp Charting change data point label font size Tags: charts, fsharpchart, f%23 Problem: FSharp Charting change data point label font size Using F# Charting I am able to change axis label font sizes with chart |> Chart.WithArea.AxisX(LabelStyle =...
FSharp Charting change data point label font size FSharp Charting change data point label font size charts fsharpchart f%23 FSharp Charting Chart.WithArea.AxisX LabelStyle Chart.Line Chart.WithDataPointLables Label FSharp Charting change data point label font size Using F# Charting I am able to change axis label font s...
[ 0.005096435546875, -0.0177001953125, -0.004913330078125, -0.02197265625, -0.00177001953125, -0.01531982421875, 0.0218505859375, 0.00872802734375, 0.002471923828125, 0.033203125, -0.00177001953125, -0.021240234375, -0.0033416748046875, 0.002899169921875, 0.029541015625, 0.0184326171875,...
[ 93774, 3467, 254, 110373, 214, 15549, 2053, 6275, 67967, 12401, 13267, 116287, 1238, 89280, 9254, 3742, 194583, 1283, 33102, 1542, 129214, 209480, 93232, 137989, 147534, 19736, 563, 4904, 19048, 10, 678, 959, 3917, 7, 75935, 36917, 3714, 903 ...
[ 0.061767578125, 0.1446533203125, 0.147216796875, 0.164306640625, 0.0726318359375, 0.16259765625, 0.11279296875, 0.15380859375, 0.2298583984375, 0.18017578125, 0.1492919921875, 0.1839599609375, 0.05682373046875, 0.137451171875, 0.138916015625, 0.087890625, 0.018463134765625, 0.02540...
embed
12715470_c0
12715470
fsharp
0
Title: How to make a generic Array.sumPair which mimic Array.sum? Problem title: How to make a generic Array.sumPair which mimic Array.sum? Tags: inline, f%23 Problem: How to make a generic Array.sumPair which mimic Array.sum? I would like to sum up an ('a* 'b) array let inline sumPair (array: ('a * 'b)[]) = let array1...
How to make a generic Array.sumPair which mimic Array.sum? How to make a generic Array.sumPair which mimic Array.sum? inline f%23 How Array.sumPair Array.sum array1 array2 Array.unzip How to make a generic Array.sumPair which mimic Array.sum? I would like to sum up an ('a* 'b) array Clearly this is not ideal. I think m...
[ -0.0128173828125, 0.016845703125, 0.0038299560546875, 0.0225830078125, -0.0098876953125, -0.0020751953125, -0.014404296875, -0.00080108642578125, 0.020263671875, -0.02490234375, 0.0045166015625, 0.01068115234375, -0.00830078125, -0.00885009765625, -0.007049560546875, -0.021728515625, ...
[ 11249, 47, 3249, 189534, 69253, 53, 11832, 8335, 481, 3129, 324, 21068, 5, 23, 2256, 1238, 3949, 3742, 10298, 418, 304, 309, 50836, 2806, 1884, 10554, 1257, 11, 1639, 275, 6397, 3917, 61924, 997, 136, 45234, 370, 8705, 4527, 88303, 5714...
[ 0.095947265625, 0.03070068359375, 0.127685546875, 0.24951171875, 0.1719970703125, 0.11962890625, 0.262451171875, 0.213134765625, 0.19921875, 0.03765869140625, 0.1693115234375, 0.1824951171875, 0.035308837890625, 0.018646240234375, 0.107666015625, 0.048614501953125, 0.03228759765625, ...
embed
65638164_c0
65638164
fsharp
0
Title: how to wait on a cancellation token AND an EventWaitHandle at the same time, in F#? Problem title: how to wait on a cancellation token AND an EventWaitHandle at the same time, in F#? Tags: f%23, waithandle, cancellationtokensource Problem: how to wait on a cancellation token AND an EventWaitHandle at the same ti...
how to wait on a cancellation token AND an EventWaitHandle at the same time, in F#? how to wait on a cancellation token AND an EventWaitHandle at the same time, in F#? f%23 waithandle cancellationtokensource EventWaitHandle cancellationToken.WaitHandle.WaitOne waitHandle.WaitOne how to wait on a cancellation token AND ...
[ 0.0157470703125, 0.01708984375, -0.007720947265625, -0.02001953125, -0.022705078125, -0.01324462890625, 0.00299072265625, -0.0037841796875, 0.00506591796875, -0.044189453125, 0.0145263671875, 0.00787353515625, 0.00408935546875, -0.001800537109375, -0.000316619873046875, -0.015258789062...
[ 3642, 47, 40485, 98, 126136, 1363, 1098, 48762, 36943, 22489, 217, 135679, 133, 5701, 563, 4904, 1238, 3742, 79628, 6448, 60427, 7763, 62068, 142, 3917, 70163, 6626, 124519, 30441, 96276, 5117, 2633, 71924, 1830, 86608, 21342, 4171, 16940 ]
[ 0.07269287109375, 0.1011962890625, 0.2447509765625, 0.10455322265625, 0.236083984375, 0.07958984375, 0.1514892578125, 0.1732177734375, 0.1309814453125, 0.15869140625, 0.0966796875, 0.1541748046875, 0.0921630859375, 0.1226806640625, 0.1085205078125, 0.16259765625, 0.03253173828125, ...
embed
27600770_c0
27600770
fsharp
0
Title: Find distance between list&#x27;s elements Problem title: Find distance between list&#x27;s elements Tags: f%23 Problem: Find distance between list's elements I have a list of numbers and want to get the list of distances between the numbers. For example: [1; 3; 8; 10; 12] → [2; 5; 2; 2] Here is my code: let rec...
Find distance between list&#x27;s elements Find distance between list&#x27;s elements f%23 Find List.length List.head List.tail List.append Find distance between list's elements I have a list of numbers and want to get the list of distances between the numbers. For example: Here is my code: I am just wondering if there...
[ -0.00439453125, 0.0167236328125, 0.0164794921875, 0.0179443359375, 0.004486083984375, 0.01373291015625, -0.014404296875, 0.018310546875, 0.0057373046875, -0.03125, 0.01177978515625, -0.01287841796875, 0.00323486328125, 0.0213623046875, -0.0125732421875, 0.00872802734375, 0.0290527343...
[ 26040, 62488, 17721, 5303, 3768, 80854, 1238, 3742, 32036, 23986, 927, 31251, 46741, 9007, 3611, 7, 87, 765, 111, 101935, 3444, 47, 2046, 27781, 11853, 759, 18151, 149016, 11522, 29806 ]
[ 0.1488037109375, 0.25927734375, 0.2071533203125, 0.2215576171875, 0.096435546875, 0.20361328125, 0.111083984375, 0.10015869140625, 0.2008056640625, 0.07000732421875, 0.056365966796875, 0.1226806640625, 0.1739501953125, 0.0718994140625, 0.04681396484375, 0.10406494140625, 0.0196380615...
embed
61974924_c0
61974924
fsharp
0
Title: Tail-recursive programs in F# Problem title: Tail-recursive programs in F# Tags: f%23, f%23-interactive Problem: Tail-recursive programs in F# Hi I am trying to do this exercise but can't quite figure it out. I am given the following code in F# type A<’a> = | D of ’a * bool | E of A<’a> * A<’a> let rec g acc x =...
Tail-recursive programs in F# Tail-recursive programs in F# f%23 f%23-interactive Tail-recursive a::acc Tail-recursive programs in F# Hi I am trying to do this exercise but can't quite figure it out. I am given the following code in F# The exercise is now to argue if g is a tail-recursive function or not and to provide...
[ 0.01519775390625, 0.01336669921875, 0.01007080078125, -0.0037689208984375, 0.023193359375, 0.0201416015625, -0.0263671875, -0.012451171875, 0.013427734375, -0.0079345703125, 0.0234375, -0.0037994384765625, -0.014404296875, -0.005035400390625, 0.0247802734375, 0.00238037109375, 0.0191...
[ 1218, 379, 9, 107, 48650, 5844, 103391, 23, 563, 4904, 1238, 3742, 27495, 10433, 71232, 10, 10060, 31577, 81979, 32233, 26366, 1810, 34475, 25632, 18151, 83, 5036, 187, 6261, 2174, 706, 46741, 32354, 707, 959, 22691, 21635, 9454, 77007, 2...
[ 0.198974609375, 0.185302734375, 0.068603515625, 0.1458740234375, 0.216552734375, 0.143310546875, 0.1904296875, 0.040496826171875, 0.142578125, 0.208740234375, 0.036102294921875, 0.0831298828125, 0.0706787109375, 0.0789794921875, 0.0380859375, 0.05963134765625, 0.043701171875, 0.025...
embed
62110245_c0
62110245
fsharp
0
Title: FsReveal Line Highlighting Problem title: FsReveal Line Highlighting Tags: f%23, reveal.js, fsreveal Problem: FsReveal Line Highlighting I am trying to highlight lines in an FsReveal presentation. I want to show all the lines then in the next step highlight line 3. I know this is possible in Reveal.js but I am n...
FsReveal Line Highlighting FsReveal Line Highlighting f%23 reveal.js fsreveal FsReveal Line Highlighting Chicken reveal.js FsReveal Line Highlighting I am trying to highlight lines in an FsReveal presentation. I want to show all the lines then in the next step highlight line 3. I know this is possible in Reveal.js but ...
[ -0.01708984375, -0.0086669921875, -0.0159912109375, 0.000782012939453125, 0.0032196044921875, -0.00958251953125, 0.0211181640625, 0.002777099609375, -0.0033111572265625, 0.006195068359375, -0.0184326171875, 0.022216796875, -0.01470947265625, 0.01025390625, -0.0015411376953125, 0.001586...
[ 563, 7, 4332, 272, 289, 16777, 132951, 214, 1238, 3742, 122273, 28175, 76874, 197527, 31577, 127308, 124519, 92252, 3444, 7639, 756, 11737, 29954, 13315, 1031, 7722, 110230, 4527, 37842, 175399, 141377, 50960, 7108, 118201, 45831, 237, 3638, ...
[ 0.1207275390625, 0.046661376953125, 0.058807373046875, 0.192626953125, 0.12109375, 0.193603515625, 0.2298583984375, 0.03961181640625, 0.0828857421875, 0.0968017578125, 0.1922607421875, 0.1522216796875, 0.09124755859375, 0.1705322265625, 0.030548095703125, 0.2076416015625, 0.178222656...
embed
38714583_c0
38714583
fsharp
0
Title: What is the syntax for resolving Thenable&lt;&#x27;t&gt; in F# using fable? Problem title: What is the syntax for resolving Thenable&lt;&#x27;t&gt; in F# using fable? Tags: fable-f%23, visual-studio-code, vscode-extensions, f%23 Problem: What is the syntax for resolving Thenable<'t> in F# using fable? I'm workin...
What is the syntax for resolving Thenable&lt;&#x27;t&gt; in F# using fable? What is the syntax for resolving Thenable&lt;&#x27;t&gt; in F# using fable? fable-f%23 visual-studio-code vscode-extensions f%23 fable What Thenable What is the syntax for resolving Thenable<'t> in F# using fable? I'm working on a vscode extens...
[ -0.006256103515625, -0.00011682510375976562, -0.0023193359375, 0.0179443359375, 0.007232666015625, -0.01055908203125, -0.003448486328125, 0.01434326171875, 0.0054931640625, -0.007415771484375, 0.0089111328125, 0.0036163330078125, -0.013427734375, 0.0084228515625, 0.00909423828125, -0.0...
[ 6002, 86531, 166996, 449, 47009, 2886, 3768, 18, 5386, 563, 4904, 17368, 1071, 2661, 420, 3742, 21176, 52629, 40899, 20209, 3355, 128872, 1238, 4865, 100, 23, 20697, 111938, 9969, 136951, 52455, 31470, 30646, 103036, 52895, 91693, 27781, 5941...
[ 0.1395263671875, 0.22705078125, 0.2003173828125, 0.100341796875, 0.1917724609375, 0.2371826171875, 0.04229736328125, 0.1505126953125, 0.064208984375, 0.129150390625, 0.1661376953125, 0.0675048828125, 0.1470947265625, 0.154296875, 0.0171356201171875, 0.0233917236328125, 0.109741210937...
embed
22252640_c0
22252640
fsharp
0
Title: Strongly typed matrices in F# Problem title: Strongly typed matrices in F# Tags: f%23, matrix Problem: Strongly typed matrices in F# Is it possible to create a wrapper over the F# PowerPack matrix library to create strongly typed matrices and vectors? What I mean is I want to store the dimentionality of the matr...
Strongly typed matrices in F# Strongly typed matrices in F# f%23 matrix Strongly Matrix Strongly typed matrices in F# Is it possible to create a wrapper over the F# PowerPack matrix library to create strongly typed matrices and vectors? What I mean is I want to store the dimentionality of the matrix/vector in the type ...
[ 0.00811767578125, 0.00982666015625, 0.0186767578125, 0.009033203125, 0.0172119140625, -0.0191650390625, -0.02978515625, -0.005859375, -0.0009918212890625, -0.0006561279296875, -0.032958984375, -0.01409912109375, 0.00121307373046875, -0.00885009765625, -0.0223388671875, 0.00087738037109...
[ 200537, 538, 10644, 50944, 5170, 563, 4904, 1238, 3742, 194234, 7722, 28282, 137565, 1264, 645, 17170, 205956, 35773, 37515, 71, 136, 22834, 22230, 3444, 4343, 1055, 43315, 425, 272, 18770, 68034, 151313, 32354, 16690, 6024, 62479, 116, 678, ...
[ 0.1558837890625, 0.107177734375, 0.2005615234375, 0.1634521484375, 0.078125, 0.1182861328125, 0.192138671875, 0.06719970703125, 0.130126953125, 0.1708984375, 0.08685302734375, 0.126220703125, 0.1341552734375, 0.138427734375, 0.058929443359375, 0.1082763671875, 0.1934814453125, 0.09...
embed
29077352_c0
29077352
fsharp
0
Title: F#: Difference between Dictionary, Hashtable and Map Problem title: F#: Difference between Dictionary, Hashtable and Map Tags: f%23 Problem: F#: Difference between Dictionary, Hashtable and Map I am new to .NET programming. Sorry if this question has been asked before. I am currently learning F#. What are the di...
F#: Difference between Dictionary, Hashtable and Map F#: Difference between Dictionary, Hashtable and Map f%23 Difference Dictionary Hashtable Map F#: Difference between Dictionary, Hashtable and Map I am new to .NET programming. Sorry if this question has been asked before. I am currently learning F#. What are the dif...
[ 0.00933837890625, 0.00164794921875, 0.01141357421875, -0.0098876953125, -0.016845703125, -0.01153564453125, -0.00104522705078125, -0.00323486328125, 0.006622314453125, 0.004638671875, -0.0059814453125, 0.000835418701171875, 0.004547119140625, 0.0283203125, 0.0189208984375, 0.0117797851...
[ 563, 4904, 12, 803, 18234, 6620, 17721, 147638, 4, 162087, 22819, 136, 42719, 1238, 3949, 3742, 444, 3525, 47, 5, 17777, 56037, 449, 90502, 9655, 82424, 52080, 4865, 60212, 7, 14847, 5608, 4527, 12638, 62, 12654, 238, 163321, 217835, 127,...
[ 0.1402587890625, 0.211669921875, 0.0068359375, 0.0897216796875, 0.171630859375, 0.1087646484375, 0.1148681640625, 0.26416015625, 0.042083740234375, 0.2020263671875, 0.275634765625, 0.08349609375, 0.2459716796875, 0.0174407958984375, 0.010406494140625, 0.06439208984375, 0.003112792968...
embed
79324447_c1
79324447
fsharp
1
a non-generic type in later code for type inference like "do x" or if you still want type-dependent results, you can define 'b' as a function instead by doing either: - Add a unit parameter like "let x()" - Write explicit type parameters like "let x<'a>". This error is because a let binding without parameters defines ...
a non-generic type in later code for type inference like "do x" or if you still want type-dependent results, you can define 'b' as a function instead by doing either: - Add a unit parameter like "let x()" - Write explicit type parameters like "let x<'a>". This error is because a let binding without parameters defines ...
[ -0.00982666015625, 0.0185546875, 0.007110595703125, -0.00421142578125, 0.00872802734375, 0.023681640625, -0.00439453125, -0.027587890625, 0.01318359375, 0.01531982421875, -0.01470947265625, -0.01019287109375, 0.001983642578125, -0.0047607421875, 0.011474609375, 0.00518798828125, 0.01...
[ 351, 79446, 1771, 10644, 14432, 18151, 53498, 6620, 246, 1022, 3444, 181063, 50339, 831, 61924, 275, 237, 32354, 64457, 20594, 29117, 25072, 171859, 1974, 143726, 11, 18499, 2633, 128239, 15490, 34292, 959, 190060, 53418, 189534, 6637, 16454, ...
[ 0.119873046875, 0.1361083984375, 0.054534912109375, 0.2188720703125, 0.051544189453125, 0.1380615234375, 0.1572265625, 0.0260162353515625, 0.06146240234375, 0.081298828125, 0.0498046875, 0.15380859375, 0.1270751953125, 0.00933837890625, 0.186279296875, 0.1578369140625, 0.04638671875,...
embed
39065724_c0
39065724
fsharp
0
Title: Using statically resolved type parameters is it possible to call class method with curried arguments? Problem title: Using statically resolved type parameters is it possible to call class method with curried arguments? Tags: f%23 Problem: Using statically resolved type parameters is it possible to call class met...
Using statically resolved type parameters is it possible to call class method with curried arguments? Using statically resolved type parameters is it possible to call class method with curried arguments? f%23 Using Test t.A Using statically resolved type parameters is it possible to call class method with curried argum...
[ -0.0167236328125, -0.0140380859375, 0.0224609375, 0.007568359375, -0.01312255859375, -0.00982666015625, -0.009521484375, 0.0031890869140625, 0.0026397705078125, -0.03515625, -0.00372314453125, -0.017822265625, 0.01220703125, 0.0101318359375, -0.00124359130859375, -0.03662109375, -0.0...
[ 13254, 71407, 103608, 71, 10644, 171859, 7722, 11782, 18507, 55300, 678, 9709, 46572, 10750, 345, 6953, 83, 442, 1238, 3949, 3742, 8647, 808, 284, 36917, 53418, 7413, 32786, 707, 36746, 9774, 18770, 62, 2071, 4488 ]
[ 0.1678466796875, 0.09375, 0.165283203125, 0.01202392578125, 0.1767578125, 0.1728515625, 0.1337890625, 0.148193359375, 0.2056884765625, 0.1656494140625, 0.054718017578125, 0.1248779296875, 0.2119140625, 0.1976318359375, 0.0225067138671875, 0.0010986328125, 0.016021728515625, 0.00503...
embed
40580766_c0
40580766
fsharp
0
Title: F# jagged array assignment Problem title: F# jagged array assignment Tags: jagged-arrays, f%23 Problem: F# jagged array assignment I am getting strange behavior - when I assign a single value to a jagged array, it changes values of the entire column. let testArray = Array.create 5 (Array.create 5 nan) testArray....
F# jagged array assignment F# jagged array assignment jagged-arrays f%23 Array.create F# jagged array assignment I am getting strange behavior - when I assign a single value to a jagged array, it changes values of the entire column. The code above, instead of changing the value of a single cell, changes the value of th...
[ 0.01483154296875, 0.006103515625, -0.01007080078125, 0.003753662109375, -0.001983642578125, 0.00189208984375, 0.009765625, -0.00152587890625, 0.0086669921875, 0.0400390625, -0.0031890869140625, 0.028564453125, -0.0036773681640625, -0.01025390625, -0.00445556640625, -0.01275634765625, ...
[ 563, 4904, 79, 134229, 10298, 53, 95486, 19305, 4778, 1238, 3742, 69253, 7612, 674, 20949, 114453, 123166, 11001, 34292, 47, 442, 65572, 142424, 111, 64194, 3365, 316, 19, 18151, 36917, 64457, 151134, 38750 ]
[ 0.1064453125, 0.1766357421875, 0.1680908203125, 0.22998046875, 0.168212890625, 0.1192626953125, 0.2086181640625, 0.1353759765625, 0.0767822265625, 0.082275390625, 0.04083251953125, 0.134033203125, 0.081298828125, 0.050994873046875, 0.010833740234375, 0.1165771484375, 0.1314697265625,...
embed
34814380_c0
34814380
fsharp
0
Title: Is it possible to define the length of a list in F#? Problem title: Is it possible to define the length of a list in F#? Tags: list, arrays, f%23 Problem: Is it possible to define the length of a list in F#? For example, I define a record as: type a = {b : float; c: int list} but I already know that this list mu...
Is it possible to define the length of a list in F#? Is it possible to define the length of a list in F#? list arrays f%23 Is it possible to define the length of a list in F#? For example, I define a record as: but I already know that this list must be of a predefined size, let's say 2 and if the list is not 2 it would...
[ -0.00107574462890625, 0.0074462890625, -0.000843048095703125, 0.0128173828125, 0.0091552734375, -0.00933837890625, -0.0205078125, 0.0198974609375, 0.0205078125, 0.0016632080078125, -0.0036163330078125, 0.0017852783203125, 0.0023193359375, 0.0032501220703125, 0.01025390625, -0.001502990...
[ 2071, 442, 7722, 47, 61924, 70, 140909, 111, 10, 5303, 23, 563, 4904, 10298, 4778, 1238, 3742, 17164, 237, 21771, 3714, 8110, 186, 1653, 13, 5983, 13267, 116, 959, 12921, 10644, 18499, 96276, 46876, 38415, 190659, 53 ]
[ 0.041107177734375, 0.032470703125, 0.1776123046875, 0.035125732421875, 0.2415771484375, 0.058837890625, 0.22314453125, 0.09710693359375, 0.03155517578125, 0.2318115234375, 0.0953369140625, 0.16064453125, 0.23291015625, 0.0989990234375, 0.0654296875, 0.07177734375, 0.0902099609375, ...
embed
22380131_c0
22380131
fsharp
0
Title: Pattern matching multiple variables Problem title: Pattern matching multiple variables Tags: f%23, pattern-matching, tuples Problem: Pattern matching multiple variables I'm new to F# and haven't seen anywhere how to do the following correctly let fun1 a b = match a b with | a + b > 0 -> fun2 | a + b < 0 -> fun3 ...
Pattern matching multiple variables Pattern matching multiple variables f%23 pattern-matching tuples Pattern fun1 fun2 fun3 Pattern matching multiple variables I'm new to F# and haven't seen anywhere how to do the following correctly I have to do this with pattern matching—for homework—but I don't know how to do it cor...
[ -0.004669189453125, -0.00238037109375, -0.00616455078125, 0.0120849609375, -0.00885009765625, 0.001190185546875, -0.00921630859375, 0.006744384765625, 0.0166015625, 0.00518798828125, 0.00677490234375, 0.004669189453125, -0.0038909912109375, 0.003173828125, 0.00830078125, -0.01684570312...
[ 9876, 22766, 14858, 214, 48716, 77336, 1238, 3949, 3742, 103510, 98753, 370, 99726, 7477, 418, 304, 363, 3525, 563, 4904, 54, 25632, 26785, 903, 678, 2472, 5368, 18244, 3714, 17569, 4527, 28960, 18, 4488, 172337 ]
[ 0.1727294921875, 0.14111328125, 0.2294921875, 0.1036376953125, 0.1741943359375, 0.2010498046875, 0.057403564453125, 0.060302734375, 0.1016845703125, 0.21142578125, 0.2144775390625, 0.119140625, 0.168701171875, 0.1182861328125, 0.0113525390625, 0.042022705078125, 0.114990234375, 0.0...
embed
74770391_c0
74770391
fsharp
0
Title: How to print function argument name that was used to call this function in F# Problem title: How to print function argument name that was used to call this function in F# Tags: f%23 Problem: How to print function argument name that was used to call this function in F# How can I print argument function name that ...
How to print function argument name that was used to call this function in F# How to print function argument name that was used to call this function in F# f%23 How System System.Threading.Tasks Task Hey How to print function argument name that was used to call this function in F# How can I print argument function name...
[ 0.01434326171875, 0.00201416015625, 0.006927490234375, 0.0296630859375, 0.0010833740234375, -0.0037841796875, 0.00009775161743164062, 0.0113525390625, -0.0166015625, 0.00567626953125, 0.01513671875, -0.017822265625, -0.011962890625, 0.001953125, 0.0108642578125, -0.01055908203125, -0...
[ 11249, 47, 28412, 32354, 10750, 9351, 450, 509, 11814, 11782, 903, 563, 4904, 23, 1238, 3742, 12353, 39116, 9874, 1042, 9598, 92, 28240, 831, 87 ]
[ 0.062103271484375, 0.08758544921875, 0.2239990234375, 0.2105712890625, 0.261962890625, 0.193115234375, 0.0576171875, 0.0770263671875, 0.14306640625, 0.141845703125, 0.08526611328125, 0.1363525390625, 0.2139892578125, 0.0758056640625, 0.06280517578125, 0.120849609375, 0.04733276367187...
embed
40332957_c0
40332957
fsharp
0
Title: How to create a custom renderer in F# for Xamarin.Forms Problem title: How to create a custom renderer in F# for Xamarin.Forms Tags: customization, xamarin.forms, f%23 Problem: How to create a custom renderer in F# for Xamarin.Forms I don't know where to place this line: [<assembly: ExportRenderer (typeof<Transi...
How to create a custom renderer in F# for Xamarin.Forms How to create a custom renderer in F# for Xamarin.Forms customization xamarin.forms f%23 How Xamarin.Forms ExportRenderer TransitoCDMX.Main.FbLoginPage FbLoginPageRenderer How to create a custom renderer in F# for Xamarin.Forms I don't know where to place this lin...
[ 0.00506591796875, 0.0196533203125, -0.0120849609375, 0.01953125, -0.0242919921875, 0.00628662109375, 0.0177001953125, -0.006805419921875, 0.00179290771484375, -0.02197265625, 0.0084228515625, -0.019287109375, 0.0106201171875, -0.01708984375, -0.00064849853515625, -0.000797271728515625,...
[ 11249, 28282, 114122, 79516, 42, 563, 4904, 8606, 44503, 102973, 10, 23, 100, 178036, 2459, 5037, 1238, 3742, 134456, 1052, 23894, 56, 162774, 88939, 168793, 113972, 147101, 3714, 3687, 903, 13315, 360, 313, 442, 56104, 158012, 8108, 210716, ...
[ 0.02166748046875, 0.1314697265625, 0.2030029296875, 0.21826171875, 0.164306640625, 0.1060791015625, 0.185302734375, 0.1392822265625, 0.20166015625, 0.2003173828125, 0.0093994140625, 0.032867431640625, 0.03271484375, 0.1668701171875, 0.1180419921875, 0.186767578125, 0.058868408203125,...
embed
2920955_c0
2920955
fsharp
0
Title: Do you know of a good F# and C# interop example available? Problem title: Do you know of a good F# and C# interop example available? Tags: visual-studio-2010, f%23, database, c%23, backgroundworker Problem: Do you know of a good F# and C# interop example available? I am going to write a C# WinForms application w...
Do you know of a good F# and C# interop example available? Do you know of a good F# and C# interop example available? visual-studio-2010 f%23 database c%23 backgroundworker visual-studio-2010 Do you know of a good F# and C# interop example available? I am going to write a C# WinForms application which will run a long d...
[ 0.0255126953125, 0.0162353515625, -0.009521484375, -0.0042724609375, 0.0010833740234375, 0.0133056640625, -0.007354736328125, -0.01300048828125, 0.00732421875, -0.0380859375, 0.0069580078125, -0.0038909912109375, -0.005584716796875, 0.0225830078125, -0.005645751953125, 0.00049972534179...
[ 3714, 4127, 563, 4904, 136, 313, 1940, 2146, 27781, 19882, 21176, 52629, 73552, 1238, 3742, 63399, 76615, 18244, 56, 33022, 17686, 102973, 7, 38415, 11675, 4989, 2053, 47913, 19, 66211, 26828, 64330, 108259, 7639, 42658, 109816, 25267, 77679,...
[ 0.048431396484375, 0.09906005859375, 0.1297607421875, 0.2349853515625, 0.10009765625, 0.0704345703125, 0.1519775390625, 0.2149658203125, 0.2252197265625, 0.081298828125, 0.152099609375, 0.1546630859375, 0.14306640625, 0.0364990234375, 0.039703369140625, 0.08587646484375, 0.1158447265...
embed
48606276_c0
48606276
fsharp
0
Title: How to get signature of type in FSharp interactive? Problem title: How to get signature of type in FSharp interactive? Tags: f%23-interactive, f%23 Problem: How to get signature of type in FSharp interactive? When I define a type in fsi, I get a signature like the following: > type UserInfo = { firstName: string...
How to get signature of type in FSharp interactive? How to get signature of type in FSharp interactive? f%23-interactive f%23 How FSharp UserInfo How to get signature of type in FSharp interactive? When I define a type in fsi, I get a signature like the following: Is there a way to get this signature within fsi at some...
[ -0.000732421875, -0.0017852783203125, 0.00506591796875, 0.0107421875, -0.023193359375, 0.0011749267578125, -0.00836181640625, 0.021240234375, -0.01123046875, -0.0194091796875, -0.0125732421875, 0.01458740234375, -0.0166015625, -0.00250244140625, 0.01708984375, 0.0177001953125, -0.005...
[ 11249, 47, 2046, 138256, 111, 10644, 23, 93774, 3467, 254, 212398, 1238, 27495, 10433, 71232, 3742, 53400, 93147, 61924, 172, 10, 1884, 25632, 3917, 903, 28032, 43581, 43701, 18811 ]
[ 0.055511474609375, 0.055267333984375, 0.103515625, 0.226806640625, 0.1585693359375, 0.24072265625, 0.05499267578125, 0.07666015625, 0.153564453125, 0.177978515625, 0.20263671875, 0.06793212890625, 0.05987548828125, 0.0679931640625, 0.0665283203125, 0.03271484375, 0.10986328125, 0.1...
embed
26815135_c0
26815135
fsharp
0
Title: Why are enum-style unions treated as a class in C#? Problem title: Why are enum-style unions treated as a class in C#? Tags: clr, discriminated-union, enums, f%23, c%23 Problem: Why are enum-style unions treated as a class in C#? I realize that discriminated unions are not necessarily the same as enums. But in t...
Why are enum-style unions treated as a class in C#? Why are enum-style unions treated as a class in C#? clr discriminated-union enums f%23 c%23 Why Colors Red Green Blue Why are enum-style unions treated as a class in C#? I realize that discriminated unions are not necessarily the same as enums. But in the case of thes...
[ 0.004058837890625, -0.0023651123046875, 0.00150299072265625, -0.006591796875, -0.004852294921875, 0.015869140625, -0.005767822265625, -0.00012874603271484375, 0.00604248046875, 0.037109375, -0.005035400390625, 0.0030059814453125, 0.0181884765625, 0.00958251953125, -0.001129150390625, 0...
[ 44084, 22, 316, 9, 40946, 69941, 7, 191607, 237, 10, 18507, 23, 313, 4904, 33139, 42, 55970, 3674, 87046, 10321, 1238, 3742, 51193, 6096, 15497, 22928, 621, 92154, 5701, 6097, 52895, 111, 14614, 12638, 10576, 12301, 191, 57266, 15005, 110...
[ 0.1239013671875, 0.161865234375, 0.240234375, 0.0153961181640625, 0.196044921875, 0.2435302734375, 0.09423828125, 0.1280517578125, 0.061431884765625, 0.056610107421875, 0.2384033203125, 0.061676025390625, 0.08831787109375, 0.2232666015625, 0.024139404296875, 0.0985107421875, 0.208740...
embed
28477775_c0
28477775
fsharp
0
Title: How to instantiate a decreasing sequence in F#? Problem title: How to instantiate a decreasing sequence in F#? Tags: f%23 Problem: How to instantiate a decreasing sequence in F#? In F#, you can say let x = {1..5} and you get the expected {1,2,3,4,5}. But if you say let y = {5..1} , you get an empty sequence. I a...
How to instantiate a decreasing sequence in F#? How to instantiate a decreasing sequence in F#? f%23 How List.rev How to instantiate a decreasing sequence in F#? In F#, you can say and you get the expected {1,2,3,4,5}. But if you say , you get an empty sequence. I assume this is done to make it easier to return empty s...
[ 0.00927734375, 0.015869140625, 0.01031494140625, -0.000036716461181640625, 0.01177978515625, 0.0015106201171875, 0.0074462890625, -0.016357421875, 0.006927490234375, -0.0123291015625, -0.00250244140625, 0.0478515625, 0.00537109375, 0.01171875, 0.0164794921875, -0.0036163330078125, -0...
[ 11249, 34648, 101426, 8, 7612, 162, 214, 40, 944, 3956, 563, 4904, 1238, 3949, 3742, 32036, 65381, 10, 23, 831, 5154, 136, 2046, 84751, 133063, 363, 80389, 201505, 41591, 99156, 30646, 26513, 5170, 4034, 7279, 77336, 21771, 11015, 17475, ...
[ 0.03228759765625, 0.1461181640625, 0.191650390625, 0.1807861328125, 0.20458984375, 0.1728515625, 0.136474609375, 0.0828857421875, 0.1678466796875, 0.113037109375, 0.129638671875, 0.2021484375, 0.067626953125, 0.009033203125, 0.130859375, 0.142578125, 0.14599609375, 0.00546264648437...
embed
26835642_c0
26835642
fsharp
0
Title: Implementing collect for list in F# Problem title: Implementing collect for list in F# Tags: list, functional-programming, f%23, collect Problem: Implementing collect for list in F# I am new to programming in functional languages. I am attempting to implement the F# collect for list. let rec collect func list = ...
Implementing collect for list in F# Implementing collect for list in F# list functional-programming f%23 collect Implementing hd::tl hd::tlResult Implementing collect for list in F# I am new to programming in functional languages. I am attempting to implement the F# collect for list. should print: but I got:
[ 0.010986328125, 0.00830078125, 0.03271484375, 0.00946044921875, -0.0177001953125, -0.00107574462890625, -0.018310546875, -0.0067138671875, 0.01092529296875, -0.005523681640625, 0.0130615234375, -0.002349853515625, -0.00157928466796875, 0.0106201171875, 0.00164031982421875, -0.019409179...
[ 153941, 43799, 100, 5303, 23, 563, 4904, 214, 123309, 28966, 1238, 3949, 3742, 26488, 18, 141, 4332, 7, 7136, 3525, 56037, 46876, 81887, 29479, 5608, 28412, 1284, 4163 ]
[ 0.185546875, 0.262939453125, 0.1212158203125, 0.197021484375, 0.0322265625, 0.15625, 0.2315673828125, 0.00762939453125, 0.1715087890625, 0.11572265625, 0.094482421875, 0.0189208984375, 0.102294921875, 0.126708984375, 0.046905517578125, 0.1026611328125, 0.0772705078125, 0.1160888671...
embed
32579760_c0
32579760
fsharp
0
Title: Querying Couchbase using N1QL Problem title: Querying Couchbase using N1QL Tags: sql%2B%2B, f%23, couchbase Problem: Querying Couchbase using N1QL I can query docs using views just fine, but switching to N1QL gives me Success property as false. What went wrong ? let cluster = new Cluster() let bucket = cluster.O...
Querying Couchbase using N1QL Querying Couchbase using N1QL sql%2B%2B f%23 couchbase N1QL Querying Couchbase Cluster cluster.OpenBucket SELECT SET SET24MM2SCLV01 bucket.Query Console.WriteLine result.Success Querying Couchbase using N1QL I can query docs using views just fine, but switching to N1QL gives me Success pro...
[ -0.003387451171875, 0.0140380859375, -0.0012664794921875, 0.0223388671875, 0.01092529296875, -0.00634765625, -0.0034027099609375, -0.01556396484375, -0.006561279296875, 0.000911712646484375, 0.006927490234375, -0.0032958984375, -0.017333984375, -0.032470703125, -0.019775390625, 0.00634...
[ 58836, 38543, 1311, 12665, 37382, 17368, 541, 418, 2737, 866, 99247, 3742, 31816, 206, 140077, 1515, 234737, 103264, 7235, 27853, 144832, 128565, 2357, 25590, 32811, 6746, 373, 41732, 1294, 40777, 18781, 93232, 16750, 14168, 238, 26531, 831, ...
[ 0.166259765625, 0.08349609375, 0.06622314453125, 0.170166015625, 0.240234375, 0.051666259765625, 0.103759765625, 0.119140625, 0.1539306640625, 0.1932373046875, 0.1563720703125, 0.033172607421875, 0.121826171875, 0.0308074951171875, 0.1009521484375, 0.02685546875, 0.186279296875, 0....
embed
8270353_c0
8270353
fsharp
0
Title: F# 2d array index error Problem title: F# 2d array index error Tags: f%23 Problem: F# 2d array index error The below code gives the error The operator 'expr.[idx]' has been used an object of indeterminate type based on information prior to this program point. Consider adding further type constraints . I think i ...
F# 2d array index error F# 2d array index error f%23 Consider Array2D.init board2 F# 2d array index error The below code gives the error The operator 'expr.[idx]' has been used an object of indeterminate type based on information prior to this program point. Consider adding further type constraints . I think i have tol...
[ -0.01348876953125, -0.01202392578125, 0.01904296875, -0.01251220703125, -0.001220703125, -0.0164794921875, -0.0147705078125, 0.011474609375, 0.00140380859375, -0.000682830810546875, 0.0030517578125, 0.00860595703125, 0.008056640625, -0.014892578125, 0.01171875, -0.0262451171875, -0.0...
[ 563, 4904, 116, 71, 10298, 53, 63262, 18499, 1238, 3742, 137399, 69253, 304, 397, 73, 217, 45443, 35064, 18151, 39933, 83613, 42, 532, 425, 2809, 11814, 36746, 23, 145099, 10644, 35509, 4677, 41928, 1528, 6275, 2816, 4288, 87, 30745, 70, ...
[ 0.095458984375, 0.1629638671875, 0.1331787109375, 0.086669921875, 0.1556396484375, 0.10565185546875, 0.1934814453125, 0.1634521484375, 0.0869140625, 0.1060791015625, 0.0196685791015625, 0.10675048828125, 0.078369140625, 0.068603515625, 0.0069580078125, 0.050811767578125, 0.1201171875...
embed
8685568_c2
8685568
fsharp
2
.union, m1.ResidueSet, m2.ResidueSet, m1.AtomSet, m2.AtomSet, Seq.min, m1.Atoms, m2.Atoms, a.Position.DistanceTo, b.Position, Structure, IStructure, AtomCollection.FromUniqueAtoms, m.Atoms, BondCollection.Create, Seq.map, parent.Bonds, Seq.concat, BondCollection.Empty, Structure.Create, parent.Id, Id.ToString, KDTree, ...
.union, m1.ResidueSet, m2.ResidueSet, m1.AtomSet, m2.AtomSet, Seq.min, m1.Atoms, m2.Atoms, a.Position.DistanceTo, b.Position, Structure, IStructure, AtomCollection.FromUniqueAtoms, m.Atoms, BondCollection.Create, Seq.map, parent.Bonds, Seq.concat, BondCollection.Empty, Structure.Create, parent.Id, Id.ToString, KDTree, ...
[ -0.007110595703125, 0.026611328125, -0.00144195556640625, 0.00124359130859375, 0.01361083984375, -0.01544189453125, -0.0152587890625, -0.00494384765625, 0.004974365234375, -0.00122833251953125, 0.01556396484375, 0.030029296875, 0.04345703125, 0.000499725341796875, -0.00127410888671875, ...
[ 6, 5, 87046, 4, 347, 418, 4332, 5151, 13388, 294, 126, 5442, 12078, 503, 864, 1249, 10, 7192, 172, 1363, 14055, 116071, 7763, 876, 63667, 15744, 18, 98422, 6644, 69728, 78457, 133, 10763, 168407, 45602, 49078, 63784, 62346, 49129, 116858,...
[ 0.023040771484375, 0.16455078125, 0.2452392578125, 0.0655517578125, 0.112060546875, 0.05615234375, 0.031158447265625, 0.12890625, 0.10595703125, 0.1185302734375, 0.1729736328125, 0.1370849609375, 0.2049560546875, 0.05828857421875, 0.160888671875, 0.170166015625, 0.0264892578125, 0....
embed
47185248_c0
47185248
fsharp
0
Title: The pattern discriminator is not defined Problem title: The pattern discriminator is not defined Tags: f%23 Problem: The pattern discriminator is not defined I'm new in F#, can you help me with this error: 'The pattern discriminator is not defined' let findColorIndex colorArray, color = let mutable index=0 for i...
The pattern discriminator is not defined The pattern discriminator is not defined f%23 colorArray.Length-1 Color.FromName R.Equals color.R G.Equals color.G B.Equals color.B The pattern discriminator is not defined I'm new in F#, can you help me with this error: 'The pattern discriminator is not defined'
[ -0.0262451171875, 0.0022125244140625, -0.0240478515625, 0.0069580078125, -0.011474609375, -0.00653076171875, -0.0008544921875, 0.0045166015625, 0.013671875, -0.007110595703125, 0.0142822265625, 0.00170135498046875, 0.01483154296875, -0.006103515625, 0.01251220703125, -0.00421142578125,...
[ 581, 103510, 55970, 1290, 83, 959, 61924, 71, 1238, 3949, 3742, 10576, 7092, 5759, 51193, 168407, 163612, 627, 71723, 1052, 527, 335, 571, 3525, 563, 4904, 4358, 18499, 3957 ]
[ 0.0419921875, 0.2283935546875, 0.232177734375, 0.178955078125, 0.08294677734375, 0.14892578125, 0.20361328125, 0.0859375, 0.07843017578125, 0.00994873046875, 0.1259765625, 0.10498046875, 0.1275634765625, 0.06689453125, 0.116943359375, 0.062255859375, 0.08135986328125, 0.02308654785...
embed
7818244_c0
7818244
fsharp
0
Title: Convert F# failwith to Scala Problem title: Convert F# failwith to Scala Tags: exception, scala, f%23 Problem: Convert F# failwith to Scala How is it possible to convert a F# failwith exception to Scala. I have the following code: let rec getAny text = let FailureText = "Text." if test then failwith FailureText ...
Convert F# failwith to Scala Convert F# failwith to Scala exception scala f%23 IllegalArgumentException Convert Scala FailureText Text Convert F# failwith to Scala How is it possible to convert a F# failwith exception to Scala. I have the following code: Just throw an Exception like the following? In F# it would throw ...
[ -0.001617431640625, 0.0185546875, 0.002593994140625, -0.00860595703125, 0.0162353515625, -0.0113525390625, -0.0031280517578125, 0.01507568359375, -0.0084228515625, 0.020751953125, 0.019287109375, 0.0052490234375, -0.01507568359375, 0.007293701171875, 0.032470703125, -0.021728515625, ...
[ 1657, 11549, 563, 4904, 35782, 76228, 47, 152653, 11, 131527, 146232, 1238, 3742, 891, 86966, 7614, 1234, 19279, 63928, 190355, 3408, 174379, 24129, 7722, 96760, 70, 25632, 18151, 9563, 104250, 5443, 1884, 360, 2806, 7244, 36381, 3467, 254, ...
[ 0.05743408203125, 0.1431884765625, 0.1593017578125, 0.243896484375, 0.1790771484375, 0.215576171875, 0.1064453125, 0.2437744140625, 0.192626953125, 0.169677734375, 0.2264404296875, 0.07171630859375, 0.066650390625, 0.0167083740234375, 0.1124267578125, 0.015350341796875, 0.1474609375,...
embed
28762181_c1
28762181
fsharp
1
: Next * ^T -> ^T) Is it even possible to specify the "or" condition using when 'T:... ? I can't figure out a valid syntax. Finally, ^T suggests a statically resolved type parameter , but the documentation says that they cannot be used on types. Despite this, I tried changing the 'T to ^T but still got the same errors...
: Next * ^T -> ^T) Is it even possible to specify the "or" condition using when 'T:... ? I can't figure out a valid syntax. Finally, ^T suggests a statically resolved type parameter , but the documentation says that they cannot be used on types. Despite this, I tried changing the 'T to ^T but still got the same errors...
[ -0.016357421875, 0.005035400390625, 0.00665283203125, 0.00982666015625, -0.02587890625, -0.00885009765625, -0.02880859375, -0.01129150390625, 0.010009765625, -0.0205078125, -0.00194549560546875, -0.0135498046875, 0.00714111328125, -0.01904296875, 0.0034332275390625, -0.0177001953125, ...
[ 4997, 661, 13331, 618, 33079, 7722, 40140, 18929, 748, 35431, 17368, 3229, 12, 27, 26366, 35604, 6002, 86531, 42459, 13254, 71407, 103608, 71, 10644, 171859, 209806, 53418, 11814, 52895, 151134, 47, 18499, 27781, 162753, 5426, 9969, 34759, 34...
[ 0.2607421875, 0.07928466796875, 0.125244140625, 0.162841796875, 0.0413818359375, 0.08935546875, 0.13525390625, 0.05352783203125, 0.1904296875, 0.2158203125, 0.05389404296875, 0.0174713134765625, 0.0394287109375, 0.0474853515625, 0.0255126953125, 0.07623291015625, 0.059051513671875, ...
embed
47869011_c1
47869011
fsharp
1
: error FS0261: Recursive values cannot be directly assigned to the non-mutable field 'Children' of the type 'Parent' within a recursive binding. Consider using a mutable field instead. Edit: Based on the comments I tried let create name kids = let rec makeChild kid = { kid with Parent = parent |> Some } and adult = cr...
: error FS0261: Recursive values cannot be directly assigned to the non-mutable field 'Children' of the type 'Parent' within a recursive binding. Consider using a mutable field instead. Edit: Based on the comments I tried let create name kids = let rec makeChild kid = { kid with Parent = parent |> Some } and adult = cr...
[ -0.0038299560546875, -0.001556396484375, 0.004638671875, 0.000396728515625, 0.002105712890625, 0.019775390625, 0.0015716552734375, 0.000782012939453125, 0.021728515625, -0.0015411376953125, 0.003875732421875, 0.02099609375, 0.007171630859375, 0.02587890625, 0.034912109375, -0.008056640...
[ 18499, 93774, 9550, 11540, 853, 48650, 5844, 142424, 53418, 105237, 95486, 297, 47, 351, 561, 22819, 44457, 441, 102656, 982, 10644, 28636, 2517, 28032, 195625, 128239, 137399, 17368, 842, 64457, 37842, 2633, 28282, 9351, 34376, 21954, 3249, ...
[ 0.2105712890625, 0.174560546875, 0.14794921875, 0.2222900390625, 0.1221923828125, 0.2154541015625, 0.1494140625, 0.2001953125, 0.134521484375, 0.146728515625, 0.194580078125, 0.0628662109375, 0.027801513671875, 0.1341552734375, 0.119384765625, 0.1429443359375, 0.216064453125, 0.050...
embed
58912910_c0
58912910
fsharp
0
Title: Clear all event handlers in F#? Problem title: Clear all event handlers in F#? Tags: c%23-to-f%23, f%23 Problem: Clear all event handlers in F#? If I remember correctly from my C# days, there was a way to unsubscribe all event handlers from an event without the need to do a -= operation for each of them: assigni...
Clear all event handlers in F#? Clear all event handlers in F#? c%23-to-f%23 f%23 Clear Trigger Publish Subscribe Add Remove Clear all event handlers in F#? If I remember correctly from my C# days, there was a way to unsubscribe all event handlers from an event without the need to do a -= operation for each of them: as...
[ -0.00482177734375, 0.03564453125, 0.01287841796875, -0.0054931640625, -0.00982666015625, -0.0277099609375, 0.012939453125, -0.0079345703125, 0.005889892578125, -0.01220703125, -0.0026702880859375, 0.0093994140625, -0.00421142578125, 0.0238037109375, -0.0030364990234375, -0.001335144042...
[ 86120, 756, 19732, 35863, 7, 23, 563, 4904, 27495, 188, 420, 3742, 1238, 4699, 21407, 67325, 1495, 134019, 29117, 181139, 37629, 313, 10, 3917, 47, 51, 22144, 34601, 1295, 15490, 20, 1369, 41018, 12638, 2856, 95486, 56574, 5, 959, 7722, ...
[ 0.2266845703125, 0.1636962890625, 0.1871337890625, 0.2421875, 0.1522216796875, 0.04278564453125, 0.160888671875, 0.23681640625, 0.0215606689453125, 0.0772705078125, 0.07025146484375, 0.035736083984375, 0.040191650390625, 0.1336669921875, 0.1806640625, 0.124267578125, 0.0694580078125,...
embed
44689940_c0
44689940
fsharp
0
Title: How to unwrap a discriminated union without pattern matching? Problem title: How to unwrap a discriminated union without pattern matching? Tags: f%23 Problem: How to unwrap a discriminated union without pattern matching? I have a discriminated union like this: Type Result = | Good of bool | Bad of bool In many c...
How to unwrap a discriminated union without pattern matching? How to unwrap a discriminated union without pattern matching? f%23 How Type Result Good Bad How to unwrap a discriminated union without pattern matching? I have a discriminated union like this: In many cases I know that result is Good. To unwrap the Result, ...
[ -0.017333984375, 0.0155029296875, 0.01300048828125, 0.00982666015625, -0.001251220703125, 0.005157470703125, -0.0274658203125, -0.00811767578125, 0.01300048828125, -0.00384521484375, 0.03662109375, -0.00335693359375, -0.02001953125, 0.003753662109375, 0.005645751953125, -0.000778198242...
[ 11249, 47, 51, 434, 13631, 55970, 3674, 69941, 15490, 103510, 14858, 214, 3742, 60457, 126684, 18621, 12745, 1884, 3714, 16750, 4527, 1660, 35829, 1631, 18499, 277, 131801, 125195, 3917 ]
[ 0.07537841796875, 0.02850341796875, 0.1171875, 0.058349609375, 0.208251953125, 0.2109375, 0.08447265625, 0.202880859375, 0.11865234375, 0.1690673828125, 0.1824951171875, 0.08837890625, 0.047882080078125, 0.1192626953125, 0.158447265625, 0.12744140625, 0.09759521484375, 0.0089111328...
embed
8154683_c0
8154683
fsharp
0
Title: how using a F# library inside C# (and XNA) classes with visual studio 2010 Problem title: how using a F# library inside C# (and XNA) classes with visual studio 2010 Tags: xna, c%23, f%23, visual-studio Problem: how using a F# library inside C# (and XNA) classes with visual studio 2010 I have developed a little g...
how using a F# library inside C# (and XNA) classes with visual studio 2010 how using a F# library inside C# (and XNA) classes with visual studio 2010 xna c%23 f%23 visual-studio a XNA how using a F# library inside C# (and XNA) classes with visual studio 2010 I have developed a little game using XNA 4.0 and C# (new Proj...
[ -0.0064697265625, 0.017578125, -0.00145721435546875, 0.00445556640625, -0.009033203125, -0.00860595703125, -0.00634765625, -0.00433349609375, 0.00927734375, -0.0157470703125, 0.000213623046875, -0.0133056640625, 0.006805419921875, 0.00946044921875, 0.01336669921875, -0.01385498046875, ...
[ 3642, 17368, 563, 4904, 35773, 1294, 46132, 313, 1193, 6691, 61112, 678, 21176, 12275, 1532, 2940, 1022, 76, 3742, 1238, 52629, 126809, 10176, 6712, 40401, 27331, 43342, 13547, 144810, 756, 62775, 33022, 23, 13452, 919, 103835, 49814, 91067, ...
[ 0.0770263671875, 0.127685546875, 0.1556396484375, 0.22802734375, 0.1981201171875, 0.102783203125, 0.1239013671875, 0.03790283203125, 0.065185546875, 0.1522216796875, 0.139892578125, 0.036285400390625, 0.109130859375, 0.1192626953125, 0.1531982421875, 0.012420654296875, 0.002838134765...
embed
8501495_c1
8501495
fsharp
1
Test.fsx:line 49 WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1. Note: There is some performance penalty associated with assembly bind failure logging. To turn this feature off, remove the registry valu...
Test.fsx:line 49 WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1. Note: There is some performance penalty associated with assembly bind failure logging. To turn this feature off, remove the registry valu...
[ -0.01300048828125, 0.02392578125, -0.005615234375, -0.0003509521484375, -0.000431060791015625, -0.003265380859375, -0.0028839111328125, 0.00714111328125, -0.00005626678466796875, 0.004058837890625, -0.0111083984375, -0.01202392578125, 0.005889892578125, -0.0079345703125, -0.00244140625, ...
[ 8647, 17447, 425, 2256, 7218, 50456, 151169, 53, 128239, 459, 36659, 69347, 111031, 22, 2886, 89845, 38526, 68557, 137578, 5423, 21478, 34292, 52535, 37150, 212118, 113387, 80163, 6889, 38, 7768, 113972, 1456, 36639, 47, 615, 23718, 203249, 1...
[ 0.1446533203125, 0.07672119140625, 0.10504150390625, 0.03985595703125, 0.1634521484375, 0.097900390625, 0.2242431640625, 0.051605224609375, 0.251220703125, 0.146484375, 0.1309814453125, 0.1026611328125, 0.2271728515625, 0.0198822021484375, 0.125, 0.19091796875, 0.07330322265625, 0....
embed
25219964_c0
25219964
fsharp
0
Title: Awaiting an F# async task inside an akka.net actor{} expression Problem title: Awaiting an F# async task inside an akka.net actor{} expression Tags: akka.net, f%23 Problem: Awaiting an F# async task inside an akka.net actor{} expression Is it possible to wait (without blocking) on an Async<'t> within an Akka.Net...
Awaiting an F# async task inside an akka.net actor{} expression Awaiting an F# async task inside an akka.net actor{} expression akka.net f%23 Awaiting akka.net mailbox.Receive Foo async.Return Some Awaiting an F# async task inside an akka.net actor{} expression Is it possible to wait (without blocking) on an Async<'t> ...
[ -0.005767822265625, 0.0289306640625, 0.00970458984375, -0.024169921875, 0.00555419921875, -0.0181884765625, 0.0087890625, 0.0166015625, 0.0016326904296875, -0.0167236328125, 0.0185546875, 0.0225830078125, 0.01446533203125, 0.005462646484375, 0.030029296875, 0.00579833984375, 0.008361...
[ 62, 634, 14, 1916, 563, 4904, 10, 12654, 238, 66211, 46132, 81866, 1179, 39329, 125195, 142, 1238, 3949, 3742, 6648, 11728, 329, 5844, 9572, 31, 987, 2071, 442, 7722, 47, 40485, 76228, 6056, 46389, 214, 16, 98, 18, 28032, 5515, 24447, ...
[ 0.08740234375, 0.182373046875, 0.158447265625, 0.059478759765625, 0.09063720703125, 0.16259765625, 0.05029296875, 0.197265625, 0.120849609375, 0.2127685546875, 0.133544921875, 0.2039794921875, 0.1187744140625, 0.224365234375, 0.1990966796875, 0.007293701171875, 0.068603515625, 0.02...
embed
1833153_c0
1833153
fsharp
0
Title: Is there a substitute for Pow in BigInteger in F#? Problem title: Is there a substitute for Pow in BigInteger in F#? Tags: f%23, biginteger, pow Problem: Is there a substitute for Pow in BigInteger in F#? I was using the Pow function of the BigInteger class in F# when my compiler told me : This construct is depr...
Is there a substitute for Pow in BigInteger in F#? Is there a substitute for Pow in BigInteger in F#? f%23 biginteger pow Pow BigInteger Is there a substitute for Pow in BigInteger in F#? I was using the Pow function of the BigInteger class in F# when my compiler told me : Fair enough I guess, but I didn't found a repl...
[ -0.0245361328125, 0.0020751953125, 0.0196533203125, 0.0020751953125, -0.010986328125, 0.00799560546875, -0.01116943359375, -0.00482177734375, 0.0186767578125, -0.00946044921875, -0.0079345703125, 0.019775390625, -0.00830078125, 0.0091552734375, 0.00787353515625, -0.0081787109375, -0....
[ 2071, 2685, 161740, 13, 100, 53982, 23, 14195, 4153, 67, 1505, 563, 4904, 32, 10, 1238, 3949, 3742, 6957, 6191, 23827, 17368, 32354, 18507, 759, 9969, 34759, 30745, 163, 34997, 20174, 57767, 14037, 91995, 109312, 1632, 4527, 2446, 10002, ...
[ 0.03363037109375, 0.045928955078125, 0.1873779296875, 0.09326171875, 0.0601806640625, 0.2685546875, 0.0653076171875, 0.1641845703125, 0.060455322265625, 0.1773681640625, 0.1629638671875, 0.1353759765625, 0.2017822265625, 0.003448486328125, 0.049163818359375, 0.0780029296875, 0.032592...
embed
47705169_c0
47705169
fsharp
0
Title: Strongly typing the output of a c# method Problem title: Strongly typing the output of a c# method Tags: c%23, c%23-to-f%23, f%23 Problem: Strongly typing the output of a c# method I have a c# function that has a method signature like this: public bool SerInto(out string result) . I am trying to call this functi...
Strongly typing the output of a c# method Strongly typing the output of a c# method c%23 c%23-to-f%23 f%23 Strongly SerInto ds.SerInto Strongly typing the output of a c# method I have a c# function that has a method signature like this: public bool SerInto(out string result) . I am trying to call this function to get t...
[ 0.0240478515625, -0.004180908203125, 0.0115966796875, 0.01226806640625, 0.0201416015625, 0.0020904541015625, -0.0194091796875, 0.01397705078125, 0.01226806640625, -0.01275634765625, -0.01422119140625, -0.03466796875, -0.00543212890625, 0.016357421875, -0.00189971923828125, 0.0085449218...
[ 200537, 538, 11417, 214, 140992, 111, 501, 4904, 55300, 3742, 27495, 188, 420, 1238, 5406, 4153, 104, 63771, 32354, 138256, 1884, 903, 3835, 142484, 6056, 79315, 16750, 31577, 11782, 2046, 31805, 660, 1295, 11249, 3444, 2053, 186, 10644, 39...
[ 0.21044921875, 0.1080322265625, 0.2210693359375, 0.0797119140625, 0.24072265625, 0.072021484375, 0.044403076171875, 0.2109375, 0.19482421875, 0.08978271484375, 0.1204833984375, 0.2342529296875, 0.0653076171875, 0.0305023193359375, 0.1507568359375, 0.1431884765625, 0.0198516845703125,...
embed
35931093_c0
35931093
fsharp
0
Title: f# type as function input parameter? Problem title: f# type as function input parameter? Tags: types, f%23 Problem: f# type as function input parameter? can type be used as a function input parameter? open System open Microsoft.FSharp.Reflection type MyTuple = DateTime*int*decimal*decimal let f tupleType = let r...
f# type as function input parameter? f# type as function input parameter? types f%23 System Microsoft.FSharp.Reflection MyTuple DateTime FSharpValue.MakeTuple DateTime.Now EntryPoint f# type as function input parameter? can type be used as a function input parameter? in this case I get the the type tupleType is not def...
[ -0.00885009765625, 0.003265380859375, -0.00958251953125, -0.006103515625, -0.005889892578125, -0.000286102294921875, -0.0120849609375, 0.00311279296875, 0.00250244140625, -0.0299072265625, 0.00970458984375, 0.00494384765625, -0.01171875, 0.01507568359375, 0.003387451171875, -0.00148773...
[ 1238, 4904, 10644, 237, 32354, 107730, 171859, 52895, 3949, 3742, 12353, 7244, 36381, 3467, 254, 190015, 133, 2646, 15665, 8705, 25512, 70059, 856, 50770, 137594, 15123, 147534, 831, 186, 11814, 10, 7225, 370, 196707, 83, 959, 61924, 71 ]
[ 0.129150390625, 0.2061767578125, 0.256591796875, 0.106689453125, 0.1905517578125, 0.195556640625, 0.193115234375, 0.1910400390625, 0.0150604248046875, 0.1470947265625, 0.0841064453125, 0.07354736328125, 0.0196075439453125, 0.101806640625, 0.091796875, 0.1170654296875, 0.1099853515625...
embed
663894_c0
663894
fsharp
0
Title: How does f# decide which file to run on startup? Problem title: How does f# decide which file to run on startup? Tags: f%23 Problem: How does f# decide which file to run on startup? Be nice, I'm a total newbie to F#. I have created my first console app, and I can't figure out how F# decides which of my .fs files...
How does f# decide which file to run on startup? How does f# decide which file to run on startup? f%23 How How does f# decide which file to run on startup? Be nice, I'm a total newbie to F#. I have created my first console app, and I can't figure out how F# decides which of my .fs files its going to run on startup. Nor...
[ 0.0167236328125, 0.01165771484375, -0.00061798095703125, 0.0150146484375, -0.0220947265625, 0.0004425048828125, -0.000637054443359375, -0.0155029296875, 0.00543212890625, 0.00042724609375, 0.0123291015625, -0.01019287109375, -0.026123046875, 0.022216796875, 0.01141357421875, 0.00267028...
[ 11249, 14602, 1238, 4904, 28288, 3129, 11435, 47, 11675, 98, 73882, 32, 3949, 3742, 873, 26267, 3622, 9014, 563, 75935, 5117, 130250, 4027, 831, 18, 26366, 3642, 7, 759, 5, 17447, 102158, 6863, 7730, 28723, 49966, 765, 42805, 6275, 3173, ...
[ 0.1177978515625, 0.05914306640625, 0.1949462890625, 0.26708984375, 0.1922607421875, 0.12158203125, 0.2413330078125, 0.08526611328125, 0.1864013671875, 0.1353759765625, 0.283203125, 0.009368896484375, 0.0171661376953125, 0.1248779296875, 0.0224151611328125, 0.01251220703125, 0.0295562...
embed
28545500_c0
28545500
fsharp
0
Title: F# add extra cases to external DU Problem title: F# add extra cases to external DU Tags: discriminated-union, f%23, inheritance Problem: F# add extra cases to external DU Say I have a DU , which I cannot (or do not want to) change: type OrDU = | A | B | C Now in another program I need a DU, which is identical to...
F# add extra cases to external DU F# add extra cases to external DU discriminated-union f%23 inheritance OrDU ExtraDU F# add extra cases to external DU Say I have a DU , which I cannot (or do not want to) change: Now in another program I need a DU, which is identical to the above except it needs a few additional cases....
[ 0.00634765625, 0.02392578125, -0.0067138671875, -0.0162353515625, -0.0216064453125, -0.01385498046875, -0.01190185546875, 0.0159912109375, 0.01300048828125, -0.017578125, -0.0031890869140625, 0.009033203125, 0.0194091796875, 0.034423828125, 0.0033416748046875, -0.0108642578125, 0.018...
[ 563, 4904, 15190, 4173, 50218, 47, 173591, 14614, 55970, 3674, 87046, 1238, 3949, 3742, 3334, 217, 3347, 18431, 31501, 25916, 87, 765, 10, 3129, 53418, 748, 959, 3444, 15549, 23, 15700, 1528, 3871, 31943, 36917, 40494, 27117, 10846, 78301, ...
[ 0.10601806640625, 0.194580078125, 0.1361083984375, 0.2210693359375, 0.2213134765625, 0.12060546875, 0.2083740234375, 0.2373046875, 0.1697998046875, 0.022491455078125, 0.1480712890625, 0.07421875, 0.048248291015625, 0.14990234375, 0.1163330078125, 0.044403076171875, 0.1651611328125, ...
embed
67170805_c1
67170805
fsharp
1
GodotNodeFs() inherit Node (* But I need the equivalent of this [<Signal>] type MyDelegateSignal = delegate of Unit -> Unit *) member this.SendSignal = this.EmitSignal(nameof MyDelegate) Worst case scenario, I know I can at least get this working by pushing this back down to the C# code. At the moment in Godot, every ...
GodotNodeFs() inherit Node (* But I need the equivalent of this [<Signal>] type MyDelegateSignal = delegate of Unit -> Unit *) member this.SendSignal = this.EmitSignal(nameof MyDelegate) Worst case scenario, I know I can at least get this working by pushing this back down to the C# code. At the moment in Godot, every ...
[ -0.004150390625, 0.0107421875, -0.00946044921875, -0.01409912109375, -0.033447265625, 0.02490234375, 0.006683349609375, -0.0230712890625, 0.000247955322265625, -0.0308837890625, 0.01165771484375, -0.007080078125, -0.021728515625, 0.038818359375, -0.0179443359375, -0.0301513671875, -0...
[ 3430, 818, 5021, 112, 919, 7, 23, 3334, 217, 438, 75402, 4966, 3871, 183234, 903, 218723, 289, 10644, 2646, 4657, 3257, 67, 102329, 13, 46640, 33079, 32786, 294, 3611, 647, 4007, 11627, 145062, 106117, 19713, 20697, 25944, 4420, 7565, 490...
[ 0.1572265625, 0.2391357421875, 0.188720703125, 0.1719970703125, 0.1285400390625, 0.102294921875, 0.120361328125, 0.2005615234375, 0.08837890625, 0.177001953125, 0.029571533203125, 0.041229248046875, 0.09869384765625, 0.14404296875, 0.12109375, 0.1495361328125, 0.122802734375, 0.048...
embed
14569582_c0
14569582
fsharp
0
Title: Create discriminated union data from file/database Problem title: Create discriminated union data from file/database Tags: f%23, discriminated-union Problem: Create discriminated union data from file/database I have a discriminated union for expressions like this one (EQ =; GT >; etc) (AND (OR (EQ X 0) (GT X 10)...
Create discriminated union data from file/database Create discriminated union data from file/database f%23 discriminated-union file/database Create Create discriminated union data from file/database I have a discriminated union for expressions like this one (EQ =; GT >; etc) I want to create instances of DU from such e...
[ 0.0194091796875, 0.00144195556640625, -0.0036468505859375, 0.0048828125, -0.00738525390625, 0.01287841796875, -0.00194549560546875, 0.00003790855407714844, 0.0128173828125, -0.0341796875, -0.01275634765625, -0.006866455078125, 0.0233154296875, -0.0169677734375, -0.006988525390625, 0.01...
[ 151313, 55970, 3674, 69941, 2053, 1295, 11435, 64, 10135, 37382, 1238, 3949, 3742, 87046, 125195, 1884, 903, 178102, 2203, 43448, 977, 3021, 3444, 28282, 110527, 111, 14614, 6044, 57, 4126, 23, 11249, 17, 54, 3820, 55356, 2965, 51515, 563, ...
[ 0.1668701171875, 0.26318359375, 0.1458740234375, 0.2626953125, 0.189453125, 0.145751953125, 0.20458984375, 0.048919677734375, 0.1019287109375, 0.1771240234375, 0.06689453125, 0.0237274169921875, 0.1209716796875, 0.1893310546875, 0.2196044921875, 0.071533203125, 0.0253753662109375, ...
embed
28080230_c0
28080230
fsharp
0
Title: How to compile and run a F# script in Visual Studio? Problem title: How to compile and run a F# script in Visual Studio? Tags: f%23, visual-studio Problem: How to compile and run a F# script in Visual Studio? I can compile the demo script hello.fsx Listed Below: open System [<EntryPoint>] let main (param: string...
How to compile and run a F# script in Visual Studio? How to compile and run a F# script in Visual Studio? f%23 visual-studio How Visual Studio hello.fsx System EntryPoint Hello hello.exe Bill How to compile and run a F# script in Visual Studio? I can compile the demo script hello.fsx Listed Below: with: and then run it...
[ 0.0012054443359375, 0.0181884765625, 0.0020294189453125, 0.00665283203125, -0.0037689208984375, 0.0174560546875, 0.0020904541015625, -0.004913330078125, -0.010009765625, -0.019775390625, -0.01068115234375, 0.010986328125, -0.00125885009765625, 0.0167236328125, 0.0130615234375, -0.00946...
[ 11249, 47, 9969, 1340, 136, 11675, 563, 4904, 26499, 23, 73372, 22968, 10, 1238, 3742, 21176, 52629, 33600, 31, 17447, 425, 12353, 15123, 147534, 35378, 46480, 19893, 831, 53397, 5, 47969, 17336, 678, 442, 43240, 5885, 7722, 163846, 98441, ...
[ 0.08282470703125, 0.035400390625, 0.173095703125, 0.1634521484375, 0.1068115234375, 0.1678466796875, 0.1727294921875, 0.243896484375, 0.273193359375, 0.10009765625, 0.22607421875, 0.2337646484375, 0.03692626953125, 0.08984375, 0.10107421875, 0.1644287109375, 0.157470703125, 0.16699...
embed
14531175_c0
14531175
fsharp
0
Title: How to define an enum constant using the underlying value Problem title: How to define an enum constant using the underlying value Tags: constants, enums, f%23 Problem: How to define an enum constant using the underlying value What is the F# equivalent of this C#: const MyEnum None = (MyEnum)1; This does not wor...
How to define an enum constant using the underlying value How to define an enum constant using the underlying value constants enums f%23 the How MyEnum None Literal ERROR MyAttribute How to define an enum constant using the underlying value What is the F# equivalent of this C#: This does not work: although, curiously, ...
[ -0.0123291015625, -0.01220703125, -0.0152587890625, 0.00732421875, 0.0010223388671875, -0.006744384765625, -0.01470947265625, -0.01446533203125, -0.01116943359375, -0.01324462890625, -0.00048828125, 0.003814697265625, 0.025390625, 0.00799560546875, 0.00958251953125, 0.0093994140625, ...
[ 11249, 61924, 22, 316, 53697, 17368, 1379, 538, 214, 34292, 47, 142, 10321, 1238, 3949, 3742, 2646, 647, 2606, 438, 86, 135940, 151206, 24638, 28848, 191145, 70, 563, 4904, 183234, 903, 313, 3293, 14602, 959, 4488, 193844, 442, 68403, 150...
[ 0.15283203125, 0.2203369140625, 0.1845703125, 0.280029296875, 0.25537109375, 0.096923828125, 0.228759765625, 0.196044921875, 0.09259033203125, 0.1927490234375, 0.0246124267578125, 0.039886474609375, 0.28173828125, 0.119384765625, 0.08575439453125, 0.2015380859375, 0.1417236328125, ...
embed
20503605_c0
20503605
fsharp
0
Title: Using a F# portable library from a Windows Phone 8 app Problem title: Using a F# portable library from a Windows Phone 8 app Tags: windows-phone-8, f%23 Problem: Using a F# portable library from a Windows Phone 8 app I´m trying to use a portable F# library in my Windows Phone 8 app using Visual Studio 2013 but t...
Using a F# portable library from a Windows Phone 8 app Using a F# portable library from a Windows Phone 8 app windows-phone-8 f%23 a Using Windows Phone windows-phone-8 Using a F# portable library from a Windows Phone 8 app I´m trying to use a portable F# library in my Windows Phone 8 app using Visual Studio 2013 but t...
[ -0.011962890625, 0.037353515625, -0.0052490234375, -0.00154876708984375, -0.0185546875, -0.007415771484375, -0.0147705078125, 0.0125732421875, -0.00299072265625, -0.02880859375, -0.00445556640625, -0.007415771484375, 0.002685546875, 0.00946044921875, 0.00830078125, 0.01019287109375, ...
[ 345, 563, 4904, 168627, 35773, 1294, 1295, 3773, 41761, 382, 4027, 54825, 26551, 17376, 1238, 3742, 31577, 4527, 73372, 22968, 1210, 9969, 34759, 53418, 103608, 42548, 27771, 93774, 3467, 254, 50886, 71, 1181, 11389, 80308, 102107, 23009, 151...
[ 0.0711669921875, 0.142822265625, 0.2410888671875, 0.1695556640625, 0.177490234375, 0.07171630859375, 0.04901123046875, 0.087646484375, 0.169921875, 0.2147216796875, 0.1129150390625, 0.041839599609375, 0.09326171875, 0.18359375, 0.0631103515625, 0.02685546875, 0.004425048828125, 0.0...
embed
19122687_c0
19122687
fsharp
0
Title: How to write a sum function in F# using RProvider? Problem title: How to write a sum function in F# using RProvider? Tags: type-providers, f%23, r Problem: How to write a sum function in F# using RProvider? #r "RProvider.dll" open RProvider open RProvider.``base`` let add (x: float) (y: float) = let sum = R.sum(...
How to write a sum function in F# using RProvider? How to write a sum function in F# using RProvider? type-providers f%23 r RProvider How RProvider.dll R.sum sum.Value How to write a sum function in F# using RProvider? VS gives me the error "The field, constructor or member 'Value' is not defined" I also tried passing ...
[ 0.001495361328125, 0.0196533203125, 0.005126953125, 0.00933837890625, -0.005615234375, -0.0004215240478515625, 0.018310546875, -0.00982666015625, 0.00616455078125, -0.037109375, 0.00555419921875, 0.0086669921875, -0.00927734375, -0.0150146484375, 0.0208740234375, -0.00421142578125, -...
[ 11249, 33022, 10554, 32354, 563, 4904, 17368, 80026, 83220, 820, 10, 23, 10644, 93136, 14202, 1238, 3949, 3742, 1690, 1181, 627, 11832, 856, 50770, 44160, 18499, 3957, 44457, 64549, 748, 707, 32786, 959, 61924, 452, 173, 18770, 5, 209806, ...
[ 0.032806396484375, 0.1773681640625, 0.246826171875, 0.20263671875, 0.113037109375, 0.18505859375, 0.035400390625, 0.090087890625, 0.1650390625, 0.232421875, 0.020660400390625, 0.01251220703125, 0.1077880859375, 0.1614990234375, 0.0972900390625, 0.052947998046875, 0.01666259765625, ...
embed
66271201_c0
66271201
fsharp
0
Title: Visual Studio 2019 F# is Inserting Tabs instead of Spaces Problem title: Visual Studio 2019 F# is Inserting Tabs instead of Spaces Tags: visual-studio, f%23 Problem: Visual Studio 2019 F# is Inserting Tabs instead of Spaces All of a sudden Visual studio is inserting Tabs instead of spaces and I can't figure out ...
Visual Studio 2019 F# is Inserting Tabs instead of Spaces Visual Studio 2019 F# is Inserting Tabs instead of Spaces visual-studio f%23 Visual Studio Inserting Tabs Spaces Tools Options Text Editor All Languages Visual Studio 2019 F# is Inserting Tabs instead of Spaces All of a sudden Visual studio is inserting Tabs ins...
[ 0.00567626953125, -0.00628662109375, 0.00150299072265625, -0.00445556640625, -0.0113525390625, 0.0042724609375, -0.01336669921875, -0.0004730224609375, 0.0021820068359375, 0.0081787109375, 0.0208740234375, 0.007293701171875, -0.006439208984375, 0.00005459785461425781, 0.00518798828125, ...
[ 73372, 22968, 3640, 563, 4904, 83, 360, 2189, 1916, 22193, 7, 64457, 43045, 21176, 52629, 1238, 3742, 119296, 152448, 24129, 69340, 83658, 8932, 12275, 183540, 214, 32628, 831, 26366, 3642, 101089, 442, 4420, 5423, 47, 23, 110, 4173, 69993,...
[ 0.179443359375, 0.1993408203125, 0.214599609375, 0.122314453125, 0.1849365234375, 0.0293426513671875, 0.04730224609375, 0.12890625, 0.040771484375, 0.244873046875, 0.035919189453125, 0.1256103515625, 0.2276611328125, 0.14208984375, 0.14794921875, 0.051483154296875, 0.04205322265625, ...
embed
24641886_c0
24641886
fsharp
0
Title: extending an object with an interface through an object expression Problem title: extending an object with an interface through an object expression Tags: f%23 Problem: extending an object with an interface through an object expression Is it possible to decorate an object in F# with an interface using an object ...
extending an object with an interface through an object expression extending an object with an interface through an object expression f%23 IFoo IBar x.foo Looking x.Bar extending an object with an interface through an object expression Is it possible to decorate an object in F# with an interface using an object express...
[ 0.005157470703125, 0.0028076171875, 0.0035858154296875, 0.00157928466796875, 0.01239013671875, -0.00762939453125, -0.0289306640625, 0.02685546875, 0.0034942626953125, -0.0079345703125, 0.00823974609375, 0.00653076171875, 0.00830078125, -0.0087890625, 0.004486083984375, -0.0147094726562...
[ 65042, 214, 36746, 678, 101758, 8305, 125195, 1238, 3949, 3742, 55449, 16635, 87, 25267, 1022, 3584, 31, 157268, 2071, 442, 7722, 47, 122329, 13, 23, 563, 4904, 142, 17368 ]
[ 0.209228515625, 0.046844482421875, 0.24609375, 0.1246337890625, 0.266845703125, 0.10675048828125, 0.2685546875, 0.08740234375, 0.0204620361328125, 0.121337890625, 0.035888671875, 0.1453857421875, 0.07269287109375, 0.204345703125, 0.0755615234375, 0.109375, 0.07550048828125, 0.20971...
embed
1147680_c0
1147680
fsharp
0
Title: F# - What&#x27;s the &quot;it&quot; keyword? Problem title: F# - What&#x27;s the &quot;it&quot; keyword? Tags: f%23 Problem: F# - What's the "it" keyword? I am a newb to F#, just began learning it this afternoon. What I've noticed is that when getting type info via the fsi, I get the following info: val it : (ch...
F# - What&#x27;s the &quot;it&quot; keyword? F# - What&#x27;s the &quot;it&quot; keyword? f%23 What fun:clo F# - What's the "it" keyword? I am a newb to F#, just began learning it this afternoon. What I've noticed is that when getting type info via the fsi, I get the following info: If I understand correctly, the (char...
[ 0.01544189453125, -0.0029144287109375, 0.0091552734375, -0.007080078125, -0.00262451171875, 0.00775146484375, 0.0147705078125, -0.0030975341796875, -0.0020751953125, -0.023681640625, 0.0029144287109375, -0.004180908203125, -0.0167236328125, 0.021240234375, -0.0101318359375, 0.000107765...
[ 563, 4904, 20, 4865, 3768, 7, 70, 41502, 217, 1230, 166117, 1238, 3742, 7477, 63499, 44, 58, 3525, 275, 80723, 52080, 157109, 156672, 20949, 10644, 3004, 1829, 172, 2046, 25632, 28219, 9254, 5303, 33079, 79315, 26950, 32354, 51776, 21441, ...
[ 0.1708984375, 0.2337646484375, 0.01806640625, 0.10137939453125, 0.0958251953125, 0.06317138671875, 0.112060546875, 0.044189453125, 0.27001953125, 0.041717529296875, 0.2822265625, 0.11572265625, 0.066650390625, 0.1494140625, 0.1700439453125, 0.0235595703125, 0.04644775390625, 0.0220...
embed
21977065_c0
21977065
fsharp
0
Title: Is it possible to write a function work for int and long (float, byte .etc) in F#? Problem title: Is it possible to write a function work for int and long (float, byte .etc) in F#? Tags: f%23, int, long-integer Problem: Is it possible to write a function work for int and long (float, byte .etc) in F#? when use l...
Is it possible to write a function work for int and long (float, byte .etc) in F#? Is it possible to write a function work for int and long (float, byte .etc) in F#? f%23 int long-integer add2 b:float a:int64 Is it possible to write a function work for int and long (float, byte .etc) in F#? when use it works for int. a...
[ 0.01220703125, -0.010009765625, 0.0040283203125, 0.005401611328125, -0.01171875, -0.0037384033203125, -0.00579833984375, -0.0146484375, 0.0142822265625, -0.00579833984375, 0.00494384765625, 0.002593994140625, -0.007415771484375, 0.0084228515625, 0.0167236328125, -0.031982421875, 0.00...
[ 2071, 442, 7722, 47, 33022, 32354, 4488, 100, 23, 18, 136, 4989, 52347, 257, 390, 67, 111879, 563, 4904, 1238, 3949, 3742, 6191, 1505, 15190, 304, 876, 10, 4288, 13307, 4527, 43240, 21917, 5, 3871, 124901, 11, 1884, 903, 83 ]
[ 0.048980712890625, 0.06866455078125, 0.19580078125, 0.030914306640625, 0.19775390625, 0.248046875, 0.165283203125, 0.1331787109375, 0.097900390625, 0.1541748046875, 0.148193359375, 0.1475830078125, 0.1832275390625, 0.1341552734375, 0.06854248046875, 0.11962890625, 0.0268707275390625,...
embed
5079777_c0
5079777
fsharp
0
Title: How to pattern-match when something is NOT of a particular type Problem title: How to pattern-match when something is NOT of a particular type Tags: functional-programming, f%23, active-pattern, pattern-matching Problem: How to pattern-match when something is NOT of a particular type We're all used to pattern-ma...
How to pattern-match when something is NOT of a particular type How to pattern-match when something is NOT of a particular type functional-programming f%23 active-pattern pattern-matching How NOT List.head How to pattern-match when something is NOT of a particular type We're all used to pattern-matching for cases when ...
[ -0.0078125, 0.0096435546875, 0.0025787353515625, 0.006317138671875, -0.017333984375, -0.0106201171875, -0.0072021484375, -0.0018157958984375, 0.0174560546875, 0.0159912109375, 0.01300048828125, -0.007293701171875, 0.00095367431640625, -0.01177978515625, 0.0177001953125, 0.0046997070312...
[ 11249, 47, 103510, 9, 98753, 3229, 9844, 83, 86725, 111, 17311, 10644, 123309, 28966, 1238, 3742, 36457, 4453, 22766, 32036, 31251, 10, 11814, 214, 100, 50218, 3642, 831, 14858, 7225, 959, 22362 ]
[ 0.07440185546875, 0.076904296875, 0.2353515625, 0.07794189453125, 0.2646484375, 0.1083984375, 0.09356689453125, 0.1033935546875, 0.197021484375, 0.13330078125, 0.16357421875, 0.1715087890625, 0.0823974609375, 0.06695556640625, 0.002349853515625, 0.05047607421875, 0.0963134765625, 0...
embed
28236710_c0
28236710
fsharp
0
Title: FSharp Functional Composition Problem title: FSharp Functional Composition Tags: f%23 Problem: FSharp Functional Composition I have three functions like this: let functionA (i:int) = "functionA" + string i let functionB (i:int) = "functionB" + string i let functionC (i:int) = "functionC" + string i I want to cha...
FSharp Functional Composition FSharp Functional Composition f%23 FSharp Functional Composition i:int FSharp Functional Composition I have three functions like this: I want to chain these functions together such that the result of executing all three is an array of each of the return values, kind of like Seq.Collect arr...
[ 0.005279541015625, 0.00921630859375, 0.0096435546875, 0.01904296875, -0.0057373046875, 0.00823974609375, 0.00092315673828125, -0.003875732421875, 0.006439208984375, -0.00897216796875, -0.01324462890625, 0.024169921875, 0.00225830078125, 0.01007080078125, 0.02490234375, -0.0098266601562...
[ 93774, 3467, 254, 28670, 10763, 3288, 40322, 289, 1238, 3949, 3742, 17, 4288, 765, 17262, 32354, 7, 1884, 903, 3444, 47, 121293, 6097, 25842, 6044, 16750, 71924, 756, 83, 10298, 53, 111, 12638, 30646, 142424, 8562, 503, 864, 8996, 132887,...
[ 0.0496826171875, 0.1651611328125, 0.1644287109375, 0.140625, 0.0994873046875, 0.143798828125, 0.162353515625, 0.0384521484375, 0.072998046875, 0.052947998046875, 0.1649169921875, 0.0172576904296875, 0.1473388671875, 0.0379638671875, 0.1507568359375, 0.213134765625, 0.052001953125, ...
embed
556510_c0
556510
fsharp
0
Title: Is F# a usable language for .net windows development Problem title: Is F# a usable language for .net windows development Tags: .net, user-interface, windows, f%23 Problem: Is F# a usable language for .net windows development I have been hearing about F# and Microsoft now have a guy who is blogging and coding awa...
Is F# a usable language for .net windows development Is F# a usable language for .net windows development .net user-interface windows f%23 Is F# a usable language for .net windows development I have been hearing about F# and Microsoft now have a guy who is blogging and coding away in redmond somewhere about it. Can you...
[ 0.0208740234375, 0.0076904296875, 0.01806640625, -0.0172119140625, -0.000843048095703125, 0.00274658203125, -0.004608154296875, -0.0166015625, -0.0013275146484375, -0.04833984375, 0.00830078125, -0.007537841796875, 0.00836181640625, -0.00811767578125, -0.001800537109375, 0.001350402832...
[ 2071, 563, 4904, 10, 1821, 2886, 46876, 100, 5, 1179, 54825, 34754, 38937, 10433, 40404, 1238, 3742, 129271, 7244, 48948, 127990, 552, 6238, 16065, 4842, 15882, 4171, 6183, 33022, 195490, 18151, 1295, 5161, 27781, 154107, 77679, 3173, 61823, ...
[ 0.0762939453125, 0.1805419921875, 0.264892578125, 0.069091796875, 0.1514892578125, 0.163330078125, 0.2210693359375, 0.08807373046875, 0.043548583984375, 0.178466796875, 0.1492919921875, 0.152099609375, 0.09259033203125, 0.05352783203125, 0.0689697265625, 0.09619140625, 0.03857421875,...
embed
40619561_c0
40619561
fsharp
0
Title: Using ParserResult Problem title: Using ParserResult Tags: f%23, fparsec Problem: Using ParserResult The example code below appears to work nicely: open FParsec let capitalized : Parser<unit,unit> =(asciiUpper >>. many asciiLower >>. eof) let inverted : Parser<unit,unit> =(asciiLower >>. many asciiUpper >>. eof)...
Using ParserResult Using ParserResult f%23 fparsec Using ParserResult FParsec Parser Dog Using ParserResult The example code below appears to work nicely: You can then do: and get a success or: and get a failure. Now that I have a ParserResult, how do I do things with it? For example, print the string backwards?
[ 0.005462646484375, 0.01513671875, -0.0062255859375, 0.0218505859375, -0.008056640625, 0.0263671875, 0.000576019287109375, -0.0196533203125, 0.01165771484375, 0.010498046875, 0.0023040771484375, -0.002655029296875, -0.01226806640625, 0.00787353515625, -0.003021240234375, 0.0005607604980...
[ 345, 6953, 2392, 2189, 4332, 7, 7136, 1238, 3742, 2500, 39797, 563, 28636, 41129, 27781, 18151, 35064, 135179, 4488, 26267, 831, 54, 12, 2046, 36272, 707, 10, 137578, 14240, 765, 3642, 8966, 678, 442, 28412, 79315, 4420, 19364 ]
[ 0.06024169921875, 0.051422119140625, 0.1591796875, 0.1767578125, 0.147705078125, 0.15283203125, 0.222412109375, 0.038360595703125, 0.1064453125, 0.0731201171875, 0.1590576171875, 0.0885009765625, 0.1131591796875, 0.1551513671875, 0.1243896484375, 0.07269287109375, 0.06396484375, 0....
embed
30411562_c0
30411562
fsharp
0
Title: Parameter names in abstract tupled function Problem title: Parameter names in abstract tupled function Tags: f%23, c%23-to-f%23 Problem: Parameter names in abstract tupled function Related to No argument names in abstract declaration? , how would you do this with a C#-style tupled argument? So if I wanted abstra...
Parameter names in abstract tupled function Parameter names in abstract tupled function f%23 c%23-to-f%23 Parameter Employee this.createEmployee Parameter names in abstract tupled function Related to No argument names in abstract declaration? , how would you do this with a C#-style tupled argument? So if I wanted how w...
[ 0.0303955078125, -0.0057373046875, -0.00469970703125, 0.0240478515625, -0.00830078125, -0.007232666015625, -0.00604248046875, 0.00860595703125, 0.0091552734375, -0.0128173828125, 0.00567626953125, -0.002685546875, -0.004486083984375, 0.02783203125, 0.00170135498046875, -0.0026245117187...
[ 1720, 29089, 123055, 23, 164789, 370, 8705, 71, 32354, 1238, 3742, 27495, 188, 420, 31678, 365, 1033, 903, 7612, 2182, 134332, 438, 10750, 21635, 3642, 2806, 678, 4904, 40946, 36663, 127219, 36836, 7225, 105233, 101758, 563, 186, 11814, 129...
[ 0.1142578125, 0.1871337890625, 0.160888671875, 0.0513916015625, 0.2061767578125, 0.082763671875, 0.1451416015625, 0.06451416015625, 0.1658935546875, 0.06109619140625, 0.0914306640625, 0.08538818359375, 0.1051025390625, 0.047698974609375, 0.046051025390625, 0.0970458984375, 0.09533691...
embed
33973154_c0
33973154
fsharp
0
Title: Accessing files from directory does not return fully qualified file paths Problem title: Accessing files from directory does not return fully qualified file paths Tags: f%23 Problem: Accessing files from directory does not return fully qualified file paths Using F#, I am unable to retrieve the full paths of file...
Accessing files from directory does not return fully qualified file paths Accessing files from directory does not return fully qualified file paths f%23 directory Accessing ProcessFiles System.IO Directory.GetFiles Users my_user_name Documents Visual Studio Projects BlackJack Assets Cards Seq.toArray Blac Accessing fil...
[ 0.015625, -0.0267333984375, 0.0027923583984375, 0.01220703125, -0.01470947265625, -0.002838134765625, 0.0235595703125, -0.00787353515625, -0.00823974609375, -0.0213623046875, 0.006011962890625, 0.0419921875, -0.019287109375, 0.0074462890625, 0.014892578125, 0.01007080078125, -0.00358...
[ 40266, 102158, 1295, 14364, 53, 14602, 959, 30646, 89554, 217225, 11435, 60875, 214, 1238, 3949, 3742, 123996, 174350, 12353, 17780, 31068, 724, 126, 53400, 759, 65918, 11627, 43101, 73372, 22968, 27331, 10074, 176769, 53975, 23660, 503, 864, ...
[ 0.1802978515625, 0.177734375, 0.16064453125, 0.133056640625, 0.08624267578125, 0.002655029296875, 0.09307861328125, 0.1754150390625, 0.1239013671875, 0.21484375, 0.134521484375, 0.197021484375, 0.015472412109375, 0.07501220703125, 0.0316162109375, 0.1651611328125, 0.10595703125, 0....
embed
9044588_c0
9044588
fsharp
0
Title: F# LINQ lastOrDefault unix Epoch Problem title: F# LINQ lastOrDefault unix Epoch Tags: linq-to-sql, f%23, linq, query-expressions Problem: F# LINQ lastOrDefault unix Epoch I am learning LINQ with F#. I want to know how to use lastOrDefault. If I have a SQL Server data table called Days, which store some date, I ...
F# LINQ lastOrDefault unix Epoch F# LINQ lastOrDefault unix Epoch linq-to-sql f%23 linq query-expressions LINQ Epoch F# LINQ lastOrDefault unix Epoch I am learning LINQ with F#. I want to know how to use lastOrDefault. If I have a SQL Server data table called Days, which store some date, I want to write a query to sele...
[ 0.01422119140625, 0.01080322265625, 0.007537841796875, 0.016845703125, -0.024169921875, -0.009033203125, 0.005859375, -0.0034942626953125, -0.01513671875, -0.0250244140625, -0.0081787109375, 0.01141357421875, 0.016357421875, 0.0054931640625, -0.00185394287109375, -0.00927734375, -0.0...
[ 563, 4904, 46610, 2737, 4568, 19060, 187423, 11, 7136, 51, 4084, 43816, 3581, 6, 96, 44982, 188, 99247, 1238, 3742, 41, 1294, 204629, 52080, 678, 3714, 3642, 4527, 80866, 22687, 2053, 23180, 97292, 4343, 5622, 33022, 36849, 2174, 2685, 11...
[ 0.1256103515625, 0.1898193359375, 0.19970703125, 0.23779296875, 0.2352294921875, 0.227783203125, 0.156982421875, 0.1832275390625, 0.197265625, 0.1378173828125, 0.102783203125, 0.161376953125, 0.1942138671875, 0.0144805908203125, 0.0838623046875, 0.227294921875, 0.1162109375, 0.1689...
embed
43081974_c0
43081974
fsharp
0
Title: Is there a bug in Series.hasNot? Problem title: Is there a bug in Series.hasNot? Tags: deedle, f%23, series Problem: Is there a bug in Series.hasNot? The help for function Series.hasNot in Deedle says: Returns true when the series does not contains value for the specified key The function does not seem to be wor...
Is there a bug in Series.hasNot? Is there a bug in Series.hasNot? deedle f%23 series Series.hasNot Deedle Returns Party Is there a bug in Series.hasNot? The help for function Series.hasNot in Deedle says: Returns true when the series does not contains value for the specified key The function does not seem to be working...
[ -0.0120849609375, 0.0208740234375, 0.01336669921875, 0.000652313232421875, -0.016357421875, -0.0240478515625, 0.0159912109375, -0.004608154296875, -0.00909423828125, 0.05078125, -0.0322265625, 0.0380859375, -0.004241943359375, -0.00142669677734375, 0.017822265625, -0.000370025634765625...
[ 2071, 2685, 10, 54608, 23, 64876, 5, 10557, 122116, 8, 297, 133, 1238, 3949, 3742, 36549, 262, 173340, 31016, 4358, 32354, 29568, 3229, 14602, 959, 70541, 34292, 58735, 22799, 20697, 27781, 2022, 132283 ]
[ 0.05023193359375, 0.0728759765625, 0.06280517578125, 0.1968994140625, 0.0670166015625, 0.231689453125, 0.015045166015625, 0.17138671875, 0.294189453125, 0.0843505859375, 0.1541748046875, 0.1900634765625, 0.031585693359375, 0.00732421875, 0.12744140625, 0.2030029296875, 0.113037109375...
embed
5535425_c0
5535425
fsharp
0
Title: help me explain this F# recursive example program Problem title: help me explain this F# recursive example program Tags: f%23, recursion Problem: help me explain this F# recursive example program let rec aggregateList (f:int->int->int) init list = match list with | [] -> init | hd::tl -> let rem = aggregateList ...
help me explain this F# recursive example program help me explain this F# recursive example program f%23 recursion f:int hd::tl Interactive help me explain this F# recursive example program Got this example from "Functional Programming for the Real world" by Thomas Petricek I don't understand in second branch in that p...
[ 0.006072998046875, -0.00482177734375, 0.00225830078125, 0.0089111328125, -0.0010223388671875, -0.004852294921875, 0.0026397705078125, 0.01806640625, -0.00164031982421875, -0.0010986328125, 0.00469970703125, -0.01214599609375, 0.002349853515625, 0.01165771484375, 0.0230712890625, -0.025...
[ 4358, 163, 73342, 903, 563, 4904, 195625, 5844, 27781, 1528, 1238, 3949, 3742, 1830, 4288, 26488, 18, 141, 5337, 71232, 97249, 10763, 27958, 100, 5120, 8999, 14978, 73016, 41524, 28219, 17932, 32845, 206, 103510, 14858, 14194 ]
[ 0.08367919921875, 0.0897216796875, 0.1912841796875, 0.09124755859375, 0.1268310546875, 0.190673828125, 0.2216796875, 0.10052490234375, 0.22607421875, 0.1591796875, 0.134765625, 0.0401611328125, 0.152587890625, 0.02117919921875, 0.134521484375, 0.21435546875, 0.03155517578125, 0.110...
embed
24465977_c0
24465977
fsharp
0
Title: Currying functions with format dependent types Problem title: Currying functions with format dependent types Tags: f%23 Problem: Currying functions with format dependent types As far as I'm aware, F# doesn't handle printfn like it does other functions because of it's type dependence on the string parameter. Coul...
Currying functions with format dependent types Currying functions with format dependent types f%23 Currying Currying functions with format dependent types As far as I'm aware, F# doesn't handle printfn like it does other functions because of it's type dependence on the string parameter. Could someone explain to me why ...
[ 0.0118408203125, -0.000885009765625, 0.0208740234375, 0.01416015625, -0.009765625, 0.007415771484375, 0.007720947265625, -0.007171630859375, 0.0194091796875, -0.011474609375, 0.0196533203125, -0.0390625, -0.0111083984375, -0.0186767578125, 0.003265380859375, -0.01324462890625, -0.006...
[ 17065, 1294, 214, 32354, 678, 9384, 108750, 52895, 1238, 3949, 3742, 563, 4904, 22027, 18, 34831, 28412, 14783, 1884, 10644, 215131, 79315, 171859, 73342, 15400, 56282, 20594, 18499, 53498, 47, 25, 11, 33079, 25072, 3871, 15190, 143726, 8668,...
[ 0.10247802734375, 0.1453857421875, 0.06988525390625, 0.18212890625, 0.0836181640625, 0.207275390625, 0.1702880859375, 0.2132568359375, 0.05010986328125, 0.021392822265625, 0.1204833984375, 0.12841796875, 0.2020263671875, 0.01275634765625, 0.03350830078125, 0.119140625, 0.175048828125...
embed
59651300_c0
59651300
fsharp
0
Title: Assigning Value to StringValue In F# Problem title: Assigning Value to StringValue In F# Tags: f%23 Problem: Assigning Value to StringValue In F# I am working though this example of the Open XML SDK using F# When I get to this line of code sheet.Id = spreadsheetDocument.WorkbookPart.GetIdOfPart(worksheetPart) I ...
Assigning Value to StringValue In F# Assigning Value to StringValue In F# f%23 Assigning Value StringValue sheet.Id spreadsheetDocument.WorkbookPart.GetIdOfPart sheet.Id.Value document.WorkbookPart.GetIdOfPart Assigning Value to StringValue In F# I am working though this example of the Open XML SDK using F# When I get ...
[ 0.003997802734375, 0.002716064453125, 0.0008087158203125, 0.025146484375, -0.0107421875, -0.0137939453125, 0.00396728515625, -0.01361083984375, 0.00154876708984375, 0.0419921875, 0.0205078125, 0.032958984375, 0.003997802734375, 0.0125732421875, 0.025390625, -0.01519775390625, 0.00817...
[ 1301, 31304, 190060, 47, 23351, 214, 856, 50770, 360, 563, 4904, 1238, 3742, 155434, 71, 93403, 7816, 239469, 108259, 14137, 58229, 132887, 12937, 20697, 27781, 13527, 92537, 45461, 18151, 56574, 18831, 131527, 29479, 1884, 15700, 3917, 95486, ...
[ 0.0673828125, 0.2381591796875, 0.249267578125, 0.1116943359375, 0.2139892578125, 0.1236572265625, 0.221435546875, 0.2467041015625, 0.033294677734375, 0.1395263671875, 0.201904296875, 0.0224151611328125, 0.1036376953125, 0.1446533203125, 0.0285491943359375, 0.04541015625, 0.1231689453...
embed
31021025_c0
31021025
fsharp
0
Title: Easiest way of defining and using of Global Variable Problem title: Easiest way of defining and using of Global Variable Tags: variables, f%23, global Problem: Easiest way of defining and using of Global Variable "first part" &&&& fun _ -> let ident "second part" &&&& fun _ -> ident .... I need to use variable "...
Easiest way of defining and using of Global Variable Easiest way of defining and using of Global Variable variables f%23 global of Easiest Global Variable Easiest way of defining and using of Global Variable I need to use variable "ident". I just need to pass value of variable from first part of test to second one... I...
[ -0.01141357421875, -0.004974365234375, -0.0225830078125, 0.006805419921875, 0.0208740234375, -0.0038299560546875, 0.00128936767578125, 0.0115966796875, 0.0031890869140625, -0.025390625, 0, 0.0216064453125, -0.0242919921875, 0.0174560546875, 0.033935546875, 0.01904296875, -0.000514984...
[ 241, 1544, 525, 3917, 111, 13204, 449, 136, 17368, 13453, 84572, 2886, 77336, 1238, 3949, 3742, 7964, 87, 3871, 4527, 52128, 1660, 27875, 34292, 1295, 5117, 2831, 3034, 47, 17932, 1632, 26458, 23468, 3642, 61924, 11522, 6528, 9842, 1679, ...
[ 0.07342529296875, 0.2073974609375, 0.1302490234375, 0.1156005859375, 0.05523681640625, 0.2001953125, 0.061309814453125, 0.0689697265625, 0.1641845703125, 0.2149658203125, 0.248046875, 0.1669921875, 0.31201171875, 0.09307861328125, 0.0928955078125, 0.16845703125, 0.2144775390625, 0....
embed
5963445_c0
5963445
fsharp
0
Title: Raise Unit of Measure type to specificed power Problem title: Raise Unit of Measure type to specificed power Tags: f%23 Problem: Raise Unit of Measure type to specificed power Is it possible to somehow create a pow function for measure types? The pow function in f# only takes int as parameter, and then pow funct...
Raise Unit of Measure type to specificed power Raise Unit of Measure type to specificed power f%23 Raise Unit Measure Math x:float y:int Raise Unit of Measure type to specificed power Is it possible to somehow create a pow function for measure types? The pow function in f# only takes int as parameter, and then pow func...
[ -0.007720947265625, -0.017578125, 0.027587890625, -0.01141357421875, 0.007537841796875, -0.0146484375, -0.00150299072265625, -0.00970458984375, 0.0220947265625, -0.005126953125, -0.007720947265625, -0.003936767578125, 0.0108642578125, 0.004150390625, 0.0196533203125, -0.01397705078125,...
[ 9202, 13, 46640, 111, 1215, 11, 56851, 10644, 47, 29458, 297, 14537, 1238, 3742, 78804, 1022, 52347, 257, 113, 4288, 442, 7722, 209303, 28282, 10, 23827, 32354, 100, 72350, 52895, 4904, 4734, 51776, 23, 18, 237, 171859, 18507, 21917, 54, ...
[ 0.1820068359375, 0.011322021484375, 0.161376953125, 0.02972412109375, 0.09417724609375, 0.113525390625, 0.04754638671875, 0.18798828125, 0.0672607421875, 0.196533203125, 0.03369140625, 0.1708984375, 0.10888671875, 0.0711669921875, 0.1529541015625, 0.030242919921875, 0.1295166015625, ...
embed
18298691_c1
18298691
fsharp
1
1 .. 1000000 do (fun () -> 1 + 1) () |> ignore // reflection evaluation ~ 700 msec for i in 1 .. 1000000 do reflection () |> ignore // naive expression tree ~ 19 msec for i in 1 .. 1000000 do expressionTree.Invoke () |> ignore Something is clearly going wrong here. The question is, what? EDIT: the same behaviour also ...
1 .. 1000000 do (fun () -> 1 + 1) () |> ignore // reflection evaluation ~ 700 msec for i in 1 .. 1000000 do reflection () |> ignore // naive expression tree ~ 19 msec for i in 1 .. 1000000 do expressionTree.Invoke () |> ignore Something is clearly going wrong here. The question is, what? EDIT: the same behaviour also ...
[ 0.00726318359375, 0.0157470703125, 0.0133056640625, -0.01397705078125, -0.006072998046875, 0.0034942626953125, 0.0179443359375, -0.0093994140625, -0.002960205078125, -0.056884765625, -0.01007080078125, 0.0361328125, -0.007476806640625, 0.016357421875, 0.018310546875, 0.007171630859375,...
[ 106, 1468, 805, 28568, 54, 16498, 33079, 997, 4879, 124962, 44961, 1830, 219836, 10044, 347, 39797, 17, 24, 5844, 125195, 53201, 953, 62731, 4153, 23253, 200905, 83, 123019, 7730, 44691, 3688, 9655, 5701, 224833, 74918, 93774, 3467, 88684, ...
[ 0.108642578125, 0.1258544921875, 0.1636962890625, 0.239501953125, 0.1507568359375, 0.22314453125, 0.033203125, 0.1729736328125, 0.1314697265625, 0.2333984375, 0.2330322265625, 0.09979248046875, 0.214599609375, 0.1414794921875, 0.007354736328125, 0.1866455078125, 0.0872802734375, 0....
embed
19214044_c0
19214044
fsharp
0
Title: Is FSharp.Data.DesignTime .NET 4.5 only? Problem title: Is FSharp.Data.DesignTime .NET 4.5 only? Tags: f%23-data, f%23 Problem: Is FSharp.Data.DesignTime .NET 4.5 only? I'm using FSharp.Data.1.1.10 in a .NET 4.0 project, and when I add FSharp.Data with Nuget, it creates a packages\FSharp.Data.1.1.10\lib\net40 di...
Is FSharp.Data.DesignTime .NET 4.5 only? Is FSharp.Data.DesignTime .NET 4.5 only? f%23-data f%23 FSharp.Data.DesignTime NET Is FSharp.Data.DesignTime .NET 4.5 only? I'm using FSharp.Data.1.1.10 in a .NET 4.0 project, and when I add FSharp.Data with Nuget, it creates a packages\FSharp.Data.1.1.10\lib\net40 directory whe...
[ 0.00634765625, 0.0191650390625, -0.00341796875, -0.01483154296875, -0.0003261566162109375, 0.0181884765625, 0.00439453125, 0.003448486328125, -0.005706787109375, 0.00909423828125, -0.0054931640625, -0.0294189453125, -0.00347900390625, -0.006317138671875, -0.009033203125, 0.014831542968...
[ 2071, 93774, 3467, 254, 137989, 128640, 70059, 5, 17777, 60061, 4734, 1238, 27495, 10135, 3742, 6, 17368, 83783, 963, 40401, 13452, 15190, 678, 1429, 3794, 28282, 98169, 36381, 5612, 1179, 2839, 14364, 3884, 1181, 136, 10142, 2154, 9563, 46...
[ 0.0679931640625, 0.136962890625, 0.2198486328125, 0.22119140625, 0.2044677734375, 0.211669921875, 0.242431640625, 0.06689453125, 0.1883544921875, 0.27001953125, 0.137939453125, 0.050537109375, 0.0081787109375, 0.0838623046875, 0.08642578125, 0.005950927734375, 0.08294677734375, 0.1...
embed
25494856_c0
25494856
fsharp
0
Title: Why can&#x27;t you write &quot;(::) 1 [2]&quot; the way you can write &quot;(+) 1 2&quot; in F#? Problem title: Why can&#x27;t you write &quot;(::) 1 [2]&quot; the way you can write &quot;(+) 1 2&quot; in F#? Tags: f%23 Problem: Why can't you write "(::) 1 [2]" the way you can write "(+) 1 2" in F#? Put an F# in...
Why can&#x27;t you write &quot;(::) 1 [2]&quot; the way you can write &quot;(+) 1 2&quot; in F#? Why can&#x27;t you write &quot;(::) 1 [2]&quot; the way you can write &quot;(+) 1 2&quot; in F#? f%23 Why List.fold Error Unexpected Why can't you write "(::) 1 [2]" the way you can write "(+) 1 2" in F#? Put an F# infix op...
[ -0.0025634765625, -0.01226806640625, 0.00726318359375, -0.00244140625, 0.00640869140625, -0.00909423828125, -0.0091552734375, 0.005706787109375, 0.018310546875, -0.0277099609375, 0.0223388671875, -0.028076171875, 0.017333984375, 0.00726318359375, -0.004119873046875, -0.0220947265625, ...
[ 44084, 831, 3768, 18, 33022, 41502, 12, 106, 33579, 102817, 116, 563, 4904, 3917, 1238, 3742, 32036, 42822, 212059, 992, 83613, 13, 58, 23, 55923, 39933, 1620, 27853, 68991, 1884, 10, 32354, 4488, 678, 1984, 25553, 7, 70, 31635 ]
[ 0.0712890625, 0.0794677734375, 0.04095458984375, 0.030975341796875, 0.1357421875, 0.007110595703125, 0.1036376953125, 0.115478515625, 0.1365966796875, 0.16259765625, 0.146484375, 0.132080078125, 0.2054443359375, 0.0160369873046875, 0.047882080078125, 0.049407958984375, 0.098510742187...
embed
63237861_c1
63237861
fsharp
1
gridRowsUp @ gridRowsDown Ideally, I'd like to process the data lines in one go but skip and record the location of, the blank line in the middle. I thought about finding the first blank line and rebuild a list without it (since I now know the index), but it's convoluted since I need to find the first one, then find t...
gridRowsUp @ gridRowsDown Ideally, I'd like to process the data lines in one go but skip and record the location of, the blank line in the middle. I thought about finding the first blank line and rebuild a list without it (since I now know the index), but it's convoluted since I need to find the first one, then find t...
[ -0.007476806640625, 0.0302734375, 0.01312255859375, 0.0179443359375, -0.017578125, -0.0029754638671875, 0.02734375, 0.0224609375, 0.021728515625, 0.0361328125, -0.00848388671875, -0.0050048828125, 0.0003108978271484375, 0.03271484375, 0.01141357421875, 0.00933837890625, -0.0027160644...
[ 120067, 12724, 19725, 53234, 1374, 8331, 7710, 41143, 1884, 9433, 2053, 124519, 23, 1632, 738, 1284, 21658, 17164, 31913, 44237, 13315, 86991, 17569, 90791, 5117, 456, 177149, 5303, 15490, 3714, 63262, 23232, 7413, 7279, 33740, 4173, 35064, 4...
[ 0.191650390625, 0.119384765625, 0.0953369140625, 0.20068359375, 0.064453125, 0.1058349609375, 0.1280517578125, 0.0911865234375, 0.10406494140625, 0.153564453125, 0.1256103515625, 0.1541748046875, 0.014556884765625, 0.04986572265625, 0.118408203125, 0.011932373046875, 0.1654052734375,...
embed
38923144_c0
38923144
fsharp
0
Title: Issue With Factorial Function Problem title: Issue With Factorial Function Tags: factorial, f%23 Problem: Issue With Factorial Function I have been trying to write a program which prints out a factorial without actually using recursion. Here is the code let factorial x = let mutable n = x while n > 0 do let resu...
Issue With Factorial Function Issue With Factorial Function factorial f%23 Issue Factorial n-1 Issue With Factorial Function I have been trying to write a program which prints out a factorial without actually using recursion. Here is the code The issue is that when I try to run the code it tells me that the expected re...
[ -0.01104736328125, 0.01068115234375, 0.01422119140625, 0.0108642578125, 0.0010833740234375, -0.01153564453125, 0.01043701171875, -0.0001583099365234375, -0.009033203125, -0.005950927734375, 0.000789642333984375, 0.0007476806640625, -0.00567626953125, -0.0074462890625, 0.020751953125, -...
[ 223317, 17106, 117969, 15403, 28670, 10763, 31461, 1238, 3949, 3742, 653, 5759, 31577, 33022, 1528, 28412, 1810, 15490, 20653, 17368, 195625, 1830, 11853, 18151, 31089, 9790, 11675, 14192, 163, 450, 84751, 16750, 83, 10, 25072, 162, 107730, 1...
[ 0.21337890625, 0.144775390625, 0.2476806640625, 0.202392578125, 0.1749267578125, 0.039825439453125, 0.2230224609375, 0.0933837890625, 0.114990234375, 0.197998046875, 0.021087646484375, 0.1317138671875, 0.09063720703125, 0.1195068359375, 0.1502685546875, 0.159423828125, 0.098083496093...
embed
44661347_c1
44661347
fsharp
1
23 -> C:*****\WebApplication23\WebApplication23\bin\Release\net452\win7-x86\WebApplication23.exe 2>------ Publish started: Project: WebApplication23, Configuration: Release Any CPU ------ All build submissions in a build must use project instances originating from the same project collection. 2>Publish failed due to bu...
23 -> C:*****\WebApplication23\WebApplication23\bin\Release\net452\win7-x86\WebApplication23.exe 2>------ Publish started: Project: WebApplication23, Configuration: Release Any CPU ------ All build submissions in a build must use project instances originating from the same project collection. 2>Publish failed due to bu...
[ -0.0113525390625, 0.02294921875, -0.0057373046875, 0.000518798828125, -0.013916015625, 0.005584716796875, -0.028076171875, -0.03173828125, 0.0022430419921875, 0.039306640625, 0.01153564453125, -0.03173828125, 0.035400390625, -0.0029144287109375, 0.00457763671875, -0.01348876953125, -...
[ 1105, 33079, 313, 12, 57506, 41872, 30474, 47677, 182867, 3742, 7568, 4332, 133, 6991, 1179, 170265, 9494, 50775, 15276, 46480, 116, 110405, 67325, 1495, 26859, 27331, 4002, 59994, 152590, 28541, 86039, 3164, 45367, 1614, 54916, 23, 8110, 452...
[ 0.25732421875, 0.09674072265625, 0.0830078125, 0.06695556640625, 0.03375244140625, 0.016357421875, 0.1275634765625, 0.1376953125, 0.204345703125, 0.263671875, 0.126708984375, 0.008544921875, 0.09979248046875, 0.0491943359375, 0.06109619140625, 0.22265625, 0.04425048828125, 0.080078...
embed
42073972_c0
42073972
fsharp
0
Title: Operators precedence and association Problem title: Operators precedence and association Tags: operators, f%23 Problem: Operators precedence and association I defined a XOR operator: let (.||.) x y = (x || y) && not(x && y) Such that true .||. true true .||. false do return false and true respectively. According...
Operators precedence and association Operators precedence and association operators f%23 Operators Operators precedence and association I defined a XOR operator: Such that do return false and true respectively. According to Hansen & Rischel , the && operator has higher precedence over the || operator (and the .||. oper...
[ 0.031494140625, 0.010009765625, 0.0004634857177734375, 0.021240234375, 0.001861572265625, -0.00029754638671875, 0.0220947265625, -0.01385498046875, -0.00433349609375, 0.0001430511474609375, -0.01361083984375, 0.0198974609375, 0.018310546875, -0.01611328125, 0.0059814453125, -0.00491333...
[ 150922, 7, 107671, 6620, 136, 125413, 39933, 1238, 3949, 3742, 87, 61924, 1193, 24638, 62771, 54, 30646, 98320, 29568, 107013, 129551, 68933, 619, 24116, 47515, 1230, 1556, 77546, 645, 6, 58745, 5, 5792, 15400, 50339, 135179, 47, 181653, 97...
[ 0.269287109375, 0.0220184326171875, 0.208251953125, 0.16015625, 0.118896484375, 0.2001953125, 0.300537109375, 0.010711669921875, 0.048797607421875, 0.0953369140625, 0.052703857421875, 0.1116943359375, 0.147216796875, 0.3037109375, 0.041748046875, 0.032745361328125, 0.213134765625, ...
embed