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
32618847_c0
32618847
fsharp
0
Title: Dispatcher.InvokeAsync in F# Problem title: Dispatcher.InvokeAsync in F# Tags: wpf, f%23, task-parallel-library, dispatcher Problem: Dispatcher.InvokeAsync in F# I can't understand how to translate this code to f#: var x = await Application.Current.Dispatcher.InvokeAsync(c); // the type of c is Func<int> If I tr...
Dispatcher.InvokeAsync in F# Dispatcher.InvokeAsync in F# wpf f%23 task-parallel-library dispatcher Dispatcher.InvokeAsync Application.Current.Dispatcher.InvokeAsync Func Async.AwaitTask Threading.DispatcherOperation Task Dispatcher.InvokeAsync in F# I can't understand how to translate this code to f#: If I try to do t...
[ -0.00311279296875, 0.0181884765625, 0.00994873046875, -0.005950927734375, -0.00144195556640625, -0.00653076171875, 0.0198974609375, 0.0150146484375, -0.0013427734375, -0.0260009765625, -0.0035858154296875, 0.0038909912109375, 0.005218505859375, 0.02197265625, 0.00762939453125, 0.002288...
[ 6206, 4453, 5372, 4153, 23253, 13, 284, 12654, 238, 23, 563, 4904, 39557, 1238, 3742, 66211, 6276, 1229, 141, 150, 2844, 58580, 257, 104921, 474, 15724, 44456, 28670, 634, 9874, 1042, 136719, 214, 156823, 9598, 28219, 3900, 19309, 903, 18...
[ 0.100830078125, 0.1683349609375, 0.135986328125, 0.03338623046875, 0.1910400390625, 0.08599853515625, 0.05224609375, 0.236328125, 0.1480712890625, 0.03466796875, 0.1434326171875, 0.1893310546875, 0.098388671875, 0.0963134765625, 0.12841796875, 0.13916015625, 0.050323486328125, 0.09...
embed
54809757_c0
54809757
fsharp
0
Title: Fable convert string to enum without match or lookup Problem title: Fable convert string to enum without match or lookup Tags: fable-f%23, f%23 Problem: Fable convert string to enum without match or lookup In Fsharp you can convert string to enum link follows: type Langs = | En = 0 | Afr = 1 let tryLang str = tr...
Fable convert string to enum without match or lookup Fable convert string to enum without match or lookup fable-f%23 f%23 Fable Langs Afr Enum.Parse Langs.En Cannot System.Enum.Parse Fable convert string to enum without match or lookup In Fsharp you can convert string to enum link follows: In fable I get the following ...
[ -0.0147705078125, -0.002777099609375, -0.0107421875, 0.0322265625, -0.0157470703125, 0.0015106201171875, -0.005615234375, -0.0084228515625, -0.0198974609375, -0.005218505859375, 0.01507568359375, -0.00909423828125, 0.0078125, 0.01251220703125, 0.013916015625, -0.006622314453125, 0.01...
[ 563, 2886, 96760, 79315, 47, 22, 316, 15490, 14858, 707, 6713, 2037, 1071, 2661, 420, 3742, 1238, 15786, 6121, 42, 357, 28636, 7768, 4171, 10869, 12353, 647, 2606, 89280, 254, 831, 3126, 28960, 25632, 18499, 3917, 142477, 19441, 4527, 638...
[ 0.1500244140625, 0.1934814453125, 0.1697998046875, 0.2171630859375, 0.10150146484375, 0.134765625, 0.225830078125, 0.0928955078125, 0.155517578125, 0.035888671875, 0.07830810546875, 0.10986328125, 0.1363525390625, 0.16064453125, 0.0777587890625, 0.06494140625, 0.0694580078125, 0.11...
embed
13589311_c0
13589311
fsharp
0
Title: What is the correct way to call DateTime.TryParse from F#? Problem title: What is the correct way to call DateTime.TryParse from F#? Tags: tryparse, f%23, .net Problem: What is the correct way to call DateTime.TryParse from F#? What is the correct way to call DateTime.TryParse from F#? I am trying to test some c...
What is the correct way to call DateTime.TryParse from F#? What is the correct way to call DateTime.TryParse from F#? tryparse f%23 .net F# What DateTime.TryParse What is the correct way to call DateTime.TryParse from F#? What is the correct way to call DateTime.TryParse from F#? I am trying to test some code from F# i...
[ 0.005279541015625, 0.01483154296875, 0.0216064453125, 0.0230712890625, -0.0194091796875, 0.0029296875, -0.0120849609375, -0.000934600830078125, 0.0107421875, -0.0128173828125, 0.0194091796875, 0.0223388671875, -0.01202392578125, 0.02099609375, 0.020263671875, 0.00518798828125, 0.0102...
[ 4865, 26785, 3917, 11782, 25512, 70059, 618, 1294, 28636, 184, 1295, 563, 4904, 47, 9790, 2500, 1238, 3742, 1179, 5, 3034, 18151, 212398, 27875, 842, 22819, 3934, 17932, 10750, 390, 18831, 23, 64, 6056, 29087, 6002, 86531, 55300, 138256, ...
[ 0.035400390625, 0.14306640625, 0.089599609375, 0.164306640625, 0.167724609375, 0.26953125, 0.07452392578125, 0.1654052734375, 0.191650390625, 0.1319580078125, 0.0841064453125, 0.127685546875, 0.2197265625, 0.0215301513671875, 0.155517578125, 0.173828125, 0.07916259765625, 0.1168212...
embed
28915237_c0
28915237
fsharp
0
Title: How to make a binary tree with unique indexes in F# Problem title: How to make a binary tree with unique indexes in F# Tags: binary-tree, f%23 Problem: How to make a binary tree with unique indexes in F# How do you write a recursive function to build a binary tree where leafs are (value,index) with index a uniqu...
How to make a binary tree with unique indexes in F# How to make a binary tree with unique indexes in F# binary-tree f%23 How MakeTree ran.Next Cow size-1 Dog Cat How to make a binary tree with unique indexes in F# How do you write a recursive function to build a binary tree where leafs are (value,index) with index a un...
[ -0.00927734375, 0.0101318359375, -0.006103515625, -0.016357421875, 0.0033111572265625, -0.0036773681640625, -0.018798828125, -0.01165771484375, 0.009765625, -0.041259765625, -0.0230712890625, -0.019287109375, 0.003631591796875, 0.0205078125, 0.028564453125, -0.005859375, 0.025390625,...
[ 11249, 3249, 2394, 6635, 53201, 678, 36998, 63262, 90, 563, 4904, 47, 62600, 1238, 3742, 26176, 62731, 13, 13028, 81280, 1311, 434, 13267, 5759, 41129, 18826, 33022, 195625, 5844, 32354, 45367, 95, 2407, 621, 27494, 4711, 208479, 892, 1505,...
[ 0.032928466796875, 0.089599609375, 0.17626953125, 0.1549072265625, 0.26611328125, 0.0709228515625, 0.250244140625, 0.1905517578125, 0.10076904296875, 0.11376953125, 0.2135009765625, 0.002410888671875, 0.21435546875, 0.041168212890625, 0.10760498046875, 0.05938720703125, 0.18542480468...
embed
648193_c0
648193
fsharp
0
Title: F# convert Array2 into a list Problem title: F# convert Array2 into a list Tags: f%23, list Problem: F# convert Array2 into a list I'm still new to functional programming so if I can't figure out how to do something I revert back to procedural style. I found a way to get around having to convert to a list but I'...
F# convert Array2 into a list F# convert Array2 into a list f%23 list Array2 Array2.init Array2.mapi Array2.iter F# convert Array2 into a list I'm still new to functional programming so if I can't figure out how to do something I revert back to procedural style. I found a way to get around having to convert to a list b...
[ 0.0145263671875, -0.0113525390625, 0.004852294921875, 0.00506591796875, 0.003204345703125, 0.03515625, -0.01708984375, 0.00592041015625, 0.0089111328125, 0.0013427734375, 0.0228271484375, 0.0296630859375, 0.0179443359375, -0.00982666015625, -0.0167236328125, -0.0135498046875, -0.0062...
[ 563, 4904, 96760, 69253, 53, 304, 3934, 10, 5303, 1238, 3949, 3742, 5442, 217, 1434, 16840, 3525, 123309, 56037, 87, 26366, 1810, 39531, 4420, 47, 59158, 141, 20623, 3917, 10932, 19441, 7464, 1884, 3714, 3642, 81887, 6626, 157955, 10298 ]
[ 0.132568359375, 0.190185546875, 0.18701171875, 0.1846923828125, 0.13232421875, 0.1949462890625, 0.1090087890625, 0.0904541015625, 0.245361328125, 0.1138916015625, 0.03265380859375, 0.130126953125, 0.1392822265625, 0.0135498046875, 0.054534912109375, 0.0828857421875, 0.049468994140625...
embed
67627387_c0
67627387
fsharp
0
Title: TypeShape and dynamic generics Problem title: TypeShape and dynamic generics Tags: generics, f%23, casting Problem: TypeShape and dynamic generics I'm trying to use TypeSharp . So far, I only had to use shapeof<'T> in a following manner: type AwsConfig = { AccessKeyId : string DefaultRegion : string SecretAccess...
TypeShape and dynamic generics TypeShape and dynamic generics generics f%23 casting System.InvalidCastException TypeShape AwsConfig AccessKeyId DefaultRegion SecretAccessKey Shape.FSharpRecord ShapeFSharpRecord awsConfigInstance.GetType TypeShape.Create IShapeFSharpRecord Unable FsConfig.Tests.Common Microsoft.FSharp.C...
[ -0.0025787353515625, 0.01806640625, -0.004669189453125, -0.0076904296875, 0.00159454345703125, -0.00848388671875, -0.00994873046875, 0.00946044921875, 0.01263427734375, 0.0263671875, -0.001190185546875, -0.009521484375, 0.00469970703125, -0.0126953125, 0.005615234375, 0.00616455078125,...
[ 60457, 40798, 1081, 136, 84079, 189534, 1238, 3949, 3742, 176050, 12353, 7013, 174830, 63928, 76324, 83671, 40266, 162429, 1021, 54601, 39008, 26531, 7224, 3467, 32271, 19725, 116071, 196707, 63784, 36381, 254, 563, 111337, 7244, 50886, 39029, ...
[ 0.215087890625, 0.2315673828125, 0.1358642578125, 0.054931640625, 0.195556640625, 0.20703125, 0.016387939453125, 0.02679443359375, 0.12548828125, 0.1640625, 0.06512451171875, 0.09130859375, 0.0618896484375, 0.118896484375, 0.0579833984375, 0.1414794921875, 0.09375, 0.113037109375, ...
embed
1711922_c0
1711922
fsharp
0
Title: How to optimize splitting in F# more? Problem title: How to optimize splitting in F# more? Tags: optimization, simplification, f%23 Problem: How to optimize splitting in F# more? This code is splitting a list in two pieces by a predicate that take a list and return false in the moment of splitting. let split pre...
How to optimize splitting in F# more? How to optimize splitting in F# more? optimization simplification f%23 How x::xs x::l Seq.skip Seq.length Seq.toList How to optimize splitting in F# more? This code is splitting a list in two pieces by a predicate that take a list and return false in the moment of splitting. Do som...
[ -0.0037994384765625, 0.006378173828125, 0.008544921875, -0.0146484375, -0.028076171875, 0.007110595703125, 0.0000667572021484375, 0.000005155801773071289, 0.000881195068359375, -0.0079345703125, 0.019287109375, 0.028076171875, -0.0029754638671875, 0.00299072265625, 0.00927734375, 0.000...
[ 11249, 15572, 20650, 65450, 1916, 23, 563, 4904, 1286, 47, 87235, 162365, 1238, 3949, 3742, 1022, 425, 7, 141, 503, 864, 44024, 23986, 188, 154663, 3293, 18151, 83, 10, 5303, 6626, 126371, 390, 1653, 2063, 5646, 30646, 98320, 3095, 93002,...
[ 0.053924560546875, 0.200439453125, 0.1014404296875, 0.2347412109375, 0.1461181640625, 0.0516357421875, 0.1649169921875, 0.229248046875, 0.1168212890625, 0.032012939453125, 0.174072265625, 0.1868896484375, 0.0809326171875, 0.02752685546875, 0.13037109375, 0.0604248046875, 0.0734252929...
embed
7928438_c0
7928438
fsharp
0
Title: Meaningful errors during parsing with FSyacc Problem title: Meaningful errors during parsing with FSyacc Tags: error-handling, f%23, fsyacc Problem: Meaningful errors during parsing with FSyacc I'm using fsyacc/fslex from F# Power Pack to parse some source code. To detect errors I use the following code: use inp...
Meaningful errors during parsing with FSyacc Meaningful errors during parsing with FSyacc error-handling f%23 fsyacc Meaningful FSyacc StreamReader File.OpenRead Lexing.LexBuffer FromTextReader Parser.start Lexer.tokenize lexbuf.EndPos pos.Line pos.Column e.Message System.String lexbuf.Lexeme Parse Last Meaningful erro...
[ 0.004241943359375, 0.00482177734375, -0.01287841796875, 0.0167236328125, 0.00927734375, 0.0120849609375, 0.005859375, -0.0037078857421875, -0.0274658203125, 0.00064849853515625, 0.015625, 0.00433349609375, -0.008056640625, -0.0189208984375, 0.006622314453125, 0.01202392578125, -0.010...
[ 1215, 11, 592, 7844, 18499, 20271, 366, 6953, 678, 93774, 395, 10060, 54885, 1238, 3949, 3742, 19834, 115061, 31345, 56, 42724, 103264, 99078, 214, 5267, 425, 7235, 18234, 28090, 174379, 2392, 2189, 17137, 6448, 33, 75675, 978, 420, 152378,...
[ 0.098388671875, 0.108154296875, 0.097412109375, 0.0816650390625, 0.2088623046875, 0.10504150390625, 0.158203125, 0.1083984375, 0.09942626953125, 0.1390380859375, 0.1795654296875, 0.1998291015625, 0.1158447265625, 0.08349609375, 0.035675048828125, 0.135986328125, 0.161376953125, 0.1...
embed
5143698_c0
5143698
fsharp
0
Title: Reading all lines in a file providing a relative path in .NET (F#) Problem title: Reading all lines in a file providing a relative path in .NET (F#) Tags: .net, filesystems, file-io, f%23 Problem: Reading all lines in a file providing a relative path in .NET (F#) I am looking for a method (I guess it is a static...
Reading all lines in a file providing a relative path in .NET (F#) Reading all lines in a file providing a relative path in .NET (F#) .net filesystems file-io f%23 Reading NET Syste..IO.File.ReadAllLines myfile.txt MapPath Reading all lines in a file providing a relative path in .NET (F#) I am looking for a method (I g...
[ -0.00811767578125, -0.0218505859375, 0.0283203125, 0.01385498046875, -0.004150390625, -0.0166015625, 0.0169677734375, 0.005126953125, -0.01446533203125, -0.061767578125, -0.007415771484375, -0.0013580322265625, -0.01025390625, 0.0185546875, 0.01031494140625, 0.001495361328125, 0.0032...
[ 104951, 756, 124519, 23, 11435, 101904, 35845, 60875, 5, 17777, 919, 4904, 1179, 16751, 846, 1238, 3949, 3742, 824, 17780, 174350, 31345, 43512, 93232, 759, 29822, 124326, 42719, 683, 10519, 16487, 55300, 201939, 35773, 2633, 40140, 18929, 10...
[ 0.206298828125, 0.164794921875, 0.2060546875, 0.046905517578125, 0.17431640625, 0.09906005859375, 0.272705078125, 0.22705078125, 0.025726318359375, 0.17578125, 0.0679931640625, 0.1527099609375, 0.1385498046875, 0.08575439453125, 0.143798828125, 0.059478759765625, 0.045745849609375, ...
embed
33510898_c0
33510898
fsharp
0
Title: How to solve &gt; Additional information: HRESULT: 0x8007000B Problem title: How to solve &gt; Additional information: HRESULT: 0x8007000B Tags: f%23 Problem: How to solve > Additional information: HRESULT: 0x8007000B An unhandled exception of type 'System.BadImageFormatException' occurred in ConsoleApplication3...
How to solve &gt; Additional information: HRESULT: 0x8007000B How to solve &gt; Additional information: HRESULT: 0x8007000B f%23 How Additional HRESULT How to solve > Additional information: HRESULT: 0x8007000B An unhandled exception of type 'System.BadImageFormatException' occurred in ConsoleApplication32.exe Addition...
[ -0.01104736328125, 0.02392578125, -0.01116943359375, 0.00726318359375, -0.00885009765625, 0.01953125, 0.0113525390625, -0.0029449462890625, 0.005462646484375, -0.01470947265625, 0.00836181640625, -0.0118408203125, 0.01141357421875, 0.0106201171875, 0.01708984375, 0.00011777877807617188...
[ 11249, 86869, 5386, 29117, 14, 43315, 4677, 572, 34465, 82643, 757, 425, 10253, 111178, 571, 1238, 3949, 3742, 51, 79628, 131527, 111, 10644, 84293, 157027, 216960, 102973, 257, 19279, 63928, 25, 74918, 2822, 23, 1657, 40777, 47677, 182867, ...
[ 0.048583984375, 0.1683349609375, 0.0340576171875, 0.056671142578125, 0.03851318359375, 0.0693359375, 0.07305908203125, 0.0927734375, 0.1090087890625, 0.1903076171875, 0.115234375, 0.076171875, 0.2498779296875, 0.218017578125, 0.1700439453125, 0.060333251953125, 0.0111083984375, 0.1...
embed
66622657_c0
66622657
fsharp
0
Title: F# has a discrepancy between func `lambda` and `lambda` |&gt; func Problem title: F# has a discrepancy between func `lambda` and `lambda` |&gt; func Tags: f%23 Problem: F# has a discrepancy between func `lambda` and `lambda` |> func I'm using the FSharpPlus library and there is a discrepancy between #r "nuget: F...
F# has a discrepancy between func `lambda` and `lambda` |&gt; func F# has a discrepancy between func `lambda` and `lambda` |&gt; func f%23 FSharpPlus FS0073 TypeFeasiblySubsumesType ty1 MemoizeN F# has a discrepancy between func `lambda` and `lambda` |> func I'm using the FSharpPlus library and there is a discrepancy b...
[ -0.00057220458984375, 0.0157470703125, 0.004241943359375, -0.000774383544921875, -0.006866455078125, 0.0004749298095703125, 0.0128173828125, 0.003082275390625, 0.004730224609375, -0.00909423828125, 0.00457763671875, 0.0147705078125, 0.0220947265625, 0.019287109375, 0.019287109375, 0.00...
[ 563, 4904, 1556, 17116, 107, 3180, 2408, 17721, 7477, 238, 143, 6492, 85, 136, 5386, 10, 1238, 3742, 93774, 3467, 254, 88225, 77110, 363, 60457, 30154, 1544, 38526, 96472, 11832, 196707, 2281, 418, 17443, 31, 20650, 839, 17368, 35773, 440...
[ 0.146484375, 0.2264404296875, 0.025970458984375, 0.090576171875, 0.1492919921875, 0.16259765625, 0.112548828125, 0.09747314453125, 0.1685791015625, 0.1180419921875, 0.088623046875, 0.223388671875, 0.2012939453125, 0.0703125, 0.039520263671875, 0.0263671875, 0.10498046875, 0.1375732...
embed
10386753_c0
10386753
fsharp
0
Title: Recursive query comprehensions (F# 3.0) Problem title: Recursive query comprehensions (F# 3.0) Tags: f%23 Problem: Recursive query comprehensions (F# 3.0) I am trying to define Bill Of Materials kind of queries using the recently introduced F# 3.0 query comprehension syntax. Though it is possible to define these...
Recursive query comprehensions (F# 3.0) Recursive query comprehensions (F# 3.0) f%23 Recursive Recursive query comprehensions (F# 3.0) I am trying to define Bill Of Materials kind of queries using the recently introduced F# 3.0 query comprehension syntax. Though it is possible to define these kind of queries using yiel...
[ 0.016357421875, 0.032470703125, 0.001739501953125, 0.02587890625, 0.01446533203125, 0.0018310546875, -0.01513671875, 0.0014801025390625, 0.01385498046875, -0.04638671875, 0.005126953125, -0.005462646484375, 0.00244140625, 0.0208740234375, 0.01495361328125, 0.01202392578125, -0.001602...
[ 853, 48650, 5844, 41, 1294, 46683, 3220, 63239, 919, 4904, 17596, 1238, 3949, 3742, 31577, 61924, 19893, 6619, 23994, 7, 8562, 10484, 65508, 563, 6889, 6002, 86531, 7722, 17368, 11180, 19388, 38, 40, 864, 23, 109005, 42486, 92635, 3900, 1...
[ 0.043212890625, 0.204833984375, 0.17041015625, 0.164794921875, 0.1103515625, 0.1507568359375, 0.177734375, 0.054534912109375, 0.0693359375, 0.1448974609375, 0.22021484375, 0.030914306640625, 0.029022216796875, 0.1190185546875, 0.0517578125, 0.1451416015625, 0.19189453125, 0.2089843...
embed
21570637_c0
21570637
fsharp
0
Title: Generics with constraints Problem title: Generics with constraints Tags: f%23 Problem: Generics with constraints type VBO<'T when 'T : (new : unit -> 'T) and 'T : struct and 'T :> ValueType> = ... type VAO = static member Create(vboList : VBO<'T> list) = ... Now when I do val a : VBO<Vector3> val b : VBO<float> ...
Generics with constraints Generics with constraints f%23 Generics VBO ValueType VAO Create Vector3 VAO.Create Generics with constraints Now when I do I just want my vboList to treat every type the same as long as they fulfill the following constraint <'T when 'T : (new : unit -> 'T) and 'T : struct and 'T :> ValueType>...
[ 0.0015716552734375, -0.0093994140625, -0.00616455078125, -0.0030975341796875, -0.00958251953125, -0.005859375, -0.014892578125, -0.0081787109375, 0.0078125, 0.003875732421875, -0.010009765625, -0.03955078125, 0.02392578125, -0.035400390625, -0.00830078125, -0.0017547607421875, 0.0233...
[ 88342, 28021, 678, 158, 2816, 4288, 1238, 3949, 3742, 310, 17398, 190060, 196707, 38901, 151313, 2609, 18770, 363, 63784, 1660, 3444, 759, 81, 837, 154663, 47, 85689, 11907, 10644, 5701, 4989, 211394, 25632, 618, 3229, 54936, 25072, 136, 36...
[ 0.1939697265625, 0.135009765625, 0.1075439453125, 0.090576171875, 0.197998046875, 0.1146240234375, 0.025604248046875, 0.042877197265625, 0.10516357421875, 0.16162109375, 0.2001953125, 0.2044677734375, 0.247802734375, 0.1492919921875, 0.05804443359375, 0.1400146484375, 0.112548828125,...
embed
33898648_c0
33898648
fsharp
0
Title: If Array.append has not mutable arguments partially applied then the lambda can be removed Problem title: If Array.append has not mutable arguments partially applied then the lambda can be removed Tags: lambda, f%23, arrays Problem: If Array.append has not mutable arguments partially applied then the lambda can ...
If Array.append has not mutable arguments partially applied then the lambda can be removed If Array.append has not mutable arguments partially applied then the lambda can be removed lambda f%23 arrays Array.append Array.fold arr2d If Array.append has not mutable arguments partially applied then the lambda can be remove...
[ -0.0142822265625, 0.0012969970703125, 0.006317138671875, 0.00384521484375, 0.000835418701171875, 0.0142822265625, 0.0179443359375, 0.0218505859375, 0.0205078125, 0.00421142578125, 0.0037994384765625, -0.004486083984375, -0.00830078125, 0.011474609375, 0.00811767578125, -0.0152587890625...
[ 69253, 53, 9007, 3611, 959, 842, 22819, 10750, 2878, 190659, 21, 6492, 85, 831, 186, 184750, 1556, 25958, 1238, 3742, 10298, 4778, 42822, 71, 111, 79315, 3871, 49878, 510, 4527, 25497, 18, 17378, 163, 450, 29459, 87388 ]
[ 0.155029296875, 0.14599609375, 0.10113525390625, 0.169677734375, 0.081787109375, 0.09222412109375, 0.1356201171875, 0.1669921875, 0.10009765625, 0.092529296875, 0.07891845703125, 0.2137451171875, 0.1976318359375, 0.03179931640625, 0.065673828125, 0.1903076171875, 0.0266876220703125, ...
embed
19624709_c1
19624709
fsharp
1
the async flow. I guess that's what one do with monothreaded javascript. What would be a real solution to this ? Would implementing supensions, like in F#, be the only way ? Code signals: Funscript, Async.RunSynchronously, RunSynchronously, workflow:Async, timeout:int, cancellationToken:CancellationToken, None, Cell, ...
the async flow. I guess that's what one do with monothreaded javascript. What would be a real solution to this ? Would implementing supensions, like in F#, be the only way ? Code signals: Funscript, Async.RunSynchronously, RunSynchronously, workflow:Async, timeout:int, cancellationToken:CancellationToken, None, Cell, ...
[ -0.00927734375, 0.00946044921875, -0.00007343292236328125, -0.015625, 0.004730224609375, -0.0040283203125, 0.00970458984375, -0.00555419921875, -0.00445556640625, -0.04248046875, -0.012939453125, 0.0274658203125, -0.0086669921875, -0.00006628036499023438, 0.0166015625, -0.0033416748046...
[ 70, 10, 12654, 238, 86608, 57767, 22460, 39116, 136951, 2806, 2773, 29806, 47, 903, 29479, 166, 79958, 563, 4904, 4734, 3917, 28864, 26073, 7, 28670, 32032, 62, 163321, 217835, 127, 1900, 79850, 28398, 4488, 118664, 1733, 6056, 4288, 126136...
[ 0.051239013671875, 0.060394287109375, 0.2491455078125, 0.171142578125, 0.277099609375, 0.0141754150390625, 0.13232421875, 0.175537109375, 0.260986328125, 0.029632568359375, 0.09979248046875, 0.1282958984375, 0.04498291015625, 0.07916259765625, 0.1195068359375, 0.06915283203125, 0.229...
embed
48013703_c0
48013703
fsharp
0
Title: How to efficiently search specific phrases in Array of words? Problem title: How to efficiently search specific phrases in Array of words? Tags: string, performance, f%23, arrays Problem: How to efficiently search specific phrases in Array of words? What I need is to look for phrases from array one in array two ...
How to efficiently search specific phrases in Array of words? How to efficiently search specific phrases in Array of words? string performance f%23 arrays How Array How to efficiently search specific phrases in Array of words? What I need is to look for phrases from array one in array two that contains words. Let`s say...
[ -0.003753662109375, -0.0050048828125, -0.0302734375, 0.031005859375, 0.0032196044921875, -0.01251220703125, 0.0184326171875, 0.0203857421875, 0.01068115234375, -0.0181884765625, 0.007659912109375, 0.03466796875, -0.0028076171875, 0.01220703125, 0.00116729736328125, 0.024169921875, 0....
[ 11249, 47, 93766, 538, 33938, 29458, 113860, 7, 23, 69253, 53, 111, 34153, 79315, 23718, 1238, 3949, 3742, 10298, 4778, 3871, 6713, 100, 1295, 1632, 6626, 70541, 16305, 1970, 126, 83, 23040, 104711, 7192, 28647, 2452, 39, 96759, 7986, 161...
[ 0.1021728515625, 0.05810546875, 0.2200927734375, 0.086181640625, 0.249267578125, 0.248291015625, 0.259033203125, 0.04620361328125, 0.0860595703125, 0.171875, 0.1640625, 0.1495361328125, 0.181640625, 0.1346435546875, 0.1688232421875, 0.0286865234375, 0.00457763671875, 0.072448730468...
embed
24449977_c0
24449977
fsharp
0
Title: f# idiomatic type resolution solution for resolving to the wrong type Problem title: f# idiomatic type resolution solution for resolving to the wrong type Tags: type-resolution, inline, f%23 Problem: f# idiomatic type resolution solution for resolving to the wrong type I'm just getting started with F# but I have...
f# idiomatic type resolution solution for resolving to the wrong type f# idiomatic type resolution solution for resolving to the wrong type type-resolution inline f%23 f# idiomatic type resolution solution for resolving to the wrong type I'm just getting started with F# but I have some code that is analogous to the fol...
[ -0.0064697265625, 0.004486083984375, 0.008544921875, -0.00811767578125, 0.012939453125, -0.01226806640625, -0.022216796875, -0.00567626953125, -0.005859375, -0.01422119140625, 0.00616455078125, 0.0120849609375, -0.00927734375, -0.00872802734375, 0.00909423828125, -0.006744384765625, ...
[ 1238, 4904, 49666, 9523, 10644, 158839, 29806, 100, 166996, 449, 47, 44691, 107, 166589, 23, 2256, 3742, 26859, 563, 18151, 83, 60223, 25632, 50339, 18499, 3293, 125195, 84751, 765, 21917, 257, 1284, 3688, 1556, 18, 2967, 47644, 16981 ]
[ 0.1168212890625, 0.18017578125, 0.1943359375, 0.09722900390625, 0.2030029296875, 0.1712646484375, 0.1004638671875, 0.0236053466796875, 0.1329345703125, 0.014404296875, 0.08514404296875, 0.171875, 0.060760498046875, 0.16064453125, 0.1163330078125, 0.087158203125, 0.1136474609375, 0....
embed
79466623_c0
79466623
fsharp
0
Title: How are functions introduced with the `member` keyword in a class related to those introduced with the `let` keyword? Problem title: How are functions introduced with the `member` keyword in a class related to those introduced with the `let` keyword? Tags: f%23 Problem: How are functions introduced with the `mem...
How are functions introduced with the `member` keyword in a class related to those introduced with the `let` keyword? How are functions introduced with the `member` keyword in a class related to those introduced with the `let` keyword? f%23 How How are functions introduced with the `member` keyword in a class related t...
[ 0.005035400390625, -0.005035400390625, 0.0157470703125, -0.003082275390625, -0.021484375, -0.00173187255859375, 0.0029754638671875, 0.01226806640625, 0.004302978515625, -0.0089111328125, -0.011962890625, 0.000606536865234375, 0.0052490234375, 0.02685546875, 0.0162353515625, -0.02197265...
[ 11249, 32354, 65508, 39, 27417, 166117, 18507, 62548, 1974, 678, 1238, 3742, 7, 563, 4904, 831, 2633, 32786, 44084, 6626, 12921, 959, 21094, 5351 ]
[ 0.0257568359375, 0.200927734375, 0.179931640625, 0.11083984375, 0.2451171875, 0.178955078125, 0.1656494140625, 0.09619140625, 0.185791015625, 0.02203369140625, 0.0076904296875, 0.007232666015625, 0.000946044921875, 0.0716552734375, 0.14892578125, 0.01544189453125, 0.1966552734375, ...
embed
69838381_c0
69838381
fsharp
0
Title: map multiple elements with same key in F# Problem title: map multiple elements with same key in F# Tags: algorithm, arraylist, arrays, f%23, list Problem: map multiple elements with same key in F# Suppose two sorted lists with same length, key value list let k = [1;1;2;2;3;3] , and a number list let n = [1;2;3;4...
map multiple elements with same key in F# map multiple elements with same key in F# algorithm arraylist arrays f%23 list map multiple elements with same key in F# Suppose two sorted lists with same length, key value list let k = [1;1;2;2;3;3] , and a number list let n = [1;2;3;4;5;6] . The ith position on both lists ma...
[ 0.00848388671875, 0.007598876953125, 0.01190185546875, -0.025146484375, -0.017578125, 0.004608154296875, 0.00408935546875, -0.0008087158203125, 0.0096435546875, 0.0093994140625, 0.0228271484375, 0.00811767578125, 0.017333984375, 0.01153564453125, -0.0269775390625, -0.01190185546875, ...
[ 22288, 48716, 80854, 678, 5701, 22799, 563, 4904, 234873, 10298, 53, 6562, 4778, 1238, 3742, 5303, 23, 6626, 17497, 140909, 34292, 472, 363, 96386, 14012, 653, 758, 910, 8962, 19069, 15044, 12638, 3789, 12830, 33000, 55257, 11249, 28282, 7,...
[ 0.2110595703125, 0.2376708984375, 0.21923828125, 0.074462890625, 0.1788330078125, 0.226806640625, 0.163818359375, 0.2364501953125, 0.1824951171875, 0.0994873046875, 0.018157958984375, 0.1719970703125, 0.048248291015625, 0.07598876953125, 0.1226806640625, 0.209228515625, 0.02587890625...
embed
3864034_c0
3864034
fsharp
0
Title: F#: Implementing interface with function name the same as the keyword begin Problem title: F#: Implementing interface with function name the same as the keyword begin Tags: keyword, f%23, identifier Problem: F#: Implementing interface with function name the same as the keyword begin I am trying to implement the ...
F#: Implementing interface with function name the same as the keyword begin F#: Implementing interface with function name the same as the keyword begin keyword f%23 identifier Implementing F#: Implementing interface with function name the same as the keyword begin I am trying to implement the IVector interface which is...
[ -0.0152587890625, 0.0072021484375, 0.00112152099609375, 0.01141357421875, -0.008056640625, -0.006134033203125, 0.000797271728515625, 0.0059814453125, 0.00186920166015625, -0.00787353515625, 0.0037994384765625, 0.037841796875, -0.010009765625, -0.00848388671875, 0.0159912109375, 0.00021...
[ 563, 4904, 12, 153941, 214, 101758, 678, 32354, 9351, 5701, 237, 166117, 9842, 1238, 3949, 3742, 42485, 31577, 29479, 7610, 13, 18770, 2831, 7244, 6609, 64010, 441, 37455, 141, 42, 210716, 32786, 132, 9790, 186992, 309, 83613, 372, 6820, ...
[ 0.1446533203125, 0.2320556640625, 0.033050537109375, 0.2198486328125, 0.0249786376953125, 0.26806640625, 0.087158203125, 0.2132568359375, 0.1390380859375, 0.1387939453125, 0.057098388671875, 0.251953125, 0.219970703125, 0.10760498046875, 0.032135009765625, 0.1173095703125, 0.17370605...
embed
3152572_c0
3152572
fsharp
0
Title: F# and MSBuild Tool (silverlight) Problem title: F# and MSBuild Tool (silverlight) Tags: f%23, msbuild-task, msbuild, silverlight Problem: F# and MSBuild Tool (silverlight) We are trying to use Static Resources within a 100% F# Silverlight application. Embeded within the XAML of the referencing control, everythi...
F# and MSBuild Tool (silverlight) F# and MSBuild Tool (silverlight) f%23 msbuild-task msbuild silverlight MSBuild Tool F# and MSBuild Tool (silverlight) We are trying to use Static Resources within a 100% F# Silverlight application. Embeded within the XAML of the referencing control, everything works. But once I pull t...
[ 0.005889892578125, 0.0177001953125, -0.0011138916015625, -0.002716064453125, -0.01531982421875, 0.006256103515625, -0.0086669921875, 0.0274658203125, 0.01171875, -0.0203857421875, 0.0032806396484375, -0.012939453125, -0.005340576171875, 0.01153564453125, 0.01312255859375, 0.00192260742...
[ 563, 4904, 136, 16265, 121137, 92285, 10801, 814, 20016, 1238, 3742, 68163, 177149, 1073, 115392, 31577, 4527, 71465, 238, 152055, 28032, 3555, 57035, 38415, 13482, 65415, 39456, 142447, 214, 6226, 26818, 43240, 50065, 1810, 444, 86669, 86685, ...
[ 0.1058349609375, 0.171142578125, 0.077880859375, 0.1116943359375, 0.2496337890625, 0.1815185546875, 0.0916748046875, 0.07318115234375, 0.1732177734375, 0.0611572265625, 0.08233642578125, 0.10272216796875, 0.2371826171875, 0.1455078125, 0.1749267578125, 0.01519775390625, 0.060546875, ...
embed
9470196_c0
9470196
fsharp
0
Title: Is this an F# 2.0 parser bug? Problem title: Is this an F# 2.0 parser bug? Tags: f%23, compiler-errors, parsing, compiler-bug Problem: Is this an F# 2.0 parser bug? Microsoft (R) F# 2.0 Interactive build 4.0.40219.1 I'm trying to define new record type: type TestOptions = { perRunGC : bool; collectGCStat : bool;...
Is this an F# 2.0 parser bug? Is this an F# 2.0 parser bug? f%23 compiler-errors parsing compiler-bug TestOptions FS0010 Unexpected Is this an F# 2.0 parser bug? Microsoft (R) F# 2.0 Interactive build 4.0.40219.1 I'm trying to define new record type: All is fine, but let's add one more field: And I am getting parser er...
[ -0.0106201171875, -0.006683349609375, -0.01953125, 0.0184326171875, -0.01080322265625, 0.0103759765625, -0.00823974609375, -0.00640869140625, -0.00066375732421875, 0.015380859375, -0.0020751953125, 0.0137939453125, 0.00775146484375, -0.017333984375, 0.019287109375, -0.00665283203125, ...
[ 2071, 903, 563, 4904, 16655, 366, 2189, 54608, 142, 1238, 3742, 9969, 34759, 188800, 6953, 85779, 8647, 39029, 93774, 7049, 963, 83613, 13, 7244, 1052, 5337, 71232, 45367, 1398, 121254, 9550, 2947, 31577, 61924, 3525, 17164, 10644, 3164, 58...
[ 0.0390625, 0.092041015625, 0.1221923828125, 0.213623046875, 0.2607421875, 0.171142578125, 0.16357421875, 0.1732177734375, 0.0093994140625, 0.080322265625, 0.09881591796875, 0.1029052734375, 0.1268310546875, 0.1378173828125, 0.0253448486328125, 0.1544189453125, 0.0875244140625, 0.14...
embed
38778216_c0
38778216
fsharp
0
Title: f# pattern match the opposite value Problem title: f# pattern match the opposite value Tags: f%23 Problem: f# pattern match the opposite value I want a simple function which give the opposite value - return v2 if v==v1; return v1 if v==v2. I tried the following: let oppose v v1 v2 = match v with | v1 -> v2 | v2 ...
f# pattern match the opposite value f# pattern match the opposite value f%23 FS0026 f# pattern match the opposite value I want a simple function which give the opposite value - return v2 if v==v1; return v1 if v==v2. I tried the following: But, I get the warnings: And it doesn't work as expected: I would expect to get ...
[ -0.0224609375, -0.003143310546875, -0.0191650390625, -0.009521484375, 0.01397705078125, -0.019775390625, -0.0281982421875, 0.0140380859375, 0.004730224609375, 0.0113525390625, 0.017578125, 0.012939453125, 0.017578125, 0.00052642822265625, 0.006500244140625, 0.0047607421875, 0.0032653...
[ 1238, 4904, 103510, 14858, 70, 198274, 34292, 3742, 93774, 4046, 3444, 8781, 32354, 8337, 30646, 81, 304, 2174, 69112, 334, 418, 5442, 37842, 25632, 1631, 6977, 18, 4488, 84751, 2806, 41206, 11, 17932, 11782, 44691 ]
[ 0.1036376953125, 0.178466796875, 0.2261962890625, 0.1663818359375, 0.026611328125, 0.226318359375, 0.1580810546875, 0.09063720703125, 0.036529541015625, 0.06524658203125, 0.06903076171875, 0.10467529296875, 0.1669921875, 0.05316162109375, 0.1383056640625, 0.1400146484375, 0.139770507...
embed
52572076_c0
52572076
fsharp
0
Title: How can I split a float (1,2) into 1 and 2 integers? Problem title: How can I split a float (1,2) into 1 and 2 integers? Tags: f%23 Problem: How can I split a float (1,2) into 1 and 2 integers? I'm learning F# and have an assignment where I have to treat a float as a coordinate. For example float 2.3 would be tr...
How can I split a float (1,2) into 1 and 2 integers? How can I split a float (1,2) into 1 and 2 integers? f%23 How How can I split a float (1,2) into 1 and 2 integers? I'm learning F# and have an assignment where I have to treat a float as a coordinate. For example float 2.3 would be treated as a coordinate (2.3) where...
[ 0.0084228515625, 0.0247802734375, -0.0240478515625, 0.002838134765625, -0.009033203125, -0.00002110004425048828, 0.0135498046875, -0.001312255859375, -0.00994873046875, -0.02001953125, -0.01361083984375, -0.0009918212890625, -0.025146484375, 0.014892578125, 0.0003223419189453125, -0.00...
[ 11249, 831, 87, 65450, 21917, 257, 2858, 4, 10461, 3934, 106, 136, 116, 892, 26255, 1238, 3949, 3742, 10, 52080, 563, 4904, 95486, 85689, 237, 176866, 13, 59811, 191607, 120883, 1022, 113, 1031, 74481, 678, 32354, 140909, 173, 18770, 2633...
[ 0.080078125, 0.07373046875, 0.034637451171875, 0.2264404296875, 0.215087890625, 0.1685791015625, 0.0518798828125, 0.039031982421875, 0.208251953125, 0.132080078125, 0.07489013671875, 0.145263671875, 0.1507568359375, 0.1304931640625, 0.165283203125, 0.052825927734375, 0.03036499023437...
embed
54111774_c1
54111774
fsharp
1
number '29' and line position '101'. Source=PresentationFramework Inner Exception 1: ArgumentException: Cannot bind to the target method because its signature or security transparency is not compatible with that of the delegate type. Code signals: System.Windows.Markup.XamlParseException, ArgumentException, WPF, the, ...
number '29' and line position '101'. Source=PresentationFramework Inner Exception 1: ArgumentException: Cannot bind to the target method because its signature or security transparency is not compatible with that of the delegate type. Code signals: System.Windows.Markup.XamlParseException, ArgumentException, WPF, the, ...
[ -0.0098876953125, 0.0390625, -0.00836181640625, -0.003509521484375, 0.005645751953125, 0.029541015625, 0.032470703125, -0.025634765625, -0.0031280517578125, 0.0123291015625, -0.0235595703125, -0.0155029296875, 0.0220947265625, 0.0213623046875, 0.00885009765625, -0.00958251953125, 0.0...
[ 14012, 4235, 136, 13315, 19069, 35046, 77641, 19273, 1015, 22062, 108386, 282, 18244, 137657, 5443, 63928, 13806, 112140, 19279, 4171, 10869, 68557, 47, 30388, 55300, 6637, 138256, 707, 48031, 3900, 16082, 27771, 959, 146731, 678, 102329, 13, ...
[ 0.1683349609375, 0.279296875, 0.06103515625, 0.177001953125, 0.2010498046875, 0.203369140625, 0.1915283203125, 0.058135986328125, 0.136962890625, 0.03680419921875, 0.0732421875, 0.0035400390625, 0.10382080078125, 0.203857421875, 0.09930419921875, 0.2008056640625, 0.08251953125, 0.2...
embed
33416816_c0
33416816
fsharp
0
Title: Moving object with a matrix ( 2d, f#) Problem title: Moving object with a matrix ( 2d, f#) Tags: drawing2d, matrix, f%23-interactive, f%23 Problem: Moving object with a matrix ( 2d, f#) I'm wondering if it is possible to move an object (for example a sphere) with a matrix. I've created a type: Ball and I've adde...
Moving object with a matrix ( 2d, f#) Moving object with a matrix ( 2d, f#) drawing2d matrix f%23-interactive f%23 Moving m.Translate Drawing2d.Matrix e.Graphics g.Transform drawing2d Moving object with a matrix ( 2d, f#) I'm wondering if it is possible to move an object (for example a sphere) with a matrix. I've creat...
[ -0.00213623046875, 0.00372314453125, 0.02294921875, -0.01495361328125, 0.0322265625, -0.00384521484375, -0.008056640625, 0.0198974609375, -0.00089263916015625, -0.0054931640625, -0.0157470703125, 0.003631591796875, 0.0026397705078125, -0.0255126953125, -0.023193359375, 0.012451171875, ...
[ 2501, 6496, 36746, 678, 10, 50944, 425, 116, 71, 1238, 4904, 188304, 304, 27495, 10433, 71232, 3742, 347, 62624, 19309, 18186, 14775, 4613, 87427, 5037, 149016, 2174, 7722, 47, 25813, 142, 157695, 75935, 10644, 21786, 49814, 55300, 147854, ...
[ 0.1546630859375, 0.1083984375, 0.2159423828125, 0.1363525390625, 0.0433349609375, 0.2308349609375, 0.16943359375, 0.1064453125, 0.06591796875, 0.042327880859375, 0.10064697265625, 0.09539794921875, 0.06268310546875, 0.025054931640625, 0.0318603515625, 0.011627197265625, 0.05541992187...
embed
39279861_c0
39279861
fsharp
0
Title: Where is &lt;option&gt; tag in websharper? Problem title: Where is &lt;option&gt; tag in websharper? Tags: websharper, f%23 Problem: Where is tag in websharper? I see here that the tag for <option> is marked as "colliding" which I assume has something to do with why when I have open WebSharper.Html.Client and am...
Where is &lt;option&gt; tag in websharper? Where is &lt;option&gt; tag in websharper? websharper f%23 Where WebSharper.Html.Client WebSharper.Html.Client.Tags Option Where is tag in websharper? I see here that the tag for <option> is marked as "colliding" which I assume has something to do with why when I have open Web...
[ 0.005523681640625, 0.019287109375, 0.0052490234375, -0.0234375, 0.00994873046875, -0.007049560546875, 0.0000095367431640625, -0.0086669921875, 0.004974365234375, -0.01129150390625, 0.0024566650390625, -0.005706787109375, 0.0054931640625, -0.0308837890625, 0.01324462890625, 0.0112915039...
[ 78662, 83, 1277, 109585, 5386, 7909, 23, 1467, 89280, 1264, 1238, 3742, 4002, 3467, 18, 7237, 150, 2517, 66448, 86769, 100, 94419, 62378, 6238, 9803, 16487, 5303, 69141, 959, 1957, 237, 19882, 28282, 12830, 16031, 15236, 1974, 136, 58593, ...
[ 0.1461181640625, 0.111083984375, 0.0159149169921875, 0.28662109375, 0.09765625, 0.258544921875, 0.0799560546875, 0.1353759765625, 0.202880859375, 0.225830078125, 0.007171630859375, 0.07305908203125, 0.08013916015625, 0.1541748046875, 0.053955078125, 0.0916748046875, 0.080810546875, ...
embed
15044815_c0
15044815
fsharp
0
Title: Manipulating an Fsharp list Problem title: Manipulating an Fsharp list Tags: f%23, filter, list, variable-length Problem: Manipulating an Fsharp list Ok so i've been playing around with F# the last few days and found some tutorials kicking around online (no solutions!) If i had the following list- let new = [ (1...
Manipulating an Fsharp list Manipulating an Fsharp list f%23 filter list variable-length Manipulating Fsharp Manipulating an Fsharp list Ok so i've been playing around with F# the last few days and found some tutorials kicking around online (no solutions!) If i had the following list- How would I filter this list to sh...
[ 0.01324462890625, 0.034912109375, -0.0174560546875, 0.016845703125, 0.0086669921875, 0.005584716796875, -0.01171875, 0.02490234375, 0.0140380859375, 0.0093994140625, -0.005615234375, -0.01226806640625, 0.016357421875, 0.028076171875, -0.019775390625, 0.0133056640625, 0.01416015625, ...
[ 221169, 26518, 563, 89280, 254, 5303, 1238, 3949, 3742, 46312, 77336, 23986, 75169, 10932, 4904, 57143, 1118, 51347, 1902, 25632, 11249, 2806, 903, 7639, 5117, 14012, 55769, 21115, 18912, 136, 17932, 23068, 47644, 32036, 120337, 2046, 29458, ...
[ 0.215576171875, 0.052093505859375, 0.12353515625, 0.1942138671875, 0.12841796875, 0.2208251953125, 0.0806884765625, 0.013397216796875, 0.1470947265625, 0.2548828125, 0.1929931640625, 0.12939453125, 0.0599365234375, 0.04718017578125, 0.171630859375, 0.10986328125, 0.0001220703125, 0...
embed
61964317_c0
61964317
fsharp
0
Title: error FS0001: The type &#x27;float&#x27; does not match the type &#x27;obj&#x27; Problem title: error FS0001: The type &#x27;float&#x27; does not match the type &#x27;obj&#x27; Tags: f%23 Problem: error FS0001: The type 'float' does not match the type 'obj' When I try to iterate through a 2darray of floats and t...
error FS0001: The type &#x27;float&#x27; does not match the type &#x27;obj&#x27; error FS0001: The type &#x27;float&#x27; does not match the type &#x27;obj&#x27; f%23 FS0001 array2D error FS0001: The type 'float' does not match the type 'obj' When I try to iterate through a 2darray of floats and try to compare an eleme...
[ 0.0267333984375, 0.0019989013671875, -0.0169677734375, -0.01165771484375, 0.0167236328125, -0.01141357421875, -0.0052490234375, 0.003631591796875, 0.00653076171875, 0.0238037109375, 0.0072021484375, 0.004425048828125, 0.0159912109375, -0.013427734375, -0.00848388671875, -0.0302734375, ...
[ 18499, 93774, 188735, 10644, 3768, 52347, 257, 14602, 959, 14858, 3522, 170, 10298, 304, 397, 9790, 8560, 8305, 116, 7092, 21917, 9821, 69101, 12830, 678, 23742, 2633, 188800, 176050, 31889, 40956, 4488 ]
[ 0.1444091796875, 0.1322021484375, 0.2445068359375, 0.18408203125, 0.036865234375, 0.19189453125, 0.1339111328125, 0.039459228515625, 0.108154296875, 0.164794921875, 0.126708984375, 0.1744384765625, 0.064208984375, 0.015533447265625, 0.0242156982421875, 0.0294647216796875, 0.140502929...
embed
74844575_c0
74844575
fsharp
0
Title: Is it possible to create a tree in F# where each Node also knows its parent? Problem title: Is it possible to create a tree in F# where each Node also knows its parent? Tags: f%23, functional-programming, tree Problem: Is it possible to create a tree in F# where each Node also knows its parent? The usual tree ty...
Is it possible to create a tree in F# where each Node also knows its parent? Is it possible to create a tree in F# where each Node also knows its parent? f%23 functional-programming tree Node Tree LeafData INodeData LeafNode InternalNode Is it possible to create a tree in F# where each Node also knows its parent? The u...
[ 0.01116943359375, 0.017822265625, 0.0025634765625, 0.00482177734375, 0.00335693359375, 0.000019669532775878906, -0.00958251953125, -0.00982666015625, -0.000888824462890625, -0.045166015625, -0.01312255859375, -0.00022029876708984375, -0.00787353515625, 0.0238037109375, 0, 0.00087356567...
[ 2071, 7722, 28282, 53201, 563, 4904, 12638, 438, 112, 2843, 93002, 49129, 442, 23, 1238, 3742, 123309, 28966, 101344, 2407, 137989, 31, 5021, 106745, 10, 6863, 115723, 10644, 33342, 1884, 4527, 5809, 11814, 7464, 76199, 17203, 110 ]
[ 0.00262451171875, 0.146728515625, 0.1483154296875, 0.260986328125, 0.1341552734375, 0.1954345703125, 0.072998046875, 0.1480712890625, 0.1368408203125, 0.06292724609375, 0.1409912109375, 0.16552734375, 0.02484130859375, 0.03509521484375, 0.0634765625, 0.0802001953125, 0.1351318359375,...
embed
17912509_c2
17912509
fsharp
2
Sharp.Core]Microsoft.FSharp.Core.Unit>::.ctor(string) Code signals: Sometimes, Method, RVA, FSharp.Core, Microsoft.FSharp.Core.PrintfFormat, Microsoft.FSharp.Core.Unit, System.IO.TextWriter, IL_0000, IL_0001, IL_0006, IL_000b, stloc.0, IL_000c, System.Console::get_Out, IL_0011, ldloc.0, IL_0012, Microsoft.FSharp.Core.P...
Sharp.Core]Microsoft.FSharp.Core.Unit>::.ctor(string) Code signals: Sometimes, Method, RVA, FSharp.Core, Microsoft.FSharp.Core.PrintfFormat, Microsoft.FSharp.Core.Unit, System.IO.TextWriter, IL_0000, IL_0001, IL_0006, IL_000b, stloc.0, IL_000c, System.Console::get_Out, IL_0011, ldloc.0, IL_0012, Microsoft.FSharp.Core.P...
[ 0.0152587890625, 0.000865936279296875, 0.02099609375, 0.000621795654296875, -0.0064697265625, -0.03173828125, -0.0032958984375, 0.0184326171875, 0.0140380859375, -0.01104736328125, -0.0064697265625, 0.003143310546875, -0.004547119140625, 0.00543212890625, 0.004425048828125, -0.00454711...
[ 197106, 5, 50886, 13, 113387, 36381, 3467, 254, 85600, 18, 12, 18770, 91693, 16, 28864, 26073, 7, 160193, 74644, 627, 16350, 93774, 7244, 112079, 420, 102973, 257, 12353, 17780, 174379, 1456, 2783, 4, 30219, 28568, 188735, 9508, 910, 55043,...
[ 0.2861328125, 0.037628173828125, 0.1734619140625, 0.1082763671875, 0.1201171875, 0.02142333984375, 0.1563720703125, 0.1715087890625, 0.1197509765625, 0.03009033203125, 0.01324462890625, 0.285400390625, 0.2281494140625, 0.0153350830078125, 0.2413330078125, 0.267333984375, 0.0793457031...
embed
28073341_c0
28073341
fsharp
0
Title: How do I intersect two Maps by their keys in F# Problem title: How do I intersect two Maps by their keys in F# Tags: functional-programming, dictionary, f%23, intersect Problem: How do I intersect two Maps by their keys in F# I want to interesct two F# Maps, which have common keys, into a Map that has the common...
How do I intersect two Maps by their keys in F# How do I intersect two Maps by their keys in F# functional-programming dictionary f%23 intersect How Maps Map How do I intersect two Maps by their keys in F# I want to interesct two F# Maps, which have common keys, into a Map that has the common keys and a tuple of both v...
[ 0.0224609375, -0.015869140625, 0.01153564453125, -0.004974365234375, -0.0034027099609375, 0.01055908203125, -0.003662109375, -0.0152587890625, 0.014404296875, -0.01495361328125, 0.008544921875, 0.04052734375, -0.00007152557373046875, 0.025634765625, 0.00823974609375, 0.005126953125, ...
[ 11249, 54, 87, 1940, 7, 24762, 6626, 103033, 390, 2363, 22799, 23, 563, 4904, 123309, 28966, 45, 10763, 1238, 3742, 42719, 3444, 7721, 15390, 765, 39210, 3934, 10, 1556, 8705, 15044, 142424, 442, 34292, 70, 138256, 9844, 1884, 25647, 2346...
[ 0.0985107421875, 0.064453125, 0.04266357421875, 0.2005615234375, 0.1961669921875, 0.15771484375, 0.18017578125, 0.2398681640625, 0.1170654296875, 0.0771484375, 0.192138671875, 0.05535888671875, 0.140869140625, 0.216064453125, 0.135009765625, 0.0867919921875, 0.0018310546875, 0.0521...
embed
77765728_c0
77765728
fsharp
0
Title: What does F#&#x27;s `box` keyword do and where is it documented? Problem title: What does F#&#x27;s `box` keyword do and where is it documented? Tags: f%23 Problem: What does F#'s `box` keyword do and where is it documented? The Null Values article in the F# Language Reference show an example that uses it, but i...
What does F#&#x27;s `box` keyword do and where is it documented? What does F#&#x27;s `box` keyword do and where is it documented? f%23 What What does F#'s `box` keyword do and where is it documented? The Null Values article in the F# Language Reference show an example that uses it, but it does not explain what it does ...
[ 0.0177001953125, 0.0018768310546875, 0.03173828125, -0.00567626953125, -0.00811767578125, -0.000400543212890625, 0.00125885009765625, -0.006927490234375, -0.00634765625, 0.0301513671875, 0.00244140625, -0.023681640625, -0.0228271484375, -0.00130462646484375, -0.0036773681640625, 0.0040...
[ 4865, 563, 4904, 3768, 11728, 166117, 54, 12937, 7440, 297, 1238, 3742, 14602, 1429, 1181, 190060, 5582, 83658, 215996, 27781, 4527, 442, 73342, 2367, 6859, 46876, 91067, 144851, 65508 ]
[ 0.019927978515625, 0.11474609375, 0.176513671875, 0.047454833984375, 0.284912109375, 0.232421875, 0.0830078125, 0.1468505859375, 0.05999755859375, 0.051605224609375, 0.0546875, 0.031097412109375, 0.07415771484375, 0.1424560546875, 0.1119384765625, 0.1953125, 0.00982666015625, 0.076...
embed
1850108_c0
1850108
fsharp
0
Title: F#: always &quot;unexpected &#x27;when&#x27; keyword&quot; Problem title: F#: always &quot;unexpected &#x27;when&#x27; keyword&quot; Tags: syntax, visual-studio-2010, f%23 Problem: F#: always "unexpected 'when' keyword" The VS2010 Beta 2 F# compiler always complains about my usage of the when keyword, even when ...
F#: always &quot;unexpected &#x27;when&#x27; keyword&quot; F#: always &quot;unexpected &#x27;when&#x27; keyword&quot; syntax visual-studio-2010 f%23 visual-studio-2010 F#: always "unexpected 'when' keyword" The VS2010 Beta 2 F# compiler always complains about my usage of the when keyword, even when using copy-pasted co...
[ 0.012451171875, 0.01153564453125, -0.0155029296875, -0.00994873046875, 0.005950927734375, 0.0064697265625, 0.00189971923828125, 0.0185546875, -0.010986328125, -0.005828857421875, 0.004669189453125, 0.01123046875, 0.00787353515625, -0.000263214111328125, 0.00119781494140625, -0.00811767...
[ 563, 4904, 11343, 309, 83613, 13, 89829, 3768, 434, 3220, 166117, 6002, 86531, 21176, 52629, 73552, 1238, 3742, 44160, 11436, 48941, 116, 9969, 34759, 186992, 759, 127689, 3229, 17368, 43658, 763, 18151, 134598, 4488, 58134, 18499, 31577, 719...
[ 0.1314697265625, 0.2017822265625, 0.140869140625, 0.0426025390625, 0.1038818359375, 0.113037109375, 0.1015625, 0.0750732421875, 0.037078857421875, 0.2003173828125, 0.25244140625, 0.01220703125, 0.0243988037109375, 0.1390380859375, 0.117431640625, 0.136474609375, 0.03814697265625, 0...
embed
20886873_c0
20886873
fsharp
0
Title: Function composition - when? Problem title: Function composition - when? Tags: f%23, functional-programming Problem: Function composition - when? Given the following two approaches, what would the cons and pros of both, when it comes to function composition? Approach 1 let isNameTaken source name = source |> Que...
Function composition - when? Function composition - when? f%23 functional-programming Query.Exists z.Name Customer Test Function composition - when? Given the following two approaches, what would the cons and pros of both, when it comes to function composition? Approach 1 Approach 2 Is it just silly to pass (source |> ...
[ -0.002716064453125, 0.006683349609375, 0.0284423828125, 0.0157470703125, -0.00396728515625, 0.0107421875, -0.0027008056640625, 0.01116943359375, 0.004119873046875, -0.029541015625, 0.0032806396484375, 0.036865234375, 0.0289306640625, 0.00177001953125, 0.0081787109375, -0.0054931640625,...
[ 28670, 10763, 166577, 20, 3229, 1238, 3949, 3742, 123309, 28966, 58836, 53, 19279, 64370, 97, 163612, 124765, 8647, 19, 6626, 51515, 2806, 158, 7, 136, 38280, 15044, 32354, 5659, 516, 934, 106, 116, 78, 12097, 47, 27875, 60427, 23, 5792, ...
[ 0.1904296875, 0.1197509765625, 0.323486328125, 0.039276123046875, 0.177001953125, 0.01251220703125, 0.006744384765625, 0.091552734375, 0.1854248046875, 0.1275634765625, 0.1246337890625, 0.077880859375, 0.115478515625, 0.142822265625, 0.05487060546875, 0.04656982421875, 0.178588867187...
embed
34702922_c1
34702922
fsharp
1
(n + 1) iterFn' z c 0 Array.Parallel.init (width * height) (fun i -> let x, y = i % width, i / width let z, c = Complex.Zero, Complex(scaleX x, scaleY y) (x, y, iterFn z c) ) Execute in F# interactive get the following results: > calc1 width height |> ignore Real: 00:00:00.943, CPU: 00:00:03.046, GC gen0: 10, gen1: 8,...
(n + 1) iterFn' z c 0 Array.Parallel.init (width * height) (fun i -> let x, y = i % width, i / width let z, c = Complex.Zero, Complex(scaleX x, scaleY y) (x, y, iterFn z c) ) Execute in F# interactive get the following results: > calc1 width height |> ignore Real: 00:00:00.943, CPU: 00:00:03.046, GC gen0: 10, gen1: 8,...
[ 0.004180908203125, -0.004608154296875, -0.0172119140625, -0.0007781982421875, -0.003875732421875, -0.0196533203125, 0.0289306640625, -0.011962890625, 0.01556396484375, -0.0250244140625, -0.0031280517578125, 0.0257568359375, 0.0057373046875, -0.017333984375, -0.00396728515625, 0.0012512...
[ 19, 997, 4879, 17, 720, 919, 25, 97, 501, 757, 69253, 53, 55292, 1229, 141, 73, 217, 146984, 155955, 16498, 33079, 2633, 1022, 113, 1745, 248, 113197, 1511, 4036, 57965, 1542, 4, 105994, 1723, 211603, 23, 563, 4904, 212398, 2046, 25632,...
[ 0.087890625, 0.2237548828125, 0.1053466796875, 0.10107421875, 0.238037109375, 0.1322021484375, 0.064697265625, 0.174560546875, 0.06964111328125, 0.123779296875, 0.119140625, 0.077392578125, 0.06451416015625, 0.11572265625, 0.045257568359375, 0.06170654296875, 0.1072998046875, 0.217...
embed
9190059_c0
9190059
fsharp
0
Title: F# properties design Problem title: F# properties design Tags: f%23 Problem: F# properties design So when ever im creating some properties in my F# code , as F# doesn't support auto properties , as far as i know. I have to create backing fields and initialize them to null, which doesn't seems right in functional...
F# properties design F# properties design f%23 DbSet x.Albums x.Genres F# properties design So when ever im creating some properties in my F# code , as F# doesn't support auto properties , as far as i know. I have to create backing fields and initialize them to null, which doesn't seems right in functional programming ...
[ 0.037109375, 0.03271484375, 0.0166015625, -0.006866455078125, -0.01019287109375, 0.0108642578125, 0.0189208984375, 0.0028839111328125, 0.003570556640625, 0.0029754638671875, -0.000507354736328125, 0.0498046875, -0.00640869140625, 0.0150146484375, 0.0012054443359375, 0.0228271484375, ...
[ 563, 4904, 183871, 4331, 1238, 3742, 391, 275, 294, 126, 1022, 116317, 10321, 105376, 3229, 17669, 566, 105233, 18151, 22027, 18, 8060, 1809, 765, 47, 28282, 4420, 214, 44457, 61475, 20650, 56574, 37202, 7108, 123309, 56037, 449, 11522, 391...
[ 0.171875, 0.231201171875, 0.2406005859375, 0.1876220703125, 0.0811767578125, 0.091552734375, 0.03076171875, 0.08074951171875, 0.09136962890625, 0.1263427734375, 0.0273895263671875, 0.1199951171875, 0.05096435546875, 0.07373046875, 0.006866455078125, 0.0133056640625, 0.033599853515625...
embed
66177366_c0
66177366
fsharp
0
Title: F# pattern matching with string Problem title: F# pattern matching with string Tags: pattern-matching, f%23 Problem: F# pattern matching with string let rec matchs str currList = match currList with | [] -> [] | (str, _) as hd :: tl -> hd :: matchs str tl | _::tl -> matchs str tl I have my function here, and whe...
F# pattern matching with string F# pattern matching with string pattern-matching f%23 _::tl F# pattern matching with string I have my function here, and when i try to execute it with this line: This is the given output I am not understanding why its not giving me only the tuples matching "A" eventually i would want my ...
[ -0.0084228515625, 0.0037994384765625, 0.0025787353515625, 0.0089111328125, -0.00604248046875, -0.004852294921875, 0.006744384765625, 0.0028228759765625, 0.028076171875, -0.002532958984375, 0.034423828125, -0.013916015625, 0.010009765625, -0.000942230224609375, 0.00145721435546875, -0.0...
[ 563, 4904, 103510, 14858, 214, 678, 79315, 98753, 1238, 3949, 3742, 141, 765, 759, 32354, 3688, 9790, 71924, 13, 903, 13315, 3293, 83, 34475, 140992, 100094, 15400, 959, 68772, 163, 4734, 370, 99726, 284, 155605, 2806, 3444 ]
[ 0.1295166015625, 0.204833984375, 0.230224609375, 0.1768798828125, 0.06365966796875, 0.1322021484375, 0.223876953125, 0.1754150390625, 0.1048583984375, 0.0288238525390625, 0.117919921875, 0.05615234375, 0.0240325927734375, 0.034759521484375, 0.15625, 0.07354736328125, 0.073486328125, ...
embed
40506008_c2
40506008
fsharp
2
Record, Expr.Application, Expr.PropertyGet, ps.Item, ex2, Expr, Expr.Cast, ex3, Expected, System.Boolean, System.Object, Parameter, Microsoft.FSharp.Quotations.PatternsModule.checkTypesSR, System.Type, System.String, Microsoft.FSharp.Quotations.PatternsModule.checkAppliedLambda, Microsoft.FSharp.Quotations.FSharpExpr, ...
Record, Expr.Application, Expr.PropertyGet, ps.Item, ex2, Expr, Expr.Cast, ex3, Expected, System.Boolean, System.Object, Parameter, Microsoft.FSharp.Quotations.PatternsModule.checkTypesSR, System.Type, System.String, Microsoft.FSharp.Quotations.PatternsModule.checkAppliedLambda, Microsoft.FSharp.Quotations.FSharpExpr, ...
[ -0.005126953125, -0.00188446044921875, -0.00885009765625, 0.01104736328125, 0.007110595703125, -0.0081787109375, -0.00665283203125, -0.000263214111328125, -0.002166748046875, 0.024658203125, 0.01422119140625, 0.00653076171875, -0.021484375, 0.0123291015625, 0.006378173828125, 0.0246582...
[ 54877, 4, 60075, 42, 5, 47677, 182867, 10752, 1264, 939, 724, 126, 24014, 2982, 1119, 304, 174830, 363, 13, 89829, 12353, 34677, 46471, 75161, 29089, 7244, 36381, 3467, 254, 31583, 818, 21094, 8335, 3055, 91616, 78292, 196707, 38891, 71713,...
[ 0.25537109375, 0.0154876708984375, 0.135986328125, 0.18310546875, 0.0293121337890625, 0.14892578125, 0.2064208984375, 0.03631591796875, 0.1324462890625, 0.0433349609375, 0.08099365234375, 0.1312255859375, 0.1512451171875, 0.139404296875, 0.1251220703125, 0.1011962890625, 0.1284179687...
embed
2318556_c0
2318556
fsharp
0
Title: Fiddling type inference on number conversion Problem title: Fiddling type inference on number conversion Tags: type-inference, f%23 Problem: Fiddling type inference on number conversion I've got a function which takes an input of type ('a * (float * 'b * float)) list Where I'd obviously like to avoid having to e...
Fiddling type inference on number conversion Fiddling type inference on number conversion type-inference f%23 Fiddling Fiddling type inference on number conversion I've got a function which takes an input of type Where I'd obviously like to avoid having to explicitly include the type. The problem is that I convert the ...
[ -0.0022125244140625, -0.008056640625, -0.00872802734375, 0.004425048828125, 0.01263427734375, 0.004638671875, -0.0291748046875, -0.00067138671875, 0.0225830078125, 0.00701904296875, -0.012939453125, 0.00194549560546875, -0.00665283203125, 0.017333984375, 0, 0.00017833709716796875, 0....
[ 3698, 4028, 2069, 10644, 53498, 6620, 98, 14012, 142477, 69988, 1238, 3742, 32354, 51776, 107730, 1884, 71864, 143726, 26698, 2967, 96760, 17932, 21917, 257, 47, 32380, 2749, 17368, 114977, 86681, 903, 27571, 70, 138256 ]
[ 0.1036376953125, 0.1466064453125, 0.1246337890625, 0.218505859375, 0.2108154296875, 0.0673828125, 0.0275115966796875, 0.111083984375, 0.1654052734375, 0.1363525390625, 0.018585205078125, 0.05322265625, 0.1397705078125, 0.0279541015625, 0.119384765625, 0.0276336669921875, 0.1092529296...
embed
32216814_c0
32216814
fsharp
0
Title: How to print a bigint in F#? Problem title: How to print a bigint in F#? Tags: biginteger, f%23, string-formatting Problem: How to print a bigint in F#? I am trying to find out how to print out the value of a bigint or System.Numerics.BigInteger in F#. I have found a site here that attempts to explain how to do ...
How to print a bigint in F#? How to print a bigint in F#? biginteger f%23 string-formatting How System.Numerics.BigInteger EntryPoint How to print a bigint in F#? I am trying to find out how to print out the value of a bigint or System.Numerics.BigInteger in F#. I have found a site here that attempts to explain how to ...
[ -0.024169921875, 0.01470947265625, 0.0159912109375, 0.0167236328125, -0.004852294921875, 0.0167236328125, 0.0257568359375, -0.01287841796875, -0.01275634765625, -0.012451171875, 0.0181884765625, -0.01348876953125, -0.01611328125, 0.005218505859375, 0.00274658203125, 0.007110595703125, ...
[ 11249, 47, 28412, 10, 6957, 4288, 23, 563, 4904, 32, 6191, 1505, 1238, 3949, 3742, 79315, 51727, 12353, 18444, 1991, 28021, 129933, 4153, 67, 357, 15123, 147534, 31577, 7413, 3642, 1810, 34292, 111, 707, 14037, 81887, 73342, 73372, 22968, ...
[ 0.092529296875, 0.06744384765625, 0.2310791015625, 0.090087890625, 0.1802978515625, 0.272705078125, 0.123291015625, 0.160400390625, 0.2452392578125, 0.0111083984375, 0.1966552734375, 0.1529541015625, 0.1104736328125, 0.002716064453125, 0.1378173828125, 0.128173828125, 0.09814453125, ...
embed
48231549_c1
48231549
fsharp
1
seq -> string) (ds: DataSeries) = match ds with | DataSeries.Float v -> f v |> Result.Float | DataSeries.String v -> s v |> Result.String // What works let simpleHigh ds = summarise (Seq.sortBy (fun x -> x.Value) >> Seq.last >> (fun x -> x.Value)) (Seq.sortBy (fun x -> x.Value) >> Seq.last >> (fun x -> x.Value)) ds //...
seq -> string) (ds: DataSeries) = match ds with | DataSeries.Float v -> f v |> Result.Float | DataSeries.String v -> s v |> Result.String // What works let simpleHigh ds = summarise (Seq.sortBy (fun x -> x.Value) >> Seq.last >> (fun x -> x.Value)) (Seq.sortBy (fun x -> x.Value) >> Seq.last >> (fun x -> x.Value)) ds //...
[ 0.01220703125, -0.0005950927734375, 0.006378173828125, -0.01214599609375, 0.000598907470703125, -0.0128173828125, 0.00060272216796875, -0.00836181640625, 0.0166015625, 0.00186920166015625, -0.01373291015625, 0.01263427734375, -0.00921630859375, 0.000751495361328125, -0.005584716796875, ...
[ 40, 864, 33079, 79315, 6468, 11809, 138724, 7, 2203, 14858, 104, 678, 365, 257, 81, 1238, 126684, 71713, 91, 4865, 43240, 2633, 8781, 163025, 29334, 58944, 4233, 62351, 75358, 16498, 1022, 856, 503, 19777, 50770, 2806, 43257, 33022, 12601, ...
[ 0.094970703125, 0.202880859375, 0.0955810546875, 0.268798828125, 0.1187744140625, 0.1370849609375, 0.257568359375, 0.108642578125, 0.04815673828125, 0.1976318359375, 0.1231689453125, 0.09002685546875, 0.110107421875, 0.0740966796875, 0.13037109375, 0.055572509765625, 0.1793212890625,...
embed
35268415_c0
35268415
fsharp
0
Title: Deedle Series.LastValue and Series.tryLastValue both fail if the last value is missing Problem title: Deedle Series.LastValue and Series.tryLastValue both fail if the last value is missing Tags: f%23, deedle Problem: Deedle Series.LastValue and Series.tryLastValue both fail if the last value is missing Despite t...
Deedle Series.LastValue and Series.tryLastValue both fail if the last value is missing Deedle Series.LastValue and Series.tryLastValue both fail if the last value is missing f%23 deedle Deedle Series.LastValue Series.tryLastValue Deedle Series.LastValue and Series.tryLastValue both fail if the last value is missing Des...
[ 0.0035247802734375, 0.019775390625, -0.001312255859375, 0.00933837890625, -0.0166015625, -0.018310546875, 0.005584716796875, 0.006195068359375, -0.0086669921875, 0.037353515625, 0.00628662109375, 0.02099609375, -0.01470947265625, 0.0030517578125, 0.0257568359375, -0.00188446044921875, ...
[ 262, 297, 133, 64876, 2729, 271, 856, 50770, 136, 15123, 15044, 35782, 2174, 4568, 34292, 132283, 3742, 8, 24626, 18151, 32354, 4527, 5701, 2046, 28848, 32832, 162429, 108210, 110218, 170198, 3917, 38516, 1295, 36549, 9790, 5, 678, 707, 618...
[ 0.08984375, 0.1556396484375, 0.149169921875, 0.211181640625, 0.162841796875, 0.154296875, 0.1688232421875, 0.2265625, 0.016571044921875, 0.1907958984375, 0.08740234375, 0.1759033203125, 0.030914306640625, 0.1920166015625, 0.2076416015625, 0.234130859375, 0.0655517578125, 0.04010009...
embed
69511850_c0
69511850
fsharp
0
Title: Adding two tuples of floats Problem title: Adding two tuples of floats Tags: function, f%23, tuples Problem: Adding two tuples of floats I need to make a function that adds two tuples consisting of floats, and returns a tuple of two floats. let add a b = fst a + fst b, snd a + snd b Gives me this return: val add...
Adding two tuples of floats Adding two tuples of floats function f%23 tuples Adding a:float b:float Adding two tuples of floats I need to make a function that adds two tuples consisting of floats, and returns a tuple of two floats. Gives me this return: But if I try with: I get this: How do I go about getting the follo...
[ 0.0169677734375, -0.00127410888671875, -0.00142669677734375, 0.0162353515625, 0.00946044921875, 0.01165771484375, -0.003631591796875, -0.0245361328125, 0.009521484375, -0.00133514404296875, 0.00927734375, 0.01458740234375, -0.0230712890625, 0.03125, 0.0155029296875, -0.013916015625, ...
[ 62, 59725, 6626, 370, 99726, 111, 21917, 9821, 32354, 1238, 3949, 3742, 10, 52347, 257, 876, 3871, 3249, 15190, 58055, 30646, 8705, 163, 903, 4966, 9790, 678, 1672, 20949, 25632 ]
[ 0.1046142578125, 0.124755859375, 0.153564453125, 0.1419677734375, 0.2069091796875, 0.041534423828125, 0.19970703125, 0.1038818359375, 0.175048828125, 0.0804443359375, 0.080078125, 0.1546630859375, 0.039642333984375, 0.1790771484375, 0.0494384765625, 0.06689453125, 0.060791015625, 0...
embed
47431825_c1
47431825
fsharp
1
above interface detection, because once I find the desired types, I need them to be cast to IModule in order to further use them in my code. My goal is to have the above 3 libraries bundled together in a single executable. However I'd also want to have other dll files, which implement IModule from A and be placed besi...
above interface detection, because once I find the desired types, I need them to be cast to IModule in order to further use them in my code. My goal is to have the above 3 libraries bundled together in a single executable. However I'd also want to have other dll files, which implement IModule from A and be placed besi...
[ -0.0191650390625, -0.004180908203125, -0.0101318359375, 0.03857421875, -0.0194091796875, 0.0274658203125, -0.012451171875, -0.00104522705078125, 0.00836181640625, -0.026123046875, 0.0115966796875, -0.01300048828125, 0.009521484375, 0.0179443359375, 0.007598876953125, 0.0023956298828125...
[ 36917, 101758, 149, 58994, 6637, 24145, 7413, 104851, 71, 52895, 3871, 2856, 37702, 47, 87, 91616, 8782, 53333, 4527, 18151, 69236, 83, 138, 35773, 10484, 57134, 6259, 25842, 23, 11001, 71924, 2886, 3444, 765, 3789, 81717, 102158, 29479, 12...
[ 0.252197265625, 0.255615234375, 0.186767578125, 0.1158447265625, 0.0179595947265625, 0.0380859375, 0.0731201171875, 0.153076171875, 0.024383544921875, 0.2315673828125, 0.0816650390625, 0.030029296875, 0.10498046875, 0.018646240234375, 0.1390380859375, 0.1568603515625, 0.155517578125,...
embed
24889171_c0
24889171
fsharp
0
Title: f# custom linked list and references Problem title: f# custom linked list and references Tags: recursion, list, ref, f%23 Problem: f# custom linked list and references i am new to this language. In order to try and understand referencing i have tried implementing a simple directed list the freshman college compu...
f# custom linked list and references f# custom linked list and references recursion list ref f%23 value:float next:ref head:ref i.value i.next f# custom linked list and references i am new to this language. In order to try and understand referencing i have tried implementing a simple directed list the freshman college ...
[ 0.00616455078125, 0.0177001953125, 0.017822265625, 0.022216796875, 0.001129150390625, -0.00107574462890625, -0.006500244140625, 0.0040283203125, 0.01348876953125, -0.01806640625, 0.00543212890625, 0.00567626953125, 0.0021514892578125, 0.003936767578125, 0.01031494140625, -0.0107421875,...
[ 1238, 4904, 114122, 3126, 297, 5303, 136, 91067, 195625, 1830, 18831, 3742, 34292, 52347, 257, 11737, 29087, 10336, 17, 27494, 86, 29062, 7, 3525, 903, 46876, 9790, 28219, 142447, 214, 37842, 29479, 8781, 8951, 63335, 669, 40466, 13909, 416...
[ 0.1434326171875, 0.2056884765625, 0.17822265625, 0.152587890625, 0.085693359375, 0.1905517578125, 0.07159423828125, 0.238037109375, 0.1976318359375, 0.082275390625, 0.23583984375, 0.1129150390625, 0.1510009765625, 0.127685546875, 0.0047607421875, 0.1365966796875, 0.2254638671875, 0...
embed
64703299_c0
64703299
fsharp
0
Title: Ionide: how to specify FSharpLint&#x27;s configuration? Problem title: Ionide: how to specify FSharpLint&#x27;s configuration? Tags: f%23, ionide Problem: Ionide: how to specify FSharpLint's configuration? According to the FSharpLint documentation , on the command line, you can specify the config file via --lint...
Ionide: how to specify FSharpLint&#x27;s configuration? Ionide: how to specify FSharpLint&#x27;s configuration? f%23 ionide Ionide FSharpLint FSharp.Linter Ionide: how to specify FSharpLint's configuration? According to the FSharpLint documentation , on the command line, you can specify the config file via --lint-confi...
[ -0.00811767578125, 0.01190185546875, 0.0029754638671875, -0.018310546875, -0.01953125, 0.007080078125, 0.006683349609375, 0.006256103515625, -0.0014190673828125, -0.00506591796875, 0.0038604736328125, 0.00341796875, -0.01190185546875, 0.0062255859375, 0.009521484375, 0.003662109375, ...
[ 37859, 2506, 3642, 40140, 18929, 93774, 3467, 254, 866, 4288, 3768, 180346, 1238, 45339, 10433, 209806, 75101, 13315, 153837, 11435, 1829, 4210, 2397, 18, 55516, 78779, 48502, 151138, 111938, 53550, 4734, 12937, 5, 2633, 15504, 96, 707, 5773,...
[ 0.1925048828125, 0.217041015625, 0.0721435546875, 0.2100830078125, 0.11376953125, 0.12939453125, 0.1934814453125, 0.1732177734375, 0.182373046875, 0.2198486328125, 0.03521728515625, 0.223876953125, 0.055633544921875, 0.121337890625, 0.2357177734375, 0.0246429443359375, 0.096557617187...
embed
71040101_c0
71040101
fsharp
0
Title: recursive tuples in F# Problem title: recursive tuples in F# Tags: f%23 Problem: recursive tuples in F# I want to take in a list of booleans and return the length and the number of truths in a tuple like this: truesAndLength [true; false; false; true; true];; should be (5,3) I've tried a lot of methods but I don...
recursive tuples in F# recursive tuples in F# f%23 true::bs false::bs recursive tuples in F# I want to take in a list of booleans and return the length and the number of truths in a tuple like this: truesAndLength [true; false; false; true; true];; should be (5,3) I've tried a lot of methods but I don't seem to get it ...
[ -0.00007343292236328125, 0.0225830078125, 0.0036163330078125, 0.007171630859375, 0.0001468658447265625, 0.000392913818359375, -0.00860595703125, 0.01495361328125, 0.0218505859375, -0.01385498046875, 0.0006256103515625, 0.00689697265625, -0.0026092529296875, 0.037841796875, 0.0166015625, ...
[ 195625, 5844, 370, 99726, 563, 4904, 23, 1238, 3949, 3742, 29568, 16145, 98320, 3444, 5646, 5303, 337, 16836, 10133, 136, 30646, 140909, 14012, 85027, 7, 8705, 1884, 903, 37839, 5267, 449, 927, 9774, 5608, 186, 11516, 21320, 37842, 5915, ...
[ 0.2197265625, 0.1336669921875, 0.16796875, 0.228515625, 0.1114501953125, 0.1817626953125, 0.037506103515625, 0.0772705078125, 0.004150390625, 0.1539306640625, 0.194580078125, 0.06768798828125, 0.1842041015625, 0.0667724609375, 0.0435791015625, 0.095947265625, 0.045562744140625, 0.1...
embed
2326398_c0
2326398
fsharp
0
Title: Global constants in F# - how to Problem title: Global constants in F# - how to Tags: constants, c%23-to-f%23, f%23 Problem: Global constants in F# - how to I need to set a version number to be used in the AssemblyVersion attribute by several related projects. In C# I use the following public class Constants { pu...
Global constants in F# - how to Global constants in F# - how to constants c%23-to-f%23 f%23 Global Constants Version assembly:AssemblyVersion Constants.Version Global constants in F# - how to I need to set a version number to be used in the AssemblyVersion attribute by several related projects. In C# I use the followin...
[ -0.012451171875, 0.0162353515625, -0.0084228515625, -0.033447265625, -0.0003337860107421875, -0.01226806640625, -0.0098876953125, -0.003570556640625, -0.013671875, -0.01202392578125, -0.0223388671875, -0.00750732421875, 0.002960205078125, 0.012939453125, -0.01007080078125, 0.0172119140...
[ 13453, 53697, 7, 23, 563, 4904, 3642, 47, 501, 167218, 27495, 188, 420, 3742, 1238, 148416, 40647, 89845, 38526, 178390, 3871, 5423, 11389, 14012, 11814, 151169, 53, 150380, 13, 40368, 62548, 77635, 360, 313, 4527, 25632, 831, 28960, 2806, ...
[ 0.2169189453125, 0.216796875, 0.1011962890625, 0.0555419921875, 0.1475830078125, 0.2322998046875, 0.08935546875, 0.0987548828125, 0.0143280029296875, 0.0101318359375, 0.14208984375, 0.11767578125, 0.09661865234375, 0.1212158203125, 0.09490966796875, 0.2017822265625, 0.2008056640625, ...
embed
8438923_c0
8438923
fsharp
0
Title: Wildcard &quot;use&quot; binding works in sequence expression, but not otherwise Problem title: Wildcard &quot;use&quot; binding works in sequence expression, but not otherwise Tags: f%23 Problem: Wildcard "use" binding works in sequence expression, but not otherwise Using the wildcard pattern with use works wit...
Wildcard &quot;use&quot; binding works in sequence expression, but not otherwise Wildcard &quot;use&quot; binding works in sequence expression, but not otherwise f%23 Wildcard IDisposable __.Dispose ERROR Wildcard "use" binding works in sequence expression, but not otherwise Using the wildcard pattern with use works wi...
[ -0.0120849609375, 0.0128173828125, -0.005340576171875, 0.01556396484375, 0.005859375, 0.0130615234375, 0.000675201416015625, 0.0164794921875, 0.0057373046875, -0.02197265625, 0.00341796875, 0.00927734375, 0.0230712890625, 0.032470703125, 0.02392578125, -0.0025634765625, -0.0212402343...
[ 33384, 38931, 4032, 41502, 128239, 43240, 23, 40, 944, 3956, 125195, 1284, 959, 120262, 1238, 3949, 3742, 164, 7522, 2886, 44456, 78381, 151206, 345, 70, 56409, 103510, 678, 4527, 28032, 31635 ]
[ 0.1785888671875, 0.27294921875, 0.2003173828125, 0.0535888671875, 0.2498779296875, 0.169189453125, 0.03564453125, 0.050201416015625, 0.1207275390625, 0.1046142578125, 0.2176513671875, 0.081787109375, 0.0672607421875, 0.162109375, 0.023193359375, 0.002288818359375, 0.11474609375, 0....
embed
45524334_c0
45524334
fsharp
0
Title: F# errors in Interactive but not in command line REPL Problem title: F# errors in Interactive but not in command line REPL Tags: .net, f%23-interactive, f%23, visual-studio Problem: F# errors in Interactive but not in command line REPL This is erroring when run in Visual Studio F# Interactive window, but not in ...
F# errors in Interactive but not in command line REPL F# errors in Interactive but not in command line REPL .net f%23-interactive f%23 visual-studio HRESULT Interactive REPL FS0193 Index Exception F# errors in Interactive but not in command line REPL This is erroring when run in Visual Studio F# Interactive window, but...
[ -0.0172119140625, 0.011962890625, -0.005584716796875, 0.00118255615234375, -0.004180908203125, 0.00107574462890625, -0.00579833984375, -0.0159912109375, -0.00732421875, -0.023681640625, -0.0118408203125, -0.0115966796875, 0.005828857421875, 0.0166015625, 0.02197265625, 0.00375366210937...
[ 563, 4904, 18499, 23, 5337, 71232, 1284, 959, 75101, 13315, 9069, 21130, 1179, 1238, 27495, 10433, 3742, 21176, 52629, 572, 34465, 82643, 93774, 6746, 11591, 31471, 5443, 63928, 214, 11675, 73372, 22968, 76896, 70, 41231, 56, 63262, 450, 14...
[ 0.1322021484375, 0.2174072265625, 0.173095703125, 0.05413818359375, 0.14697265625, 0.1903076171875, 0.04083251953125, 0.121826171875, 0.160400390625, 0.119140625, 0.1287841796875, 0.274658203125, 0.1282958984375, 0.091796875, 0.04974365234375, 0.13037109375, 0.086181640625, 0.12609...
embed
648086_c0
648086
fsharp
0
Title: How to pass a Nullable&lt;int&gt; into a stored procedure... from F#? Problem title: How to pass a Nullable&lt;int&gt; into a stored procedure... from F#? Tags: f%23, linq-to-sql, stored-procedures, null Problem: How to pass a Nullable into a stored procedure... from F#? I'm trying to call a stored procedure wit...
How to pass a Nullable&lt;int&gt; into a stored procedure... from F#? How to pass a Nullable&lt;int&gt; into a stored procedure... from F#? f%23 linq-to-sql stored-procedures null F# How Nullable How to pass a Nullable into a stored procedure... from F#? I'm trying to call a stored procedure with an output parameter fr...
[ 0.0164794921875, 0.00183868408203125, 0.00836181640625, -0.01214599609375, -0.03173828125, 0.00811767578125, 0.0184326171875, -0.031982421875, 0.01190185546875, 0.0021209716796875, 0.00634765625, 0.007476806640625, -0.00811767578125, 0.0159912109375, 0.0091552734375, -0.01171875, 0.0...
[ 11249, 47, 27875, 27786, 2661, 1277, 4288, 1230, 5386, 3934, 4343, 71, 50491, 27, 1295, 563, 4904, 10, 1238, 3742, 96, 44982, 188, 99247, 232578, 56574, 31577, 11782, 140992, 171859, 3871, 23, 18, 32, 34292, 61475, 29367, 39746, 214, 8188...
[ 0.0948486328125, 0.0640869140625, 0.161865234375, 0.2247314453125, 0.248291015625, 0.064453125, 0.1541748046875, 0.013397216796875, 0.119384765625, 0.152587890625, 0.19140625, 0.1148681640625, 0.21630859375, 0.0182037353515625, 0.1123046875, 0.1414794921875, 0.214111328125, 0.05972...
embed
4317912_c0
4317912
fsharp
0
Title: Confusing about F# Quotations and Pattern Matching in Meta-programming Problem title: Confusing about F# Quotations and Pattern Matching in Meta-programming Tags: f%23, metaprogramming Problem: Confusing about F# Quotations and Pattern Matching in Meta-programming 1- I'm really confusing on applying F# Quotation...
Confusing about F# Quotations and Pattern Matching in Meta-programming Confusing about F# Quotations and Pattern Matching in Meta-programming f%23 metaprogramming Confusing Quotations Pattern Matching Meta-programming Confusing about F# Quotations and Pattern Matching in Meta-programming 1- I'm really confusing on appl...
[ 0.007232666015625, 0.0164794921875, 0.0037841796875, 0.00592041015625, -0.010498046875, -0.006622314453125, -0.00946044921875, 0.03271484375, -0.00118255615234375, -0.0184326171875, 0.02490234375, -0.0228271484375, 0.0001468658447265625, -0.006988525390625, 0.0069580078125, 0.006011962...
[ 106161, 223, 214, 563, 4904, 43851, 22062, 136, 9876, 22766, 67407, 23, 36939, 28966, 1238, 3742, 23550, 6183, 55681, 6953, 59911, 619, 98, 27958, 51515, 23755, 2773, 38415, 2804, 764, 831, 3249, 15700, 46876, 1884, 70599, 25452, 12549, 390...
[ 0.10546875, 0.059967041015625, 0.06561279296875, 0.15966796875, 0.2322998046875, 0.1649169921875, 0.1473388671875, 0.07086181640625, 0.1358642578125, 0.1131591796875, 0.1846923828125, 0.027435302734375, 0.2181396484375, 0.1287841796875, 0.076416015625, 0.0294036865234375, 0.145019531...
embed
13427160_c0
13427160
fsharp
0
Title: Using FsCheck in VS 2010 Problem title: Using FsCheck in VS 2010 Tags: fscheck, visual-studio-2010, .net, f%23 Problem: Using FsCheck in VS 2010 I am trying to use FsCheck 0.8.3 in Visual Studio 2010 for F#. I have created a project, and wrote the example line: let revRevIsOrig (xs:list<int>) = List.rev(List.rev...
Using FsCheck in VS 2010 Using FsCheck in VS 2010 fscheck visual-studio-2010 .net f%23 Using FsCheck xs:list List.rev visual-studio-2010 Using FsCheck in VS 2010 I am trying to use FsCheck 0.8.3 in Visual Studio 2010 for F#. I have created a project, and wrote the example line: from the quick-start guide. After this, I...
[ -0.0069580078125, 0.0225830078125, -0.005096435546875, -0.002105712890625, -0.00445556640625, 0.00634765625, 0.000579833984375, -0.0078125, -0.021728515625, -0.0341796875, 0.00335693359375, 0.01171875, -0.00107574462890625, 0.00147247314453125, -0.000652313232421875, -0.00506591796875,...
[ 345, 563, 7, 202567, 23, 44160, 1532, 1238, 78292, 21176, 52629, 73552, 1179, 3742, 1022, 6562, 32036, 65381, 31577, 4527, 132208, 363, 73372, 22968, 4904, 75935, 13452, 54397, 27781, 13315, 1295, 63773, 17137, 17997, 49814, 5, 71, 1181, 91...
[ 0.05218505859375, 0.1522216796875, 0.1307373046875, 0.3056640625, 0.04156494140625, 0.1883544921875, 0.2117919921875, 0.1126708984375, 0.288330078125, 0.141845703125, 0.1234130859375, 0.1507568359375, 0.0648193359375, 0.0184326171875, 0.048675537109375, 0.108154296875, 0.094848632812...
embed
71292034_c0
71292034
fsharp
0
Title: checking if enough elements in a F# list Problem title: checking if enough elements in a F# list Tags: f%23 Problem: checking if enough elements in a F# list Right now I have a few instances like this: let doIt someList = if someList |> List.truncate 2 |> List.length >= 2 then someList[0] + someList[1] else 0 I ...
checking if enough elements in a F# list checking if enough elements in a F# list f%23 List.truncate List.length checking if enough elements in a F# list Right now I have a few instances like this: I need to grab the top 2 elements of a list quite often to see changes, but in some cases I don't have enough elements and...
[ -0.00077056884765625, 0.00836181640625, 0.0047607421875, 0.00579833984375, -0.006195068359375, 0.00665283203125, 0.01318359375, 0.0030059814453125, 0.021240234375, -0.0048828125, 0.0194091796875, -0.0048828125, 0.0108642578125, 0.00799560546875, 0.01226806640625, 0.001556396484375, 0...
[ 175199, 2174, 20174, 80854, 23, 563, 4904, 5303, 1238, 3742, 32036, 9774, 19, 33478, 23986, 927, 10, 5036, 10846, 110527, 7, 1884, 3871, 59102, 2663, 116, 32233, 27983, 47, 1957, 65572, 3060, 50218, 2301, 18, 765, 3249, 9077, 2685, 621, ...
[ 0.1859130859375, 0.132568359375, 0.1917724609375, 0.2152099609375, 0.07073974609375, 0.14697265625, 0.1993408203125, 0.1878662109375, 0.08740234375, 0.121337890625, 0.177001953125, 0.1329345703125, 0.1273193359375, 0.1644287109375, 0.1214599609375, 0.0184783935546875, 0.0072326660156...
embed
9832647_c0
9832647
fsharp
0
Title: Locking file in .NET Problem title: Locking file in .NET Tags: f%23, io, c%23, .net, mutex Problem: Locking file in .NET I need to modify a text file from multiple .NET processes, nothing I've tried works reliably. I have a C# GUI app which starts multiple processes to do some number crunching. Those need to app...
Locking file in .NET Locking file in .NET f%23 io c%23 .net mutex Locking NET Locking file in .NET I need to modify a text file from multiple .NET processes, nothing I've tried works reliably. I have a C# GUI app which starts multiple processes to do some number crunching. Those need to append lines to the same text fi...
[ -0.0023956298828125, 0.01116943359375, 0.00927734375, -0.038818359375, 0.000713348388671875, -0.02099609375, 0.006561279296875, 0.0164794921875, 0.00177764892578125, 0.01153564453125, -0.000263214111328125, 0.017578125, -0.01141357421875, 0.0191650390625, 0.0128173828125, 0.03015136718...
[ 80002, 214, 11435, 23, 5, 17777, 1238, 3742, 22995, 1179, 842, 24371, 3871, 2811, 40383, 7986, 1295, 48716, 9433, 33720, 37842, 43240, 28702, 4904, 195490, 4027, 4034, 14012, 22684, 59207, 114689, 124519, 5701, 11907, 10846, 8877, 191633, 313...
[ 0.223388671875, 0.1060791015625, 0.210693359375, 0.02850341796875, 0.060302734375, 0.2274169921875, 0.0198822021484375, 0.1119384765625, 0.14892578125, 0.1636962890625, 0.106689453125, 0.18408203125, 0.07745361328125, 0.1419677734375, 0.1077880859375, 0.1572265625, 0.05743408203125, ...
embed
5075872_c1
5075872
fsharp
1
(currentMove.DetermineMoveType <> MoveType.ILLEGAL && board.[x2, y2] = NONE) then yield currentMove; } I'm going to spare you the details of my various attempts to make it work, because none of them were successful. But to make the long story short, the best I could come up with is an iterator that returns a seq with ...
(currentMove.DetermineMoveType <> MoveType.ILLEGAL && board.[x2, y2] = NONE) then yield currentMove; } I'm going to spare you the details of my various attempts to make it work, because none of them were successful. But to make the long story short, the best I could come up with is an iterator that returns a seq with ...
[ 0.00518798828125, 0.006988525390625, 0.00494384765625, 0.03369140625, 0.006683349609375, 0.01190185546875, 0.018798828125, -0.00274658203125, 0.0040283203125, -0.025390625, -0.0155029296875, 0.0458984375, 0.01080322265625, -0.03125, 0.004730224609375, 0.012451171875, -0.0274658203125...
[ 163812, 9083, 272, 4657, 30524, 196707, 135828, 128452, 88946, 1230, 45443, 425, 304, 113, 90173, 31261, 11180, 19388, 43581, 81887, 4488, 65771, 16610, 2965, 17, 720, 4597, 30646, 40, 864, 678, 12638, 64457, 49878, 510, 11389, 16487, 100, ...
[ 0.2191162109375, 0.217041015625, 0.2042236328125, 0.038543701171875, 0.1353759765625, 0.2467041015625, 0.2069091796875, 0.1015625, 0.1920166015625, 0.0103759765625, 0.1845703125, 0.0360107421875, 0.09259033203125, 0.0260162353515625, 0.02484130859375, 0.08831787109375, 0.130249023437...
embed
70380512_c0
70380512
fsharp
0
Title: Pattern match multiple dates Problem title: Pattern match multiple dates Tags: f%23 Problem: Pattern match multiple dates According to this answer , I can match against DateTime.MinValue like this: let result = match date with | d when d = DateTime.MinValue -> 1 | _ -> 0 How do I do this, if I have a match like ...
Pattern match multiple dates Pattern match multiple dates f%23 Pattern DateTime.MinValue Unexpected Expected Pattern match multiple dates According to this answer , I can match against DateTime.MinValue like this: How do I do this, if I have a match like this? This doesn't work: Compiler error for the second when :
[ -0.01446533203125, -0.00994873046875, 0.000782012939453125, 0.0274658203125, -0.0262451171875, -0.01300048828125, -0.015869140625, 0.014404296875, 0.0162353515625, 0.006622314453125, 0.013916015625, 0.0260009765625, 0.0269775390625, 0.0211181640625, -0.007080078125, -0.00933837890625, ...
[ 9876, 22766, 14858, 48716, 112474, 1238, 3949, 3742, 25512, 70059, 59076, 856, 50770, 992, 83613, 13, 60075, 47, 87, 831, 26548, 5, 1884, 903, 11249, 54, 2174, 3293, 22027, 18, 4488, 15612, 34759, 18499, 100, 17932, 3229 ]
[ 0.186767578125, 0.18701171875, 0.234375, 0.2069091796875, 0.2135009765625, 0.07916259765625, 0.0494384765625, 0.1292724609375, 0.1302490234375, 0.20361328125, 0.2161865234375, 0.138427734375, 0.1649169921875, 0.0321044921875, 0.04345703125, 0.052215576171875, 0.06243896484375, 0.01...
embed
56312740_c0
56312740
fsharp
0
Title: How to get FSharpCore.Dll to work in Unity3D Problem title: How to get FSharpCore.Dll to work in Unity3D Tags: f%23, unity-game-engine Problem: How to get FSharpCore.Dll to work in Unity3D Some time ago after an update I managed to get an F# classlibrary working in unity however since another unity update I sudd...
How to get FSharpCore.Dll to work in Unity3D How to get FSharpCore.Dll to work in Unity3D f%23 unity-game-engine How FSharpCore.Dll Unity3D How to get FSharpCore.Dll to work in Unity3D Some time ago after an update I managed to get an F# classlibrary working in unity however since another unity update I suddenly get er...
[ -0.01287841796875, 0.0107421875, 0.0036163330078125, -0.003143310546875, -0.011474609375, -0.021484375, -0.0037078857421875, 0.00677490234375, -0.01446533203125, -0.017578125, 0.0111083984375, -0.00011587142944335938, -0.00099945068359375, -0.00078582763671875, 0.0294189453125, -0.0090...
[ 11249, 47, 2046, 93774, 3467, 254, 50886, 13, 5, 397, 1181, 4488, 23, 172904, 363, 1238, 3742, 51, 2481, 35311, 128897, 28350, 145755, 563, 4904, 18507, 150, 2844, 20697, 186683, 18499, 89914, 13438, 831, 959, 72367, 158012, 46132, 62, 53...
[ 0.048126220703125, 0.0272064208984375, 0.065185546875, 0.1231689453125, 0.205810546875, 0.1937255859375, 0.2293701171875, 0.130615234375, 0.03057861328125, 0.1531982421875, 0.2056884765625, 0.129638671875, 0.053680419921875, 0.20703125, 0.150390625, 0.010345458984375, 0.0620422363281...
embed
35690250_c0
35690250
fsharp
0
Title: F# using inline: still fail to match different type for generic function Problem title: F# using inline: still fail to match different type for generic function Tags: generics, function, inline, f%23 Problem: F# using inline: still fail to match different type for generic function I tried to use "inline" to defi...
F# using inline: still fail to match different type for generic function F# using inline: still fail to match different type for generic function generics function inline f%23 inline FS0001 F# using inline: still fail to match different type for generic function I tried to use "inline" to define a function that would f...
[ -0.00518798828125, -0.005279541015625, 0.005218505859375, -0.007232666015625, 0.0196533203125, -0.015625, -0.0004329681396484375, -0.0002994537353515625, -0.005828857421875, -0.0040283203125, 0.02294921875, -0.0098876953125, 0.0137939453125, -0.0103759765625, 0.01397705078125, -0.00283...
[ 563, 4904, 17368, 23, 2256, 7464, 35782, 14858, 12921, 10644, 189534, 32354, 1238, 3742, 93774, 188735, 37842, 4527, 73, 58, 61924, 11177, 3934, 107730, 171859, 52895, 41206, 59911, 11782, 420, 37202, 165523, 26785 ]
[ 0.097412109375, 0.194091796875, 0.047149658203125, 0.1226806640625, 0.2362060546875, 0.08837890625, 0.136474609375, 0.1397705078125, 0.1015625, 0.135986328125, 0.183837890625, 0.150146484375, 0.120849609375, 0.1239013671875, 0.039215087890625, 0.148681640625, 0.036346435546875, 0.0...
embed
22050821_c1
22050821
fsharp
1
didn't see any other way to do it. Any resources speaking about this subjects to help us figure out how to do it are welcome. Is Datomic a good choice for the POI database or should we prefer a good old relational database? So far, the POI table will be raw; meaning we won't do any effort to organize the POI in a grid...
didn't see any other way to do it. Any resources speaking about this subjects to help us figure out how to do it are welcome. Is Datomic a good choice for the POI database or should we prefer a good old relational database? So far, the POI table will be raw; meaning we won't do any effort to organize the POI in a grid...
[ -0.00567626953125, 0.00927734375, -0.000751495361328125, 0.036376953125, -0.00762939453125, 0.01068115234375, 0.01251220703125, -0.005584716796875, 0.00836181640625, -0.037353515625, -0.00084686279296875, -0.000522613525390625, -0.00762939453125, 0.01434326171875, -0.020751953125, 0.00...
[ 1957, 3917, 54, 442, 65514, 142146, 28368, 26366, 81907, 2071, 36986, 21068, 4127, 44126, 8574, 568, 63399, 5608, 12601, 10332, 41911, 289, 1061, 2060, 23180, 1221, 186, 49649, 91084, 23742, 18, 71834, 5808, 120067, 53201, 71864, 41, 64194, ...
[ 0.0224456787109375, 0.055511474609375, 0.04656982421875, 0.0128173828125, 0.0823974609375, 0.012237548828125, 0.051605224609375, 0.046875, 0.0667724609375, 0.0204620361328125, 0.2056884765625, 0.2486572265625, 0.105712890625, 0.1220703125, 0.177978515625, 0.2122802734375, 0.223999023...
embed
73832720_c0
73832720
fsharp
0
Title: Is there any way to make F# discriminated unions work in Unity? Problem title: Is there any way to make F# discriminated unions work in Unity? Tags: unity-game-engine, f%23 Problem: Is there any way to make F# discriminated unions work in Unity? I am experimenting with F# in Unity. I use compiled F# library and ...
Is there any way to make F# discriminated unions work in Unity? Is there any way to make F# discriminated unions work in Unity? unity-game-engine f%23 Unity AInt AString Is there any way to make F# discriminated unions work in Unity? I am experimenting with F# in Unity. I use compiled F# library and FSharp.Core.dll cop...
[ -0.0098876953125, 0.02490234375, -0.0002803802490234375, 0.0011444091796875, -0.0194091796875, -0.01129150390625, 0.00170135498046875, 0.01092529296875, -0.00738525390625, -0.01190185546875, 0.01483154296875, -0.00665283203125, 0.0380859375, 0.0203857421875, -0.005859375, -0.0053100585...
[ 2071, 2685, 2499, 3917, 3249, 563, 4904, 55970, 3674, 69941, 7, 4488, 23, 172904, 47, 51, 2481, 35311, 128897, 1238, 3742, 660, 2852, 28007, 5974, 35773, 93774, 3467, 254, 50886, 5, 1181, 71200, 53975, 60552, 26499, 15190, 10644, 1884, 18...
[ 0.003204345703125, 0.0258941650390625, 0.05780029296875, 0.082763671875, 0.0830078125, 0.1749267578125, 0.253662109375, 0.255615234375, 0.130859375, 0.26123046875, 0.1046142578125, 0.1531982421875, 0.107177734375, 0.2493896484375, 0.0162200927734375, 0.098876953125, 0.1051025390625, ...
embed
16544245_c0
16544245
fsharp
0
Title: F# type information Problem title: F# type information Tags: types, f%23, f%23-interactive, f%23-scripting Problem: F# type information this simple function let s = function | [] -> [[]] | list -> []::list has type ('a List List -> 'a List List). Thus, since 'a is generic, it accepts lists af arbitrary depth as ...
F# type information F# type information types f%23 f%23-interactive f%23-scripting List F# type information this simple function has type ('a List List -> 'a List List). Thus, since 'a is generic, it accepts lists af arbitrary depth as argument. My problem is that I always have to specify the depth of the input list or...
[ 0.003875732421875, 0.0147705078125, 0.0081787109375, -0.00005459785461425781, 0.00469970703125, -0.01385498046875, -0.01043701171875, -0.00095367431640625, 0.007049560546875, 0.00823974609375, 0.031982421875, -0.0186767578125, -0.005584716796875, 0.0128173828125, 0.0186767578125, 0.005...
[ 563, 4904, 10644, 4677, 52895, 1238, 3742, 27495, 10433, 71232, 32032, 32036, 8781, 32354, 11, 33079, 4, 242, 83, 189534, 26946, 5303, 261, 61799, 168867, 237, 10750, 2967, 11343, 765, 40140, 18929, 107730, 212398, 1221, 186992, 959, 4488, ...
[ 0.1317138671875, 0.21435546875, 0.199462890625, 0.15673828125, 0.139892578125, 0.08697509765625, 0.06610107421875, 0.0833740234375, 0.08551025390625, 0.0721435546875, 0.114013671875, 0.1644287109375, 0.10003662109375, 0.12255859375, 0.1246337890625, 0.04254150390625, 0.000244140625, ...
embed
47670452_c0
47670452
fsharp
0
Title: Pass &quot;generic&quot; JsonProvider to function in F# Problem title: Pass &quot;generic&quot; JsonProvider to function in F# Tags: type-providers, f%23 Problem: Pass "generic" JsonProvider to function in F# I have two JsonProvider types: type Provider1 = JsonProvider<"""{structure}"""> type Provider2 = JsonPro...
Pass &quot;generic&quot; JsonProvider to function in F# Pass &quot;generic&quot; JsonProvider to function in F# type-providers f%23 Pass JsonProvider Provider1 Provider2 structure2 GENERIC provider.Parse Pass "generic" JsonProvider to function in F# I have two JsonProvider types: I'd like to have a function, that can a...
[ 0.007659912109375, 0.03076171875, -0.022216796875, -0.0079345703125, -0.01239013671875, 0.0040283203125, -0.0024871826171875, -0.01220703125, -0.01123046875, -0.0308837890625, 0.005462646484375, 0.00927734375, 0.004486083984375, -0.016845703125, 0.02587890625, 0.005462646484375, -0.0...
[ 28872, 79446, 1771, 74, 821, 1681, 177997, 62160, 47, 32354, 23, 563, 4904, 10644, 93136, 14202, 1238, 3742, 123089, 42, 304, 45646, 88078, 16259, 81450, 28636, 184, 6626, 52895, 71, 1884, 765, 831, 26946, 2499, 111, 6097, 366, 1647, 1736...
[ 0.1397705078125, 0.126953125, 0.0589599609375, 0.030975341796875, 0.15869140625, 0.1937255859375, 0.1868896484375, 0.191162109375, 0.042755126953125, 0.1776123046875, 0.05126953125, 0.119384765625, 0.187255859375, 0.1141357421875, 0.1444091796875, 0.0181427001953125, 0.03207397460937...
embed
9164582_c1
9164582
fsharp
1
Id <- value member x.ArtistId with get() = artistId and set ( value ) = artistId <- value member x.Price with get() = price and set ( value ) = price <- value member x.AlbumArtUrl with get() = albumArtUrl and set ( value ) = albumArtUrl <- value member x.Artist with get() = artist and set ( value ) = artist <- value So...
Id <- value member x.ArtistId with get() = artistId and set ( value ) = artistId <- value member x.Price with get() = price and set ( value ) = price <- value member x.AlbumArtUrl with get() = albumArtUrl and set ( value ) = albumArtUrl <- value member x.Artist with get() = artist and set ( value ) = artist <- value So...
[ 0.003509521484375, 0.037353515625, 0.00665283203125, 0.0068359375, 0.004852294921875, 0.00933837890625, -0.00019550323486328125, 0.014892578125, 0.006927490234375, 0.0072021484375, -0.0203857421875, 0.043701171875, 0.0126953125, 0.00518798828125, -0.000316619873046875, 0.01031494140625...
[ 24799, 4426, 9, 34292, 32786, 1022, 89329, 271, 568, 71, 678, 2046, 132, 22104, 136, 5423, 33163, 27167, 116317, 23825, 48743, 7156, 36917, 18499, 316, 83, 959, 61924, 86869, 201950, 1791, 147, 7668, 45646, 52895, 28864, 26073, 73372, 22968...
[ 0.1544189453125, 0.09637451171875, 0.032196044921875, 0.1768798828125, 0.17529296875, 0.096435546875, 0.0968017578125, 0.042572021484375, 0.078857421875, 0.137451171875, 0.074951171875, 0.0965576171875, 0.00982666015625, 0.153564453125, 0.04248046875, 0.1116943359375, 0.0507202148437...
embed
70532141_c0
70532141
fsharp
0
Title: How is the struct keyword used for OCaml compatibility in module definitions? Problem title: How is the struct keyword used for OCaml compatibility in module definitions? Tags: f%23 Problem: How is the struct keyword used for OCaml compatibility in module definitions? Suppose I have a type like this: type Sprite...
How is the struct keyword used for OCaml compatibility in module definitions? How is the struct keyword used for OCaml compatibility in module definitions? f%23 How OCaml Sprite Position How is the struct keyword used for OCaml compatibility in module definitions? Suppose I have a type like this: The hover-text for str...
[ -0.002899169921875, 0.019287109375, 0.0084228515625, 0.004791259765625, 0.0162353515625, 0.00872802734375, 0.01458740234375, -0.00130462646484375, 0.007110595703125, 0.02685546875, -0.0012664794921875, -0.004302978515625, 0.0013427734375, -0.02685546875, 0.01007080078125, -0.0110473632...
[ 11249, 36716, 166117, 11814, 180, 105272, 141, 112793, 2481, 88996, 80934, 83, 3742, 49188, 1486, 99428, 10644, 1884, 739, 814, 22829, 37859, 2506, 193844, 2367, 2831, 29459 ]
[ 0.047088623046875, 0.2408447265625, 0.2098388671875, 0.0843505859375, 0.0946044921875, 0.1890869140625, 0.20263671875, 0.1732177734375, 0.0643310546875, 0.1793212890625, 0.1466064453125, 0.013671875, 0.02850341796875, 0.1298828125, 0.1558837890625, 0.1802978515625, 0.121337890625, ...
embed
4376275_c0
4376275
fsharp
0
Title: C# to F# Convert public partial class Device : MarshalByRefObject Problem title: C# to F# Convert public partial class Device : MarshalByRefObject Tags: c%23-to-f%23, f%23 Problem: C# to F# Convert public partial class Device : MarshalByRefObject public partial class Device : MarshalByRefObject { internal bool F...
C# to F# Convert public partial class Device : MarshalByRefObject C# to F# Convert public partial class Device : MarshalByRefObject c%23-to-f%23 f%23 Convert Device MarshalByRefObject FindTagName OneTag FuncSect fs.listTags ot.Name C# to F# Convert public partial class Device : MarshalByRefObject still have no idea how...
[ -0.001556396484375, 0.0247802734375, 0.0150146484375, 0.003997802734375, -0.010986328125, -0.006195068359375, 0.000514984130859375, -0.0164794921875, -0.01220703125, -0.0084228515625, 0.0172119140625, 0.00933837890625, -0.000804901123046875, 0.018310546875, -0.00157928466796875, 0.0064...
[ 313, 4904, 47, 563, 1657, 11549, 3835, 2878, 289, 18507, 174842, 23342, 4200, 75358, 190015, 46471, 75161, 501, 27495, 188, 420, 3742, 1238, 26040, 66448, 163612, 6561, 28670, 294, 24762, 7, 6562, 6528, 3642, 96760, 903, 15866, 136, 10433, ...
[ 0.0902099609375, 0.25341796875, 0.1614990234375, 0.16943359375, 0.0469970703125, 0.16455078125, 0.1439208984375, 0.1669921875, 0.0926513671875, 0.1868896484375, 0.2135009765625, 0.1375732421875, 0.1934814453125, 0.14453125, 0.2310791015625, 0.1336669921875, 0.1495361328125, 0.00741...
embed
75489915_c1
75489915
fsharp
1
.UInt16&'. // How to declare parseResult to retrieve the method result? let potentialResult = stringParser<'T>.Invoke(null, [|s; parseResult|]) match potentialResult with | :? bool as boolResult -> if boolResult then Some (parseResult) else None | _ -> None Code signals: System.ArgumentException, F#, Dotnet, Reflection...
.UInt16&'. // How to declare parseResult to retrieve the method result? let potentialResult = stringParser<'T>.Invoke(null, [|s; parseResult|]) match potentialResult with | :? bool as boolResult -> if boolResult then Some (parseResult) else None | _ -> None Code signals: System.ArgumentException, F#, Dotnet, Reflection...
[ -0.008056640625, 0.01019287109375, 0.0019683837890625, 0.01397705078125, -0.0223388671875, 0.0004825592041015625, -0.007415771484375, -0.018310546875, 0.007110595703125, 0.01007080078125, 0.003997802734375, 0.003387451171875, -0.0172119140625, 0.000010728836059570312, -0.0023040771484375...
[ 5, 33457, 660, 2485, 1230, 25, 4666, 11249, 47, 159978, 366, 184, 4332, 7, 7136, 456, 3996, 3134, 55300, 16750, 2633, 38516, 79315, 28636, 2189, 618, 4153, 23253, 139550, 14858, 678, 142484, 237, 2174, 31384, 2500, 37076, 438, 28864, 2607...
[ 0.030609130859375, 0.047637939453125, 0.113525390625, 0.2200927734375, 0.0908203125, 0.013336181640625, 0.0305023193359375, 0.06732177734375, 0.004852294921875, 0.193603515625, 0.1707763671875, 0.1522216796875, 0.114013671875, 0.1488037109375, 0.181884765625, 0.034515380859375, 0.094...
embed
879290_c0
879290
fsharp
0
Title: F# Print if true Problem title: F# Print if true Tags: functional-programming, f%23 Problem: F# Print if true I'm trying to print the output of function only when it is true but so far all attempts have been unsuccsessful. Something on the lines of: let printFactor a b = if b then print_any((a,b)) Where b is a b...
F# Print if true F# Print if true functional-programming f%23 Print print_any F# Print if true I'm trying to print the output of function only when it is true but so far all attempts have been unsuccsessful. Something on the lines of: Where b is a boolean and a is an integer. When I try it I get: Any suggestions? EDIT:...
[ 0.0018768310546875, -0.00958251953125, 0.015869140625, 0.0152587890625, -0.0086669921875, 0.007080078125, 0.00136566162109375, -0.00927734375, -0.006011962890625, 0.015625, 0.0002994537353515625, -0.00103759765625, -0.00537109375, 0.0086669921875, -0.005828857421875, -0.00775146484375,...
[ 563, 4904, 39754, 2174, 29568, 123309, 28966, 1238, 3949, 3742, 28412, 4848, 31577, 140992, 111, 32354, 4734, 3229, 442, 2060, 81887, 7, 765, 2809, 51, 1159, 10060, 5908, 7844, 70, 124519, 78662, 876, 83, 337, 31, 34677, 136, 10, 142, 8...
[ 0.14208984375, 0.220703125, 0.2476806640625, 0.23193359375, 0.282470703125, 0.181396484375, 0.1356201171875, 0.0941162109375, 0.005340576171875, 0.122802734375, 0.244140625, 0.1617431640625, 0.082275390625, 0.1826171875, 0.0222930908203125, 0.2020263671875, 0.134033203125, 0.086242...
embed
3840911_c0
3840911
fsharp
0
Title: Does it make sense to use F# for BLL implementation? Problem title: Does it make sense to use F# for BLL implementation? Tags: entity-framework, .net, f%23 Problem: Does it make sense to use F# for BLL implementation? Do you think it could be a good idea to use F# for implementation Business Logic Layer? I am go...
Does it make sense to use F# for BLL implementation? Does it make sense to use F# for BLL implementation? entity-framework .net f%23 Does BLL Does it make sense to use F# for BLL implementation? Do you think it could be a good idea to use F# for implementation Business Logic Layer? I am going to use Entity Framework as...
[ -0.00079345703125, 0.002685546875, 0.0247802734375, -0.01446533203125, -0.014892578125, 0.0244140625, 0.01422119140625, 0.006103515625, 0.00634765625, 0.01220703125, -0.01470947265625, 0.027587890625, 0.0142822265625, 0.0096435546875, 0.00787353515625, -0.004486083984375, 0.015075683...
[ 101790, 3249, 10422, 4527, 563, 4904, 100, 335, 23708, 208124, 442, 77630, 939, 160328, 18244, 5, 1179, 1238, 3742, 5351, 5809, 4127, 6528, 14249, 50592, 238, 239, 8889, 7730, 16511, 2481, 202220, 237, 10135, 291, 8079, 29479, 111481, 62775...
[ 0.0784912109375, 0.0789794921875, 0.1676025390625, 0.1319580078125, 0.18505859375, 0.261474609375, 0.06695556640625, 0.123779296875, 0.26513671875, 0.1640625, 0.0234527587890625, 0.1282958984375, 0.0697021484375, 0.125244140625, 0.0819091796875, 0.00738525390625, 0.1470947265625, 0...
embed
61114389_c1
61114389
fsharp
1
it with the above linked question, I've become not sure whether I'm correctly understanding it or not. Thinking from it and the answer of linked question, it seems like the evaluation continues until it becomes not able to evaluate, possibly because the lack of information, parameters, or anything. Then, is it OK to t...
it with the above linked question, I've become not sure whether I'm correctly understanding it or not. Thinking from it and the answer of linked question, it seems like the evaluation continues until it becomes not able to evaluate, possibly because the lack of information, parameters, or anything. Then, is it OK to t...
[ 0.00146484375, -0.00653076171875, 0.00811767578125, 0.00701904296875, -0.004180908203125, 0.0101318359375, 0.044677734375, 0.0087890625, 0.0184326171875, -0.00299072265625, 0.006011962890625, 0.031494140625, 0.024658203125, 0.0177001953125, -0.0240478515625, -0.000751495361328125, 0....
[ 442, 678, 26785, 100094, 87062, 37202, 219836, 136622, 24189, 24209, 959, 19048, 47, 151575, 92635, 4677, 171859, 14315, 5351, 11907, 16648, 32087, 2831, 125195, 297, 4734, 24145, 136, 479, 277, 7077, 27781, 52490, 87235, 23718, 34735, 28864, ...
[ 0.1671142578125, 0.05596923828125, 0.0137939453125, 0.1090087890625, 0.007537841796875, 0.0194549560546875, 0.2259521484375, 0.165283203125, 0.06695556640625, 0.07794189453125, 0.0633544921875, 0.087890625, 0.012603759765625, 0.195068359375, 0.08984375, 0.1295166015625, 0.11303710937...
embed
63116098_c0
63116098
fsharp
0
Title: Trying to write a simple function in f# that asks user for input in command line Problem title: Trying to write a simple function in f# that asks user for input in command line Tags: f%23 Problem: Trying to write a simple function in f# that asks user for input in command line Here is my code: open System let co...
Trying to write a simple function in f# that asks user for input in command line Trying to write a simple function in f# that asks user for input in command line f%23 Trying System collect_name Console.Write Enter Your Console.ReadLine Hello Trying to write a simple function in f# that asks user for input in command li...
[ -0.004150390625, -0.0016632080078125, 0.0026397705078125, 0.050048828125, 0.0079345703125, 0.01019287109375, 0.0003528594970703125, -0.00013446807861328125, -0.015380859375, -0.0245361328125, 0.0048828125, -0.00555419921875, -0.01171875, 0.0169677734375, 0.0020599365234375, -0.00393676...
[ 40858, 33022, 8781, 32354, 23, 1238, 4904, 26458, 7, 38937, 100, 107730, 75101, 13315, 3949, 3742, 12353, 43799, 11627, 1657, 40777, 1456, 18781, 60816, 14804, 31345, 93232, 35378, 11853, 18151, 20949, 18499, 11249, 3249, 70, 10, 79315, 136, ...
[ 0.08837890625, 0.1390380859375, 0.1474609375, 0.1900634765625, 0.07562255859375, 0.132568359375, 0.2264404296875, 0.135986328125, 0.0198974609375, 0.135009765625, 0.0621337890625, 0.23291015625, 0.18603515625, 0.131103515625, 0.042083740234375, 0.14208984375, 0.1268310546875, 0.191...
embed
832569_c0
832569
fsharp
0
Title: List of Functional code snippets for Procedural Programmers? Problem title: List of Functional code snippets for Procedural Programmers? Tags: ocaml, haskell, functional-programming, f%23, code-snippets Problem: List of Functional code snippets for Procedural Programmers? Sometimes I still get stuck trying to tr...
List of Functional code snippets for Procedural Programmers? List of Functional code snippets for Procedural Programmers? ocaml haskell functional-programming f%23 code-snippets List Functional Procedural Programmers List of Functional code snippets for Procedural Programmers? Sometimes I still get stuck trying to tran...
[ 0.027099609375, -0.00156402587890625, 0.00174713134765625, -0.0172119140625, 0.000335693359375, 0.01373291015625, -0.0133056640625, -0.00640869140625, -0.003570556640625, -0.0220947265625, 0.00164031982421875, -0.000286102294921875, -0.017333984375, 0.00421142578125, 0.0130615234375, -...
[ 32036, 111, 28670, 10763, 289, 18151, 93, 58134, 7, 100, 170470, 27958, 1314, 91, 36, 9779, 141, 1556, 142508, 123309, 28966, 1238, 3949, 3742, 160193, 7464, 179933, 31577, 3900, 19309, 59158, 3934, 5303, 13373, 28016, 291, 48398, 47, 9879,...
[ 0.08856201171875, 0.01031494140625, 0.148193359375, 0.10546875, 0.14013671875, 0.1817626953125, 0.1263427734375, 0.1627197265625, 0.02978515625, 0.05780029296875, 0.216552734375, 0.1651611328125, 0.102294921875, 0.0158538818359375, 0.044586181640625, 0.07415771484375, 0.0902099609375...
embed
2192852_c0
2192852
fsharp
0
Title: how are abs, sign etc implemented in F# Problem title: how are abs, sign etc implemented in F# Tags: inline, f%23 Problem: how are abs, sign etc implemented in F# I found that: abs -10 abs -10L both work. So I wondered how F# implemented this and did a search in the source code: type AbsDynamicImplTable<'T>() = ...
how are abs, sign etc implemented in F# how are abs, sign etc implemented in F# inline f%23 AbsDynamicImplTable AbsDynamic Result CompiledName Abs how are abs, sign etc implemented in F# I found that: both work. So I wondered how F# implemented this and did a search in the source code: And I am confused with these. As ...
[ 0.01220703125, -0.005584716796875, 0.0257568359375, 0.0048828125, -0.006866455078125, 0.00701904296875, 0.015380859375, 0.0103759765625, -0.019775390625, 0.021728515625, 0.01275634765625, 0.00186920166015625, -0.01153564453125, -0.00022029876708984375, 0.000919342041015625, 0.011413574...
[ 3642, 621, 43719, 4, 24092, 3021, 29479, 297, 23, 563, 4904, 2256, 1238, 3742, 27174, 29673, 128878, 141, 618, 2886, 21068, 126684, 15612, 163612, 15044, 4488, 31344, 55681, 6097, 32354, 8110, 69101, 107730, 678, 757, 12921, 52895 ]
[ 0.0936279296875, 0.050537109375, 0.24755859375, 0.04376220703125, 0.2376708984375, 0.06219482421875, 0.191650390625, 0.0670166015625, 0.07757568359375, 0.141357421875, 0.20703125, 0.066162109375, 0.06597900390625, 0.0816650390625, 0.200927734375, 0.09625244140625, 0.022918701171875, ...
embed
20986208_c1
20986208
fsharp
1
a mousedown event on the drawing area, place the first corner of my shape, have a preview of the shape when I'm moving my mouse around, and set the second corner on mouseUp, in an not-too-overkill way? TL;DR bonus question: Can I easily make the rectangledrawing work like in MSPaint? Code signals: Change, Tool, Rectan...
a mousedown event on the drawing area, place the first corner of my shape, have a preview of the shape when I'm moving my mouse around, and set the second corner on mouseUp, in an not-too-overkill way? TL;DR bonus question: Can I easily make the rectangledrawing work like in MSPaint? Code signals: Change, Tool, Rectan...
[ -0.01483154296875, 0.0245361328125, -0.0024261474609375, -0.00970458984375, 0.0093994140625, 0.019775390625, 0.01226806640625, -0.0108642578125, 0.0162353515625, 0.0026702880859375, 0.005218505859375, 0.00347900390625, -0.00141143798828125, 0.01318359375, 0.00958251953125, -0.018798828...
[ 10, 114669, 34695, 19732, 98, 188304, 16128, 3687, 5117, 107767, 111, 759, 115700, 765, 479, 22751, 98567, 10932, 5423, 17932, 53234, 959, 24838, 119261, 9396, 9655, 4171, 72546, 3249, 148734, 449, 133, 86905, 214, 4488, 1884, 23, 276, 9434...
[ 0.04388427734375, 0.172119140625, 0.2325439453125, 0.1827392578125, 0.0113525390625, 0.187255859375, 0.096435546875, 0.1107177734375, 0.0521240234375, 0.156982421875, 0.007476806640625, 0.037353515625, 0.1806640625, 0.015655517578125, 0.04931640625, 0.170166015625, 0.045654296875, ...
embed
297656_c0
297656
fsharp
0
Title: F# syntax error Problem title: F# syntax error Tags: function-calls, f%23, syntax-error Problem: F# syntax error I'm having a syntax error. I want to take the floor of a function that returns a floating point number. I thought this would give me the right answer let cyclesPerInterrupt bps bpw cpu factor = floor ...
F# syntax error F# syntax error function-calls f%23 syntax-error F# syntax error I'm having a syntax error. I want to take the floor of a function that returns a floating point number. I thought this would give me the right answer But it doesn't. I've tried everything I can think of, and it's just not coming together f...
[ -0.00860595703125, -0.024658203125, -0.003875732421875, -0.00860595703125, -0.0029296875, 0.00628662109375, -0.016357421875, -0.0164794921875, 0.0064697265625, -0.022705078125, -0.01190185546875, 0.0026397705078125, -0.00872802734375, -0.005126953125, 0.01177978515625, -0.0179443359375...
[ 563, 4904, 6002, 86531, 18499, 32354, 85763, 7, 1238, 3949, 3742, 188800, 19441, 3444, 47, 5646, 70, 74912, 111, 30646, 21917, 26518, 6275, 14012, 17569, 7108, 35166, 22027, 18, 37842, 26818, 87, 5351, 959, 38162, 25842, 100, 163, 3714, 1...
[ 0.147705078125, 0.2264404296875, 0.1666259765625, 0.2021484375, 0.1844482421875, 0.1864013671875, 0.205322265625, 0.043426513671875, 0.1239013671875, 0.07501220703125, 0.1793212890625, 0.15234375, 0.03692626953125, 0.08837890625, 0.006866455078125, 0.1336669921875, 0.039642333984375,...
embed
42948001_c0
42948001
fsharp
0
Title: Combination takeWhile, skipWhile Problem title: Combination takeWhile, skipWhile Tags: f%23, list Problem: Combination takeWhile, skipWhile In F#, I find when I want to use takeWhile , I usually also want to use skipWhile , that is, take the list prefix that satisfies a predicate, and also remember the rest of t...
Combination takeWhile, skipWhile Combination takeWhile, skipWhile f%23 list Combination Combination takeWhile, skipWhile In F#, I find when I want to use takeWhile , I usually also want to use skipWhile , that is, take the list prefix that satisfies a predicate, and also remember the rest of the list for subsequent pro...
[ 0.00007104873657226562, 0.0186767578125, 0.0004291534423828125, 0.005584716796875, -0.02392578125, 0.0196533203125, -0.00008916854858398438, 0.000499725341796875, 0.015869140625, -0.023681640625, 0.001312255859375, 0.0294189453125, -0.007049560546875, 0.017578125, 0.00384521484375, 0.0...
[ 106935, 19, 5646, 1456, 979, 133, 4, 21658, 1238, 3949, 3742, 5303, 563, 4904, 3444, 4527, 56104, 183114, 40407, 1653, 2063, 37629, 10588, 221419, 9433, 5570, 35773, 1294, 32354, 15044, 33022, 72546, 2367, 5608, 903, 162515, 35839, 162520, ...
[ 0.2108154296875, 0.1573486328125, 0.2156982421875, 0.102294921875, 0.2293701171875, 0.2005615234375, 0.030303955078125, 0.252685546875, 0.093017578125, 0.0458984375, 0.1668701171875, 0.185302734375, 0.103515625, 0.1644287109375, 0.0867919921875, 0.085693359375, 0.0276336669921875, ...
embed
21529651_c1
21529651
fsharp
1
IL_0023: call System.String.Concat Obviously this is because this particular optimization is not implemented in the F# compiler. The question is why: is it technically hard to do or is there some other reason? String concatenation is a fairly common operation and while I realize that the performance of compiled code i...
IL_0023: call System.String.Concat Obviously this is because this particular optimization is not implemented in the F# compiler. The question is why: is it technically hard to do or is there some other reason? String concatenation is a fairly common operation and while I realize that the performance of compiled code i...
[ 0.01123046875, 0.0009002685546875, -0.01214599609375, 0.01275634765625, -0.01055908203125, -0.000209808349609375, -0.0225830078125, -0.0089111328125, 0.00689697265625, -0.01361083984375, -0.008056640625, -0.00665283203125, 0.0201416015625, -0.0042724609375, 0.00640869140625, -0.0098876...
[ 30219, 7049, 3742, 11782, 12353, 71713, 214, 11935, 4460, 903, 6637, 17311, 87235, 1363, 83, 959, 29479, 297, 23, 563, 4904, 9969, 34759, 9655, 15400, 442, 121392, 7941, 47, 54, 31635, 23351, 158, 33, 180663, 39210, 41018, 70, 23718, 5974...
[ 0.1400146484375, 0.08489990234375, 0.1865234375, 0.147216796875, 0.149658203125, 0.1824951171875, 0.14404296875, 0.158447265625, 0.24560546875, 0.043304443359375, 0.0284423828125, 0.06817626953125, 0.211181640625, 0.08154296875, 0.039093017578125, 0.10321044921875, 0.15087890625, 0...
embed
36406337_c1
36406337
fsharp
1
= createFileTarget "test" config.AddTarget("logfile", target) let rule = new LoggingRule("*", LogLevel.Info, target) config.LoggingRules.Add(rule) let factory = new LogFactory() factory.Configuration <- config factory.GetLogger("testLogger") Code signals: NLog, Programmatically, Archiving, Mono, Targets.FileTarget, Lo...
= createFileTarget "test" config.AddTarget("logfile", target) let rule = new LoggingRule("*", LogLevel.Info, target) config.LoggingRules.Add(rule) let factory = new LogFactory() factory.Configuration <- config factory.GetLogger("testLogger") Code signals: NLog, Programmatically, Archiving, Mono, Targets.FileTarget, Lo...
[ 0.0115966796875, 0.023193359375, -0.00189971923828125, 0.017578125, 0.0198974609375, -0.010009765625, 0.000720977783203125, -0.005889892578125, -0.004913330078125, 0.0224609375, -0.000682830810546875, 0.013427734375, -0.023681640625, 0.00689697265625, 0.0169677734375, -0.019775390625, ...
[ 2203, 28282, 174350, 63031, 3794, 6954, 153837, 4028, 4867, 29822, 30388, 2633, 79986, 3525, 64906, 214, 26951, 133, 13146, 2601, 93147, 6, 15363, 36659, 882, 31461, 53, 135518, 31667, 59994, 113972, 1505, 18939, 28864, 26073, 12, 541, 27958,...
[ 0.0987548828125, 0.15185546875, 0.15966796875, 0.2548828125, 0.223388671875, 0.1964111328125, 0.1937255859375, 0.0706787109375, 0.152587890625, 0.142578125, 0.255859375, 0.10748291015625, 0.17626953125, 0.03790283203125, 0.1602783203125, 0.032562255859375, 0.1126708984375, 0.105834...
embed
4477588_c0
4477588
fsharp
0
Title: What is a unification algorithm? Problem title: What is a unification algorithm? Tags: f%23, algorithm, prolog, unification, functional-programming Problem: What is a unification algorithm? Well I know it might sound a bit strange but yes my question is: "What is a unification algorithm". Well, I am trying to de...
What is a unification algorithm? What is a unification algorithm? f%23 algorithm prolog unification functional-programming What What is a unification algorithm? Well I know it might sound a bit strange but yes my question is: "What is a unification algorithm". Well, I am trying to develop an application in F# to act li...
[ 0.01470947265625, 0.0155029296875, 0.031982421875, -0.00115203857421875, -0.01214599609375, -0.005126953125, -0.01361083984375, 0.0087890625, -0.00131988525390625, -0.0174560546875, -0.01904296875, 0.00013256072998046875, -0.0030517578125, 0.00927734375, -0.020263671875, 0.008728027343...
[ 4865, 83, 10, 51, 41274, 234873, 32, 1238, 3949, 3742, 502, 4867, 123309, 28966, 214, 13648, 45730, 114453, 72272, 9655, 52231, 31577, 85493, 38415, 23, 563, 4904, 27992, 1884, 1250, 5608, 5646, 36549, 15824, 9433, 41, 42459, 26859, 29479, ...
[ 0.1121826171875, 0.1064453125, 0.1251220703125, 0.2310791015625, 0.2381591796875, 0.26708984375, 0.0207672119140625, 0.0906982421875, 0.0758056640625, 0.1431884765625, 0.1180419921875, 0.208251953125, 0.1202392578125, 0.10693359375, 0.0235595703125, 0.0220489501953125, 0.090209960937...
embed
45224006_c0
45224006
fsharp
0
Title: Can I express recursive relationships of generic types with type constraints in F#? Problem title: Can I express recursive relationships of generic types with type constraints in F#? Tags: f%23 Problem: Can I express recursive relationships of generic types with type constraints in F#? Given the following type t...
Can I express recursive relationships of generic types with type constraints in F#? Can I express recursive relationships of generic types with type constraints in F#? f%23 Can WorkflowStep Next Prev Cancel Can I express recursive relationships of generic types with type constraints in F#? Given the following type I'd ...
[ -0.002105712890625, 0.0048828125, -0.006072998046875, 0.01373291015625, -0.0022430419921875, -0.0091552734375, -0.017578125, -0.007080078125, -0.000850677490234375, 0.00150299072265625, 0.0003814697265625, -0.0194091796875, -0.0098876953125, 0.0028076171875, -0.002166748046875, -0.0070...
[ 4171, 36510, 195625, 5844, 151618, 189534, 52895, 678, 10644, 158, 2816, 4288, 563, 4904, 87, 23, 1238, 3742, 27985, 118664, 191644, 4997, 74717, 80392, 86, 29062, 4692, 334, 136, 4398, 8969, 25072, 7722, 22, 40899, 17366 ]
[ 0.072998046875, 0.18798828125, 0.2152099609375, 0.0999755859375, 0.2012939453125, 0.2044677734375, 0.180419921875, 0.04949951171875, 0.1689453125, 0.03094482421875, 0.1378173828125, 0.08294677734375, 0.1256103515625, 0.20361328125, 0.0211334228515625, 0.010772705078125, 0.02615356445...
embed
58733147_c0
58733147
fsharp
0
Title: F# match with query results. Is there an elegant way to do this? Problem title: F# match with query results. Is there an elegant way to do this? Tags: f%23 Problem: F# match with query results. Is there an elegant way to do this? I have an result of a JObject type, from parsing json: let j = JObject.Parse x the ...
F# match with query results. Is there an elegant way to do this? F# match with query results. Is there an elegant way to do this? f%23 JObject.Parse F# match with query results. Is there an elegant way to do this? I have an result of a JObject type, from parsing json: the code I have to do is like: is there a clean way...
[ 0.00023174285888671875, 0.0223388671875, -0.0201416015625, -0.006591796875, -0.001617431640625, -0.026123046875, 0.00311279296875, 0.00933837890625, -0.00016689300537109375, 0.0185546875, 0.0029296875, -0.006195068359375, 0.018798828125, -0.0228271484375, 0.006622314453125, 0.000873565...
[ 563, 4904, 14858, 678, 41, 1294, 50339, 2071, 2685, 27650, 3917, 54, 903, 1238, 3949, 3742, 21253, 275, 75161, 28636, 184, 16750, 10644, 366, 6953, 1647, 1681, 18151, 83, 1884, 46622, 63805, 48903, 1601, 16940, 11522 ]
[ 0.1785888671875, 0.2261962890625, 0.2088623046875, 0.150146484375, 0.14208984375, 0.15673828125, 0.212158203125, 0.0239105224609375, 0.024688720703125, 0.1800537109375, 0.06634521484375, 0.059783935546875, 0.07684326171875, 0.1207275390625, 0.01873779296875, 0.1314697265625, 0.158569...
embed
40918760_c0
40918760
fsharp
0
Title: What&#x27;s the best way to read from stdin? Problem title: What&#x27;s the best way to read from stdin? Tags: stdin, console.readline, f%23 Problem: What's the best way to read from stdin? I am currently trying to learn F# better and I am using codingame as an source of programming quizzes. Most of the quizess ...
What&#x27;s the best way to read from stdin? What&#x27;s the best way to read from stdin? stdin console.readline f%23 stdin What Reader Console.In.ReadLine N-1 Seq.map console.readline What's the best way to read from stdin? I am currently trying to learn F# better and I am using codingame as an source of programming q...
[ -0.0087890625, -0.025390625, 0.0089111328125, -0.0011749267578125, 0.0030364990234375, -0.007781982421875, 0.0091552734375, 0.00095367431640625, -0.010986328125, -0.03857421875, 0.0115966796875, 0.003387451171875, 0.0018463134765625, -0.001434326171875, 0.0108642578125, -0.008361816406...
[ 3768, 2965, 3917, 47, 12301, 1295, 6138, 3035, 130250, 39116, 2256, 1238, 3742, 4865, 122636, 40777, 4153, 31345, 93232, 541, 5759, 864, 62346, 70, 30698, 563, 4904, 11522, 17368, 552, 132982, 282, 31344, 56037, 81758, 17006, 569, 13105, 16...
[ 0.0877685546875, 0.14501953125, 0.09100341796875, 0.06658935546875, 0.2247314453125, 0.1727294921875, 0.19482421875, 0.25244140625, 0.190185546875, 0.15869140625, 0.155517578125, 0.0419921875, 0.0714111328125, 0.008270263671875, 0.1988525390625, 0.11328125, 0.056884765625, 0.143188...
embed
4114437_c0
4114437
fsharp
0
Title: Can someone point me to examples of multiparadigm (object-functional) programming in F#? Problem title: Can someone point me to examples of multiparadigm (object-functional) programming in F#? Tags: functional-programming, f%23, oop Problem: Can someone point me to examples of multiparadigm (object-functional) p...
Can someone point me to examples of multiparadigm (object-functional) programming in F#? Can someone point me to examples of multiparadigm (object-functional) programming in F#? functional-programming f%23 oop Can Can someone point me to examples of multiparadigm (object-functional) programming in F#? Can someone point...
[ 0.00616455078125, 0.0084228515625, 0.009765625, 0.00811767578125, -0.005157470703125, -0.00421142578125, -0.005462646484375, -0.00121307373046875, 0.0057373046875, -0.0216064453125, -0.0130615234375, -0.02392578125, 0.000461578369140625, 0.015869140625, -0.01531982421875, -0.0140380859...
[ 4171, 22008, 6275, 163, 27781, 7, 111, 6024, 6276, 4803, 39, 187694, 9, 137175, 289, 56037, 449, 23, 563, 4904, 123309, 28966, 214, 1238, 3742, 32500, 47, 16487, 70163, 30563, 619, 5915, 22120, 83, 113490, 46876, 959, 106804 ]
[ 0.029693603515625, 0.006317138671875, 0.093017578125, 0.01708984375, 0.1707763671875, 0.044036865234375, 0.001190185546875, 0.165771484375, 0.138427734375, 0.175048828125, 0.072021484375, 0.196044921875, 0.010406494140625, 0.18310546875, 0.06597900390625, 0.1806640625, 0.088745117187...
embed
49241543_c0
49241543
fsharp
0
Title: How do I reference the F# binding and steps assembly correctly in the config file.? Problem title: How do I reference the F# binding and steps assembly correctly in the config file.? Tags: specflow, selenium, f%23, f%23-interactive, c%23 Problem: How do I reference the F# binding and steps assembly correctly in ...
How do I reference the F# binding and steps assembly correctly in the config file.? How do I reference the F# binding and steps assembly correctly in the config file.? specflow selenium f%23 f%23-interactive c%23 How How do I reference the F# binding and steps assembly correctly in the config file.? Basically developed...
[ -0.01416015625, 0.0264892578125, -0.000701904296875, -0.0206298828125, -0.0113525390625, 0.00799560546875, 0.0078125, -0.00848388671875, 0.00830078125, 0.00494384765625, -0.0220947265625, -0.005584716796875, -0.004974365234375, 0.0155029296875, 0.0179443359375, -0.00141143798828125, ...
[ 11249, 87, 91067, 563, 4904, 128239, 136, 98441, 89845, 38526, 26785, 153837, 11435, 54, 23, 48502, 118664, 34894, 53208, 1238, 3742, 27495, 10433, 71232, 126809, 335, 24057, 17368, 96760, 313, 47, 5639, 10763, 77758, 46876, 21930, 24990, 184...
[ 0.073486328125, 0.0103759765625, 0.2327880859375, 0.1470947265625, 0.24951171875, 0.2384033203125, 0.1090087890625, 0.206298828125, 0.1744384765625, 0.091796875, 0.1397705078125, 0.2174072265625, 0.1390380859375, 0.0247955322265625, 0.04901123046875, 0.1790771484375, 0.24658203125, ...
embed
47946136_c0
47946136
fsharp
0
Title: How to create a fsunit test for pattern matching in f#? Problem title: How to create a fsunit test for pattern matching in f#? Tags: fsunit, f%23, unit-testing, pattern-matching Problem: How to create a fsunit test for pattern matching in f#? I'm new to f# and fsUnit and I'm wondering how to test a pattern match...
How to create a fsunit test for pattern matching in f#? How to create a fsunit test for pattern matching in f#? fsunit f%23 unit-testing pattern-matching How Menu Choice Console.ReadLine Function1 Function2 Function3 Printfn Error How to create a fsunit test for pattern matching in f#? I'm new to f# and fsUnit and I'm ...
[ -0.025390625, -0.0087890625, -0.0018463134765625, 0.0040283203125, -0.00982666015625, -0.018310546875, -0.00506591796875, 0.0086669921875, 0.0021209716796875, 0.0169677734375, 0.020263671875, 0.0020599365234375, -0.00738525390625, -0.0091552734375, 0.006500244140625, 0.005889892578125,...
[ 11249, 47, 28282, 10, 1238, 6548, 217, 3034, 100, 103510, 14858, 214, 23, 4904, 3742, 25072, 6954, 98753, 49434, 181948, 40777, 31345, 93232, 28670, 39754, 14783, 212059, 7, 85600, 18, 87, 3642, 63805, 17368, 25632, 18151, 33022 ]
[ 0.03814697265625, 0.0172576904296875, 0.1278076171875, 0.04962158203125, 0.1339111328125, 0.118896484375, 0.1572265625, 0.2293701171875, 0.036712646484375, 0.21240234375, 0.19921875, 0.113525390625, 0.043243408203125, 0.1834716796875, 0.0810546875, 0.1387939453125, 0.15380859375, 0...
embed
26553985_c0
26553985
fsharp
0
Title: Using F# type providers on top of a DataTable Problem title: Using F# type providers on top of a DataTable Tags: type-providers, f%23, datatable Problem: Using F# type providers on top of a DataTable I will be spending some significant amount of time trying to understand large chunks of data that are behind an A...
Using F# type providers on top of a DataTable Using F# type providers on top of a DataTable type-providers f%23 datatable Using DataTable Using F# type providers on top of a DataTable I will be spending some significant amount of time trying to understand large chunks of data that are behind an API which returns DataTa...
[ 0.025146484375, 0.0272216796875, -0.01202392578125, 0.015869140625, 0.004241943359375, -0.004638671875, -0.0031585693359375, 0.0245361328125, -0.00634765625, -0.051025390625, -0.00183868408203125, -0.0128173828125, 0.00213623046875, 0.0062255859375, -0.0120849609375, -0.006561279296875...
[ 345, 563, 4904, 10644, 81450, 7, 2663, 111, 11809, 618, 2886, 93136, 14202, 1238, 3949, 3742, 2053, 22819, 140533, 88551, 28219, 7839, 50155, 61687, 30646, 19736, 41, 2806, 3249, 6897, 207583, 99156, 23468, 3917, 45367, 944, 37515, 71, 3674...
[ 0.04754638671875, 0.1409912109375, 0.22119140625, 0.2208251953125, 0.2342529296875, 0.02752685546875, 0.1324462890625, 0.0188751220703125, 0.07000732421875, 0.1375732421875, 0.174560546875, 0.1533203125, 0.0218353271484375, 0.05267333984375, 0.0231170654296875, 0.1185302734375, 0.068...
embed
64759059_c0
64759059
fsharp
0
Title: How to break iterating over a list in FSharp? Problem title: How to break iterating over a list in FSharp? Tags: break, f%23, loops Problem: How to break iterating over a list in FSharp? I want to stop iterating over a List when the first item matches a condition. let list1 = [1; 2; 3; 4; 5; 6; 7; 8; 9; 10] let ...
How to break iterating over a list in FSharp? How to break iterating over a list in FSharp? break f%23 loops How FSharp list1 list2 List.iter List.contains Not Present How to break iterating over a list in FSharp? I want to stop iterating over a List when the first item matches a condition. I want to only print the fir...
[ -0.006134033203125, -0.0050048828125, 0.00830078125, 0.0037078857421875, 0.000576019287109375, 0.01220703125, 0.0115966796875, 0.003753662109375, -0.0125732421875, -0.0034027099609375, 0.0228271484375, 0.00927734375, 0.004608154296875, -0.0078125, 0.01220703125, 0.0184326171875, -0.0...
[ 11249, 47, 36356, 17, 67, 98767, 645, 5303, 93774, 3467, 254, 1238, 3949, 3742, 40956, 304, 32036, 16840, 98102, 11205, 97721, 23, 3444, 7279, 5117, 35735, 14858, 35431, 4734, 28412, 83, 959, 13379, 3688, 138, 32562, 18151, 123309 ]
[ 0.044189453125, 0.0268096923828125, 0.211669921875, 0.0672607421875, 0.1785888671875, 0.1973876953125, 0.1627197265625, 0.1917724609375, 0.093994140625, 0.1871337890625, 0.197998046875, 0.090087890625, 0.0450439453125, 0.138427734375, 0.1649169921875, 0.025848388671875, 0.15026855468...
embed
68876591_c0
68876591
fsharp
0
Title: F# ToString() %A formatting doesnt work on linux with mono Problem title: F# ToString() %A formatting doesnt work on linux with mono Tags: mono, linux, f%23 Problem: F# ToString() %A formatting doesnt work on linux with mono I use the fsharpc compiler installed with mono. And I wanted to override the ToString() ...
F# ToString() %A formatting doesnt work on linux with mono F# ToString() %A formatting doesnt work on linux with mono mono linux f%23 ToString F# ToString() %A formatting doesnt work on linux with mono I use the fsharpc compiler installed with mono. And I wanted to override the ToString() method for some of my types. T...
[ -0.005889892578125, 0.001861572265625, 0.01141357421875, 0.029541015625, 0.0038909912109375, -0.0174560546875, 0.028564453125, 0.0126953125, 0.0013427734375, 0.032958984375, 0.01513671875, -0.0191650390625, 0.0030364990234375, -0.0033721923828125, 0.019287109375, -0.00133514404296875, ...
[ 563, 4904, 717, 71713, 214, 1745, 284, 9384, 1916, 22027, 18, 4488, 98, 11508, 6077, 678, 22460, 1238, 3742, 89280, 57095, 9969, 34759, 20600, 416, 132, 55300, 52895, 13580, 756, 1340, 5885, 28412, 420, 3949, 114977, 8, 85779, 140992, 180...
[ 0.09661865234375, 0.16796875, 0.216552734375, 0.2135009765625, 0.12744140625, 0.1397705078125, 0.162109375, 0.220458984375, 0.115966796875, 0.0347900390625, 0.056396484375, 0.1319580078125, 0.084716796875, 0.10205078125, 0.126220703125, 0.1300048828125, 0.2210693359375, 0.081665039...
embed
10916661_c0
10916661
fsharp
0
Title: Using Array.map omitting the first element of the array in F# Problem title: Using Array.map omitting the first element of the array in F# Tags: f%23 Problem: Using Array.map omitting the first element of the array in F# I have just started playing with F#, so this question will probably be quite basic... I woul...
Using Array.map omitting the first element of the array in F# Using Array.map omitting the first element of the array in F# f%23 Using Array.map File.ReadAllLines Array Using Array.map omitting the first element of the array in F# I have just started playing with F#, so this question will probably be quite basic... I w...
[ 0.002655029296875, -0.002471923828125, 0.00634765625, 0.0130615234375, -0.0301513671875, -0.002288818359375, 0.02197265625, 0.0196533203125, 0.00433349609375, -0.0101318359375, -0.000736236572265625, 0.017822265625, -0.0238037109375, 0.009765625, 0.0106201171875, 0.0125732421875, 0.0...
[ 69253, 53, 62346, 171, 14, 19514, 5117, 12830, 10298, 563, 4904, 1238, 3742, 42724, 31345, 43512, 93232, 75169, 62822, 2806, 1884, 12301, 7986, 11435, 13315, 390, 124962, 9433, 3789, 124519, 17368, 32354, 47644, 27650, 14373, 93766, 163846 ]
[ 0.1533203125, 0.117919921875, 0.197998046875, 0.11181640625, 0.069580078125, 0.0148162841796875, 0.08843994140625, 0.1163330078125, 0.132080078125, 0.123779296875, 0.1998291015625, 0.016754150390625, 0.09228515625, 0.12939453125, 0.126220703125, 0.013427734375, 0.1148681640625, 0.0...
embed
27744198_c0
27744198
fsharp
0
Title: F# Type inference with curried functions Problem title: F# Type inference with curried functions Tags: type-inference, types, f%23 Problem: F# Type inference with curried functions I have the following code let bar foo baz = foo, baz let z = bar 3 let z1 = z 2 however If I comment out the last line let z1 = z 2 ...
F# Type inference with curried functions F# Type inference with curried functions type-inference types f%23 Type FS0030 Value Either F# Type inference with curried functions I have the following code however If I comment out the last line let z1 = z 2 I get an error I am completely lost on how the annotate the function...
[ 0.001251220703125, -0.0125732421875, -0.005035400390625, 0.0150146484375, 0.0169677734375, 0.00762939453125, 0.0035858154296875, -0.000614166259765625, 0.0005340576171875, -0.02685546875, 0.015625, 0.00537109375, -0.0021514892578125, -0.011474609375, 0.019775390625, -0.01116943359375, ...
[ 563, 4904, 60457, 53498, 678, 9709, 46572, 32354, 6620, 10644, 73, 69988, 52895, 1238, 3949, 3742, 93774, 7049, 1197, 190060, 9319, 25632, 18151, 6868, 1810, 70, 4568, 13315, 2633, 97, 418, 2203, 116, 18499, 64557, 72856, 8668, 19888, 26785...
[ 0.10577392578125, 0.1788330078125, 0.1883544921875, 0.1761474609375, 0.0823974609375, 0.09320068359375, 0.196044921875, 0.1448974609375, 0.03350830078125, 0.146484375, 0.024322509765625, 0.1439208984375, 0.1439208984375, 0.08349609375, 0.01226806640625, 0.12939453125, 0.1055908203125...
embed
53366775_c1
53366775
fsharp
1
myButton let myStack = StackPanel() let buttons = buttonNames |> List.map createSmallButton buttons |> List.iter myStack.add let myWindow = Window() myWindow.Content <- myStack let app = Application() app.Run(myWindow) Code signals: Close, Wpf, Application, FSharp, Interactive, Window, app.Run, System.Windows.Applicat...
myButton let myStack = StackPanel() let buttons = buttonNames |> List.map createSmallButton buttons |> List.iter myStack.add let myWindow = Window() myWindow.Content <- myStack let app = Application() app.Run(myWindow) Code signals: Close, Wpf, Application, FSharp, Interactive, Window, app.Run, System.Windows.Applicat...
[ -0.003875732421875, 0.00946044921875, -0.0001735687255859375, 0.01953125, -0.00162506103515625, -0.00004363059997558594, 0.01116943359375, -0.0279541015625, 0.004730224609375, -0.0269775390625, 0.004974365234375, -0.00665283203125, 0.00616455078125, 0.00701904296875, 0.01226806640625, ...
[ 759, 82212, 1507, 2633, 42378, 2594, 2203, 6512, 55956, 583, 77679, 163612, 2740, 32036, 62346, 28282, 69070, 7, 16840, 11, 4028, 92049, 24293, 176501, 11935, 25352, 4027, 104921, 163321, 1176, 28864, 26073, 153335, 601, 39557, 93774, 3467, 5...
[ 0.181640625, 0.2213134765625, 0.189208984375, 0.076171875, 0.1875, 0.185546875, 0.04412841796875, 0.14599609375, 0.1268310546875, 0.0933837890625, 0.26220703125, 0.035308837890625, 0.008636474609375, 0.1239013671875, 0.1007080078125, 0.1036376953125, 0.1719970703125, 0.069885253906...
embed
2315000_c0
2315000
fsharp
0
Title: Parsing XML file with F# linq to XML Problem title: Parsing XML file with F# linq to XML Tags: xml, linq-to-xml, f%23 Problem: Parsing XML file with F# linq to XML F# newbie I have 2 XML files in 2 folders c:\root\a\file.xml and c:\root\b\file.xml They have identical structure: <parent> <property name="firstName...
Parsing XML file with F# linq to XML Parsing XML file with F# linq to XML xml linq-to-xml f%23 Parsing XML file.xml Jane System.Xml.Linq Parsing XML file with F# linq to XML F# newbie I have 2 XML files in 2 folders c:\root\a\file.xml and c:\root\b\file.xml They have identical structure: I need to chose the file which ...
[ 0.0263671875, 0.02734375, 0.002685546875, 0.0145263671875, -0.0172119140625, 0.03515625, 0.001983642578125, -0.0017242431640625, -0.0016021728515625, -0.02392578125, 0.010498046875, 0.00909423828125, -0.00885009765625, -0.00019550323486328125, -0.002105712890625, 0.0267333984375, -0....
[ 2392, 6953, 92537, 11435, 678, 563, 4904, 96, 44982, 47, 131492, 188, 1238, 3949, 3742, 48511, 12353, 1542, 7237, 866, 3525, 9014, 765, 116, 102158, 23, 78303, 501, 148920, 29822, 136, 275, 31943, 6827, 45646, 3871, 19667, 3129, 57266, 11...
[ 0.1612548828125, 0.083984375, 0.259033203125, 0.1959228515625, 0.09259033203125, 0.155517578125, 0.2310791015625, 0.11083984375, 0.258544921875, 0.142822265625, 0.2298583984375, 0.1065673828125, 0.079345703125, 0.002960205078125, 0.08636474609375, 0.28271484375, 0.11669921875, 0.06...
embed
50669667_c0
50669667
fsharp
0
Title: Reading a file in an async context? Problem title: Reading a file in an async context? Tags: f%23, asynchronous, io Problem: Reading a file in an async context? I would like to leverage async to make my code more readable and performant in F#. I can read an entire file with a function like this: let readFile pat...
Reading a file in an async context? Reading a file in an async context? f%23 asynchronous io Reading System.IO.File.ReadAllText README.md Async.RunSynchronously Console.WriteLine ReadAllText Reading a file in an async context? I would like to leverage async to make my code more readable and performant in F#. I can read...
[ 0.000946044921875, -0.0220947265625, 0.0166015625, -0.0017242431640625, -0.0068359375, -0.0045166015625, 0.00250244140625, -0.004913330078125, -0.022216796875, -0.038330078125, 0.02099609375, 0.0185546875, -0.007781982421875, -0.003997802734375, 0.034912109375, 0.00921630859375, -0.0...
[ 104951, 11435, 23, 10, 12654, 238, 43701, 1238, 3949, 3742, 101966, 22995, 12353, 17780, 174350, 31345, 43512, 174379, 188300, 10611, 54686, 163321, 217835, 127, 1900, 40777, 93232, 4764, 1884, 21962, 18151, 1286, 12301, 2886, 106018, 563, 4904...
[ 0.1939697265625, 0.1768798828125, 0.03485107421875, 0.0679931640625, 0.2216796875, 0.115966796875, 0.251953125, 0.04437255859375, 0.008331298828125, 0.110595703125, 0.1217041015625, 0.1622314453125, 0.06573486328125, 0.1419677734375, 0.106689453125, 0.10662841796875, 0.09625244140625...
embed
67462378_c0
67462378
fsharp
0
Title: Matrix and Vector multiplication in fsharp Problem title: Matrix and Vector multiplication in fsharp Tags: f%23, vector, matrix Problem: Matrix and Vector multiplication in fsharp I'm trying to make a function to calculate the product of a vector and a matrix, using F#, but i don't quite get why my function isn'...
Matrix and Vector multiplication in fsharp Matrix and Vector multiplication in fsharp f%23 vector matrix Matrix Vector MatVecProduct A.M_Rows MatrixArr A.ToArray VecArray v.ToArray A.N_Cols Matrix and Vector multiplication in fsharp I'm trying to make a function to calculate the product of a vector and a matrix, using ...
[ -0.0179443359375, 0.0181884765625, 0.005126953125, 0.0023651123046875, -0.004180908203125, -0.0225830078125, -0.0296630859375, -0.005279541015625, -0.01129150390625, 0.004730224609375, -0.018310546875, 0.0250244140625, -0.005615234375, -0.0152587890625, -0.03173828125, -0.0133666992187...
[ 194234, 136, 2609, 18770, 127664, 1363, 23, 1238, 89280, 254, 3949, 3742, 173, 50944, 7656, 856, 3240, 10752, 77193, 62, 12724, 19725, 7614, 42, 7763, 7092, 52884, 81, 78457, 31577, 32354, 74481, 12996, 425, 17368, 563, 4904, 32233, 2046, ...
[ 0.217529296875, 0.125244140625, 0.1746826171875, 0.1622314453125, 0.179443359375, 0.0308837890625, 0.036712646484375, 0.1058349609375, 0.170166015625, 0.1533203125, 0.058746337890625, 0.1307373046875, 0.1458740234375, 0.1651611328125, 0.0804443359375, 0.099853515625, 0.079833984375, ...
embed
9579945_c0
9579945
fsharp
0
Title: where should click event add after inherit window? Problem title: where should click event add after inherit window? Tags: f%23, inheritance Problem: where should click event add after inherit window? The following test code, when open window, it will pop up hello messagebox too. It sounds that it run the code a...
where should click event add after inherit window? where should click event add after inherit window? f%23 inheritance test001 MessageBox.Show Server connectionButton.Click.Add tc.Connect where should click event add after inherit window? The following test code, when open window, it will pop up hello messagebox too. I...
[ 0.005279541015625, 0.01904296875, 0.004730224609375, 0.023681640625, -0.00433349609375, -0.00628662109375, 0.0107421875, 0.0059814453125, 0.01446533203125, -0.037353515625, 0.00020599365234375, -0.032958984375, 0.024658203125, 0.007293701171875, -0.0029144287109375, -0.0078125, 0.033...
[ 7440, 5608, 18158, 19732, 15190, 7103, 23, 3334, 217, 76896, 1238, 3742, 7154, 3034, 34479, 48205, 4588, 72295, 168660, 22687, 94878, 82212, 1507, 181671, 4028, 238, 235603, 25632, 18151, 9803, 7426, 1257, 33600, 31, 26008, 11728, 102678, 116...
[ 0.11865234375, 0.07952880859375, 0.2734375, 0.2138671875, 0.1739501953125, 0.1304931640625, 0.10382080078125, 0.175537109375, 0.138671875, 0.174560546875, 0.0263519287109375, 0.0830078125, 0.0047607421875, 0.1590576171875, 0.1976318359375, 0.06146240234375, 0.034698486328125, 0.186...
embed
59058284_c0
59058284
fsharp
0
Title: F# recursive function that takes single point and index Problem title: F# recursive function that takes single point and index Tags: recursion, syntax, lexical, f%23 Problem: F# recursive function that takes single point and index How do you write a F# recursive function 'something' that takes a single point (x,...
F# recursive function that takes single point and index F# recursive function that takes single point and index recursion syntax lexical f%23 F# recursive function that takes single point and index How do you write a F# recursive function 'something' that takes a single point (x, y) and index i as an arguments and retu...
[ -0.019287109375, 0.0089111328125, -0.0035247802734375, -0.0157470703125, -0.0033111572265625, 0.005340576171875, -0.000179290771484375, -0.00457763671875, 0.02099609375, -0.00004744529724121094, 0.01422119140625, -0.02294921875, -0.03271484375, -0.01226806640625, 0.017333984375, -0.000...
[ 563, 4904, 195625, 5844, 32354, 450, 51776, 11001, 6275, 136, 63262, 1830, 6002, 86531, 75675, 21533, 1238, 3949, 3742, 11249, 54, 398, 33022, 43452, 64113, 425, 4, 113, 17, 237, 10750, 30646, 1096, 12830, 54241, 5303, 42518, 159, 2633, 9...
[ 0.19775390625, 0.209228515625, 0.22802734375, 0.1375732421875, 0.2086181640625, 0.0197296142578125, 0.09747314453125, 0.1595458984375, 0.1658935546875, 0.10491943359375, 0.2080078125, 0.00164794921875, 0.04058837890625, 0.073974609375, 0.03924560546875, 0.04425048828125, 0.0930786132...
embed
63467201_c1
63467201
fsharp
1
And it helps my project to compile, but it throws an exception at runtime while attempting to parse an XML: 'log4j' is an undeclared prefix. Line 1, position 2. I got away with the problem by preprocessing the xml and removing all the xml namespaces from all the tags. While this works, I wonder if there's a better sol...
And it helps my project to compile, but it throws an exception at runtime while attempting to parse an XML: 'log4j' is an undeclared prefix. Line 1, position 2. I got away with the problem by preprocessing the xml and removing all the xml namespaces from all the tags. While this works, I wonder if there's a better sol...
[ -0.01458740234375, 0.06005859375, -0.00970458984375, -0.0029144287109375, 0.009765625, -0.000720977783203125, 0.0009613037109375, 0.002044677734375, -0.032958984375, -0.021728515625, -0.0021209716796875, 0.0208740234375, -0.005706787109375, -0.0308837890625, 0.027099609375, 0.001693725...
[ 112397, 13452, 9969, 1340, 1284, 104250, 131527, 99, 11675, 6032, 81887, 366, 184, 92537, 4867, 617, 170, 83, 142, 9232, 18347, 2822, 183114, 16777, 106, 19069, 787, 16065, 2967, 479, 63923, 131492, 49146, 210716, 69141, 43240, 32195, 11522, ...
[ 0.12255859375, 0.1317138671875, 0.12451171875, 0.116455078125, 0.011993408203125, 0.11279296875, 0.20654296875, 0.0217742919921875, 0.0948486328125, 0.09906005859375, 0.0989990234375, 0.1407470703125, 0.078857421875, 0.234375, 0.20751953125, 0.179443359375, 0.230712890625, 0.054412...
embed
32458768_c0
32458768
fsharp
0
Title: Unable to run tests in Visual Studio Problem title: Unable to run tests in Visual Studio Tags: visual-studio, testing, functional-testing, f%23 Problem: Unable to run tests in Visual Studio I created a solution with 2 projects, FSharpCalled (which contains a method "disBonjour", transforming a string in another)...
Unable to run tests in Visual Studio Unable to run tests in Visual Studio visual-studio testing functional-testing f%23 Unable Visual Studio FSharpCalled Unable to run tests in Visual Studio I created a solution with 2 projects, FSharpCalled (which contains a method "disBonjour", transforming a string in another), an F...
[ -0.00244140625, 0.01422119140625, -0.01190185546875, 0.0225830078125, 0.0225830078125, -0.0021820068359375, 0.01470947265625, -0.02783203125, 0.00836181640625, -0.003509521484375, -0.00616455078125, 0.0033111572265625, -0.02294921875, 0.017822265625, 0.0159912109375, -0.002899169921875...
[ 992, 2886, 11675, 109921, 23, 73372, 22968, 21176, 52629, 134234, 123309, 6954, 1238, 3742, 93774, 3467, 254, 94553, 6259, 29806, 116, 77635, 55300, 3827, 116858, 100201, 27198, 79315, 15700, 563, 4904, 35773, 111337, 2967, 831, 18, 209647, 1...
[ 0.030487060546875, 0.1307373046875, 0.15966796875, 0.266357421875, 0.043426513671875, 0.1922607421875, 0.2061767578125, 0.1624755859375, 0.1710205078125, 0.2039794921875, 0.11376953125, 0.19189453125, 0.025634765625, 0.08917236328125, 0.0693359375, 0.1466064453125, 0.0753173828125, ...
embed
37175025_c1
37175025
fsharp
1
the rest out later... (initializedBase, plays) ||> List.fold (fun bases play -> Some play.Player |> move bases) (*Tests*) open NUnit.Framework open FsUnit [<Test>] let ``2 players each hit single``() = // Setup let players = [{ Player= Scott; Hit= Single }; { Player= Brian; Hit= Single }] // Test let bases = players |...
the rest out later... (initializedBase, plays) ||> List.fold (fun bases play -> Some play.Player |> move bases) (*Tests*) open NUnit.Framework open FsUnit [<Test>] let ``2 players each hit single``() = // Setup let players = [{ Player= Scott; Hit= Single }; { Player= Brian; Hit= Single }] // Test let bases = players |...
[ -0.00921630859375, -0.006256103515625, 0.017333984375, 0.017578125, -0.0123291015625, 0.006561279296875, -0.018798828125, -0.0159912109375, 0.0269775390625, 0.01068115234375, 0.0279541015625, 0.03466796875, -0.014404296875, 0.021484375, -0.014404296875, -0.01116943359375, 0.012329101...
[ 70, 10588, 1810, 14432, 27, 943, 118, 289, 29367, 63473, 13, 11301, 7, 6, 2740, 32036, 5, 42822, 16498, 51039, 31384, 142581, 25813, 16, 111337, 77518, 9803, 18057, 6773, 108386, 282, 18244, 563, 85600, 18, 2633, 304, 92865, 12638, 5962, ...
[ 0.1077880859375, 0.203369140625, 0.2249755859375, 0.2119140625, 0.06109619140625, 0.01123046875, 0.02838134765625, 0.053009033203125, 0.028839111328125, 0.1778564453125, 0.089111328125, 0.193115234375, 0.06982421875, 0.004364013671875, 0.000640869140625, 0.1900634765625, 0.0548706054...
embed