conversations listlengths 2 3 | source stringclasses 1 value | stack stringclasses 1 value |
|---|---|---|
[
{
"from": "system",
"value": "Fix homepage when no path is specified\n"
},
{
"from": "human",
"value": "//\n// Functions related to the preview server.\n//\n// Author:\n// ipavl <ipavl@users.sourceforge.net>\n//\n\nmodule WebServer\n open System\n open System.IO\n open System.Net... | f# | chosen |
[
{
"from": "system",
"value": "Make (wrong) texture coloring consistent across shaders\n"
},
{
"from": "human",
"value": "#include \"sh_Utils.h\"\r\n#include \"sh_TextureWrapping.h\"\r\n\r\nvarying lowp vec4 v_Colour;\r\nvarying mediump vec2 v_TexCoord;\r\nvarying mediump vec4 v_TexRect;\r\n\r\nu... | f# | chosen |
[
{
"from": "system",
"value": "Clean up the implementation of selectors and make it extensible\n"
},
{
"from": "human",
"value": "[<AutoOpen>]\nmodule canopy.mobile.selectors\n\n/// Using conventions convert a string representing a selector to a Selenium By\n//todo there are probably many more e... | f# | chosen |
[
{
"from": "system",
"value": "Use a more correct Serialize() implementation.\n"
},
{
"from": "human",
"value": "(* Copyright (c) 2015 Max Hirschhorn\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * ... | f# | chosen |
[
{
"from": "system",
"value": "Make repeat not print the crit values in output\n"
},
{
"from": "human",
"value": "module Roller \r\nopen Statements\r\n\r\nlet r = System.Random()\r\n \r\nlet rec ResolveBase spec outputFunc = \r\n match spec with\r\n | Roll(dice, size, plus) ->\r\n ... | f# | chosen |
[
{
"from": "system",
"value": "Fix library version to 1.10.3 and change CDN url.\n"
},
{
"from": "human",
"value": "// $begin{copyright}\n//\n// This file is confidential and proprietary.\n//\n// Copyright (c) IntelliFactory, 2004-2009.\n//\n// All rights reserved. Reproduction or use in whole ... | f# | chosen |
[
{
"from": "system",
"value": "Patch TP test covering array ranks\n"
},
{
"from": "human",
"value": "// #Regression #TypeProvider #Arrays\n// This is regression test for DevDiv:213995\n// TP limit array rank to 4\n//<Expects status=\"error\" span=\"(6,6-6,7)\" id=\"FS3138\">F# supports a maximum ... | f# | chosen |
[
{
"from": "system",
"value": "Add latest flag to build\n"
},
{
"from": "human",
"value": "#load \"tools/includes.fsx\"\nopen IntelliFactory.Build\n\nlet bt =\n BuildTool().PackageId(\"Zafir.Google.Maps.MarkerClusterer\")\n .VersionFrom(\"Zafir\")\n .WithFSharpVersion(FSharpVersi... | f# | chosen |
[
{
"from": "system",
"value": "Fix backend bug generating code accepting optional parameters.\n"
},
{
"from": "human",
"value": "namespace Rezoom.SQL\nopen System\nopen System.Data\nopen System.Data.Common\nopen System.Collections.Generic\nopen Rezoom.SQL.Mapping\nopen Rezoom.SQL\nopen FSharp.Qu... | f# | chosen |
[
{
"from": "system",
"value": "Fix wrong folder page when a file is at the root directory of a project\n"
},
{
"from": "human",
"value": "namespace Markify.Document\n\nopen System\nopen System.IO\n\nopen Markify.Models.Documents\nopen Markify.Models.Definitions\n\nmodule DocumentHelper =\n le... | f# | chosen |
[
{
"from": "system",
"value": "Fix line ending in test\n"
},
{
"from": "human",
"value": "#r \"packages/FAKE/tools/FakeLib.dll\"\n#load \"Shared.fsx\"\n#load \"TS.fsx\"\n\nopen Fake\nopen TS\nopen System\nopen System.IO\n\nTarget \"Run\" (fun _ ->\n // For typescript only generate for Dom\n ... | f# | chosen |
[
{
"from": "system",
"value": "Build script: added a few spaces...\n"
},
{
"from": "human",
"value": "#load \".fake/build.fsx/intellisense.fsx\"\nopen Fake.Core\nopen Fake.DotNet\nopen Fake.DotNet.NuGet\nopen Fake.IO\nopen Fake.IO.FileSystemOperators\nopen Fake.IO.Globbing.Operators\nopen Fake.Co... | f# | chosen |
[
{
"from": "system",
"value": "Build counter for build procdure\n"
},
{
"from": "human",
"value": "module BuildHelpers\n\nopen Fake\nopen Fake.XamarinHelper\nopen System\nopen System.IO\nopen System.Linq\n\nlet Exec command args =\n let result = Shell.Exec(command, args)\n\n if result <> 0 ... | f# | chosen |
[
{
"from": "system",
"value": "Update assembly versions to 0.9.0.1.\n"
},
{
"from": "human",
"value": "module AssemblyInfo\n\nopen System.Reflection\n\nlet [<Literal>] private Version = \"0.9.0.0\"\n\n[<assembly: AssemblyProductAttribute (\"Slumber\")>]\n[<assembly: AssemblyVersion (Version)>]\n... | f# | chosen |
[
{
"from": "system",
"value": "Update ns to reflect NameUtils assembly move"
},
{
"from": "human",
"value": "namespace global\r\n\r\nopen System.Runtime.CompilerServices\r\n\r\n[<assembly:InternalsVisibleToAttribute(\"FSharp.Data.Tests.DesignTime\")>]\r\n[<assembly:InternalsVisibleToAttribute(\"... | f# | chosen |
[
{
"from": "system",
"value": "Use default functions in default backend.\n"
},
{
"from": "human",
"value": "namespace Rezoom.SQL\nopen System\nopen System.Data\nopen System.Collections.Generic\nopen System.Globalization\nopen Rezoom.SQL\nopen Rezoom.SQL.Mapping\nopen Rezoom.SQL.BackendUtilities\... | f# | chosen |
[
{
"from": "system",
"value": "Remove immutable value from test file\n"
},
{
"from": "human",
"value": "module SumOfMultiplesTest\n\nopen NUnit.Framework\nopen SumOfMultiples\n\n[<TestFixture>]\ntype SumOfMultiplesTest() =\n let mutable sumOfMultiples = SumOfMultiples()\n \n [<Test>]\n ... | f# | chosen |
[
{
"from": "system",
"value": "Update script to latest API\n"
},
{
"from": "human",
"value": "#r @\"WikipediaAvsAnTrieExtractor\\bin\\Release\\WikipediaAvsAnTrieExtractor.exe\"\r\n#r @\"WikipediaAvsAnTrieExtractor\\bin\\Release\\AvsAn.dll\"\r\n#r @\"WikipediaAvsAnTrieExtractor\\bin\\Release\\Exp... | f# | chosen |
[
{
"from": "system",
"value": "Allow to stage all files in git\n"
},
{
"from": "human",
"value": "[<AutoOpen>]\n/// Contains helper functions which allow to deal with git's staging area.\nmodule Fake.Git.Staging\n\n/// Adds a file to the staging area\nlet StageFile repositoryDir file =\n file \... | f# | chosen |
[
{
"from": "system",
"value": "Add simple test to check that serialization doesn't fail\n"
},
{
"from": "human",
"value": "[<NUnit.Framework.TestFixture>]\r\nmodule ProtoTypes.Tests\r\n\r\nopen System\r\n\r\nopen NUnit.Framework\r\nopen FsUnit\r\n\r\ntype Proto = ProtoTypes.ProtocolBuffersTypePr... | f# | chosen |
[
{
"from": "system",
"value": "Add analysis of possible starting tags\n"
},
{
"from": "human",
"value": "(*** hide ***)\n// This block of code is omitted in the generated HTML documentation. Use\n// it to define helpers that you do not want to show in the documentation.\n#I \"../../bin\"\n\n#r \"... | f# | chosen |
[
{
"from": "system",
"value": "Increase temporary buffer size of ibm,client-architecture-support call\n\nThe buffer size that we currently use for the client-architecture-\nsupport call currently only works if there is not more than 1 TiB\nof hot-pluggable RAM for the guest. This will likely not be enough\ni... | f# | chosen |
[
{
"from": "system",
"value": "Revert \"assume second argument is \"Target\" if no key=value supplied\"\n\nThis reverts commit 7ca79e5e17b730d91a14518be1d8ffca46350d26.\n"
},
{
"from": "human",
"value": "module CommandlineParams\n\nopen Fake\n\nlet printAllParams() = printfn \"FAKE.exe [buildScr... | f# | chosen |
[
{
"from": "system",
"value": "Test that events and observables can be bound.\n"
},
{
"from": "human",
"value": "// Copyright (C) by Vesa Karvonen\n\nmodule BuilderTests\n\nopen Hopac\nopen System\nopen System.Threading.Tasks\n\n// This is a compile only test.\nlet testSyntax (xT: Task<IDisposab... | f# | chosen |
[
{
"from": "system",
"value": "Fix spurious DROP at start of each colon def\n"
},
{
"from": "human",
"value": "S\" pass1.fs\" included\n\n\n"
},
{
"from": "gpt",
"value": "S\" pass1.fs\" included\n\n\\ The new colon compiler starts here. It's technically part of\n\\ pass 1 implementa... | f# | chosen |
[
{
"from": "system",
"value": "Fix type signatures of document registry.\n"
},
{
"from": "human",
"value": "namespace BsonProvider.Runtime\n\nopen System.Collections.Generic\nopen MongoDB.Bson\n\n[<RequireQualifiedAccess>]\nmodule DocumentRegistry =\n\n let private dict = Dictionary<string, se... | f# | chosen |
[
{
"from": "system",
"value": "Add nuget restore to the URL helper test project\n"
},
{
"from": "human",
"value": "open Fake\n\nTarget \"Dotnet Restore\" (fun _ ->\n DotNetCli.Restore(fun p ->\n { p with\n Project = \".\\\\SFA.DAS.UrlHelper\" })\n)"
},
{
"from": "... | f# | chosen |
[
{
"from": "system",
"value": "Remove IntelliFactory prefix from package name.\n"
},
{
"from": "human",
"value": "#load \"tools/includes.fsx\"\r\nopen IntelliFactory.Build\r\n\r\nlet bt =\r\n BuildTool().PackageId(\"IntelliFactory.WebSharper.JQuery.Mobile\", \"2.5\").References(fun r ->\r\n ... | f# | chosen |
[
{
"from": "system",
"value": "Use ex.Message to print help and usage\n\nex.Message contains error information which is very useful!!\n"
},
{
"from": "human",
"value": "open System.IO\nopen System.Text\nopen Type\nopen CommandLineParser\nopen Process\n\nlet validate_environment config =\n if ... | f# | chosen |
[
{
"from": "system",
"value": "Set package version to rc1\n"
},
{
"from": "human",
"value": "// $begin{copyright}\n//\n// This file is part of WebSharper\n//\n// Copyright (c) 2008-2014 IntelliFactory\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\"); you\n// may not use th... | f# | chosen |
[
{
"from": "system",
"value": "Simplify match expression on fitness\n"
},
{
"from": "human",
"value": "module Fitness \n type Position = Position of int * int\n type Content = Empty | Treasure | Wall\n type Site = Position * Content \n type Situation = {current:Site; north:Site; s... | f# | chosen |
[
{
"from": "system",
"value": "Fix to match semantics with List.indexL\n"
},
{
"from": "human",
"value": "namespace FsOptics\n\nmodule Array =\n let valuesT U = sequenceI Array.length Array.iter id U\n\n let inline insertL op U (xs: 'a []) =\n U (None: option<'a>) </> fun xO -> op xs ^ Opti... | f# | chosen |
[
{
"from": "system",
"value": "Tweak sample app to prevent multiple initialisations.\n"
},
{
"from": "human",
"value": "namespace Slumber.Example\n\nopen System\nopen System.Web\nopen System.IO\nopen log4net\nopen log4net.Config\nopen Slumber.Logging\n\ntype App () = \n inherit HttpApplicatio... | f# | chosen |
[
{
"from": "system",
"value": "Rename Zafir packages to WebSharper\n"
},
{
"from": "human",
"value": "#load \"tools/includes.fsx\"\n\nopen IntelliFactory.Build\n\nlet bt =\n BuildTool().PackageId(\"Zafir.Forms\")\n .VersionFrom(\"Zafir\")\n .WithFSharpVersion(FSharpVersion.FSharp... | f# | chosen |
[
{
"from": "system",
"value": "Print the actual scope tree for easier debugging\n"
},
{
"from": "human",
"value": "namespace FSharpRefactor.Tests.RenameTests\n\nopen NUnit.Framework\n\nopen FSharpRefactor.Engine.Ast\nopen FSharpRefactor.Refactorings.Rename\n\n[<TestFixture>]\ntype ScopeTreeModule... | f# | chosen |
[
{
"from": "system",
"value": "Remove Timeout in Thespian configuration"
},
{
"from": "human",
"value": "module internal Nessos.MBrace.SampleRuntime.Config\n\nopen System\nopen System.Reflection\nopen System.Threading\n\nopen Nessos.Thespian\nopen Nessos.Thespian.Serialization\nopen Nessos.Thesp... | f# | chosen |
[
{
"from": "system",
"value": "Enable return! in opt { } computation expressions"
},
{
"from": "human",
"value": "/// ** Description **\n/// A collection of F# computation expressions:\n/// - `opt {}`: Enables control flow and binding of Option<'T> objects\n/// - `res {}`: Enables control... | f# | chosen |
[
{
"from": "system",
"value": "Make sure to always use the same backtick delimiter\n"
},
{
"from": "human",
"value": "module FSharpVSPowerTools.Rename.Checks\n\nopen Microsoft.FSharp.Compiler.PrettyNaming\n\nlet private isDoubleBacktickIdent (s: string) =\n if s.StartsWith(\"``\") && s.EndsWi... | f# | chosen |
[
{
"from": "system",
"value": "Add tests for the fragments generated by vendor statements.\n"
},
{
"from": "human",
"value": "module Rezoom.SQL.Test.TestVendorStatements\nopen System\nopen NUnit.Framework\nopen FsUnit\nopen Rezoom.SQL\nopen Rezoom.SQL.Mapping\n\nlet vendor (sql : string) =\n ... | f# | chosen |
[
{
"from": "system",
"value": "Remove global lucene version constant\n"
},
{
"from": "human",
"value": "// ----------------------------------------------------------------------------\n// (c) Seemant Rajvanshi, 2013\n//\n// This source code is subject to terms and conditions of the Apache Licens... | f# | chosen |
[
{
"from": "system",
"value": "Add tests for TSQL boolean translation handling.\n"
},
{
"from": "human",
"value": "module Rezoom.SQL.Test.TestTSQL\nopen System\nopen NUnit.Framework\nopen FsUnit\nopen Rezoom.SQL\nopen Rezoom.SQL.Mapping\n\nlet translate (sql : string) (expectedTSQL : string) =\n... | f# | chosen |
[
{
"from": "system",
"value": "Implement an, incomplete, Height function\n"
},
{
"from": "human",
"value": "namespace FSharpRefactor.Engine\n\nopen System \nopen Microsoft.FSharp.Compiler.SourceCodeServices\nopen Microsoft.FSharp.Compiler.Ast\n\nmodule ASTFetcher =\n let checker = InteractiveC... | f# | chosen |
[
{
"from": "system",
"value": "Update state to be a record\n"
},
{
"from": "human",
"value": "module FablePlaypen\n\nopen Fable.Core\nopen Fable.Import\nopen Elmish\n\n// MODEL\n\ntype Msg =\n | Increment\n | Decrement\n\nlet init () = (0, Cmd.none)\n\n// UPDATE\n\nlet update (msg:Msg) count =\... | f# | chosen |
[
{
"from": "system",
"value": "Update robot name exercise tests\n"
},
{
"from": "human",
"value": "module RobotNameTest\r\n\r\nopen NUnit.Framework\r\nopen RobotName\r\n\r\n[<TestFixture>]\r\ntype RobotNameTest() =\r\n let robot = RobotName()\r\n\r\n [<Test>]\r\n member tests.Robot_has_... | f# | chosen |
[
{
"from": "system",
"value": "Add .net restore for the EF Core tester\n"
},
{
"from": "human",
"value": "open Fake\n\nlet testDirectory = getBuildParamOrDefault \"buildMode\" \"Debug\"\nlet nUnitRunner = \"nunit3-console.exe\"\nlet mutable nUnitToolPath = @\"tools\\NUnit.ConsoleRunner\\\"\nlet a... | f# | chosen |
[
{
"from": "system",
"value": "Change entity ID to int struct\n"
},
{
"from": "human",
"value": "namespace Morgemil.Core\n\ntype EntityId = \n | EntityId of int\n \n member this.Value = \n match this with\n | EntityId(id) -> id\n \n static member IsDefault(x : EntityId) = x.Value < 0\... | f# | chosen |
[
{
"from": "system",
"value": "Correct mime type for RSS\n"
},
{
"from": "human",
"value": "module FSharping.Website.App\n\nopen Suave\nopen Suave.Http\nopen Suave.Web\nopen Shaver.Localization\nopen Suave.Filters\nopen Suave.Operators\nopen System.Net\nopen Suave.Writers\n\nlet mimeTypes =\n d... | f# | chosen |
[
{
"from": "system",
"value": "Add extract function and add argument to evaluator\n"
},
{
"from": "human",
"value": "module FSharpRefactor.Evaluator.Evaluator\n\nopen System\nopen System.IO\nopen FSharpRefactor.Evaluator.CodeGenerator\nopen FSharpRefactor.Evaluator.GenerationState\nopen FSharpRef... | f# | chosen |
[
{
"from": "system",
"value": "Add WebSharper.Templates nuget package output\n"
},
{
"from": "human",
"value": "#load \"tools/includes.fsx\"\r\nopen IntelliFactory.Build\r\n\r\nlet bt =\r\n BuildTool().PackageId(\"WebSharper.VisualStudio\", \"2.5-alpha\")\r\n\r\nlet templates =\r\n bt.FShar... | f# | chosen |
[
{
"from": "system",
"value": "Put built nupkgs in `bin`\n"
},
{
"from": "human",
"value": "namespace datNET.Fake.Config\n\n#r @\"./packages/FAKE/tools/FakeLib.dll\"\n\nopen Fake\nopen Fake.EnvironmentHelper\nopen System.IO\n\nmodule Common =\n let RootDir = Directory.GetCurrentDirectory()\n\nmo... | f# | chosen |
[
{
"from": "system",
"value": "Replace module import to make it more future-proof.\n"
},
{
"from": "human",
"value": "module ForneverMind.Posts\n\nopen System.IO\n\nopen Freya.Core\nopen Freya.Router.Lenses\n\nopen ForneverMind.Models\n\nlet postFileName =\n let htmlExtension = \".html\"\n ... | f# | chosen |
[
{
"from": "system",
"value": "Remove call to TurnOffAutoRestore from TurnOnAutoRestore.\n"
},
{
"from": "human",
"value": "module Paket.VSIntegration\n\nopen System.IO\nopen Logging\nopen System\nopen Chessie.ErrorHandling\nopen Domain\nopen Releases\nopen InstallProcess\n\n/// Deactivates the ... | f# | chosen |
[
{
"from": "system",
"value": "Fix application base path getter.\n"
},
{
"from": "human",
"value": "module ForneverMind.Common\n\nopen System.IO\nopen System.Reflection\nopen System.Text\n\nopen Arachne.Http\nopen Freya.Core\nopen Freya.Machine\nopen Freya.Machine.Extensions.Http\n\nlet private ... | f# | chosen |
[
{
"from": "system",
"value": "Test the 'Add disaster' functionality\n"
},
{
"from": "human",
"value": "open canopy\nopen runner\nopen System\n\n//start an instance of the firefox browser\nstart firefox\n\n\"The Administrator can log in.\" &&& fun _ ->\n\n //go to url\n url \"http://localh... | f# | chosen |
[
{
"from": "system",
"value": "Improve output of test application\n\n\n"
},
{
"from": "human",
"value": "module testServer\r\n\r\nopen Error_handling\r\n\r\nlet serverAddr = \"0.0.0.0\"\r\nlet serverPort = 4433\r\nlet options = AppCommon.defaultProtocolOptions\r\n\r\nopen System.Security.Cryptog... | f# | chosen |
[
{
"from": "system",
"value": "Remove IntelliFactory prefix from package name.\n"
},
{
"from": "human",
"value": "#load \"tools/includes.fsx\"\r\nopen IntelliFactory.Build\r\n\r\nlet bt =\r\n BuildTool().PackageId(\"IntelliFactory.WebSharper.JQueryUI\", \"2.5\")\r\n .References(fun r ->... | f# | chosen |
[
{
"from": "system",
"value": "Make argument handling a little friendlier\n\nDefault to printing usage and exiting if --help passed, instead of\nthrowing an exception. Also provide default arguments for all the\navailable options, so that running the program with no args does\nsomething sensible as a default... | f# | chosen |
[
{
"from": "system",
"value": "Correct Project name in NuGet params\n"
},
{
"from": "human",
"value": "#r \"./tools/fake/fakelib.dll\"\nopen Fake\nopen System.IO\nopen System.Text.RegularExpressions\n\nlet packExe () =\n let tools = environVar \"tools\"\n let versionRegex = Regex(@\"Asse... | f# | chosen |
[
{
"from": "system",
"value": "Make getUserInput act as getUserPassword for \\n\n\nPreviously getUserInput wasn't generating a new line after the prompt but\ngetUserPassword was doing it. The behavior is now unified.\n"
},
{
"from": "human",
"value": "[<AutoOpen>]\n/// This module contains functi... | f# | chosen |
[
{
"from": "system",
"value": "Handle no images at source path\n"
},
{
"from": "human",
"value": "namespace Muffin.Pictures.Archiver\n\nopen System.Diagnostics\nopen FSharp.Data\nopen FSharp\nopen System.IO\n\nmodule TagRetriever =\n\n type Tags = JsonProvider<\"folder.json\">\n\n let priva... | f# | chosen |
[
{
"from": "system",
"value": "Add FsCheck tests for dogfooding\n"
},
{
"from": "human",
"value": "module FsCheck.Fake.TestStringHelper\n\nopen FsCheck\nopen Fake\nopen global.Xunit\n\n[<Fact>]\nlet ``startsWith is alias for string.StartsWith`` () =\n let startsWithIsAlias (prefix:string) (te... | f# | chosen |
[
{
"from": "system",
"value": "Remove old references and comments\n"
},
{
"from": "human",
"value": "open System\nopen Nessos.UnionArgParser\nopen Microsoft.FSharp.Compiler.SourceCodeServices\nopen Newtonsoft.Json\nopen Microsoft.FSharp.Reflection\nopen Nessos.FsPickler//.Json\n\ntype Arguments ... | f# | chosen |
[
{
"from": "system",
"value": "Stop language services on deactivation\n"
},
{
"from": "human",
"value": "[<ReflectedDefinition>]\nmodule Ionide.VSCode\n\nopen System\nopen System.Text.RegularExpressions\nopen FunScript\nopen FunScript.TypeScript\nopen FunScript.TypeScript.fs\nopen FunScript.TypeS... | f# | chosen |
[
{
"from": "system",
"value": "Fix(tests): Fix test data path for VS test runner\n"
},
{
"from": "human",
"value": "module Util\n\nopen System\nopen System.Reflection\nopen System.IO\n\nopen ModelMod.CoreTypes\n\nlet veqEqEpsilon (ep:float32) (v1:Vec3F) (v2:Vec3F) =\n let dx = Math.Abs(v1.X -... | f# | chosen |
[
{
"from": "system",
"value": "Increase temporary buffer size of ibm,client-architecture-support call\n\nThe buffer size that we currently use for the client-architecture-\nsupport call currently only works if there is not more than 1 TiB\nof hot-pluggable RAM for the guest. This will likely not be enough\ni... | f# | chosen |
[
{
"from": "system",
"value": "Add more settings for WebPreview\n"
},
{
"from": "human",
"value": "namespace Atom.FSharp\n\nopen System\nopen System.Text.RegularExpressions\nopen FunScript\nopen FunScript.TypeScript\nopen FunScript.TypeScript.fs\nopen FunScript.TypeScript.child_process\nopen FunS... | f# | chosen |
[
{
"from": "system",
"value": "Add tests for new insert/update type errors.\n"
},
{
"from": "human",
"value": "module Rezoom.SQL.Test.TestTypeErrors\nopen System\nopen NUnit.Framework\nopen FsUnit\nopen Rezoom.SQL\nopen Rezoom.SQL.Mapping\n\n[<Test>]\nlet ``incompatible types can't be compared f... | f# | chosen |
[
{
"from": "system",
"value": "Remove IntelliFactory prefix from package name.\n"
},
{
"from": "human",
"value": "#load \"tools/includes.fsx\"\r\nopen IntelliFactory.Build\r\n\r\nlet bt =\r\n BuildTool().PackageId(\"IntelliFactory.WebSharper.Google.Visualization\", \"2.5\")\r\n .Referen... | f# | chosen |
[
{
"from": "system",
"value": "Add a note about self-testing locally\n"
},
{
"from": "human",
"value": "#r @\"./._fake/packages/FAKE/tools/FakeLib.dll\"\n#r @\"./._fake/packages/FSharp.FakeTargets/tools/FSharpFakeTargets.dll\"\n\n#load @\"./._fake/loader.fsx\"\n\nopen Fake\nopen RestorePackageHel... | f# | chosen |
[
{
"from": "system",
"value": "Save bandwidth by returning no data back to the client.\n"
},
{
"from": "human",
"value": "// A very simple test fixture that simply collects events it sees in a list ref.\nmodule SignalRServer\n\nopen Owin\nopen Microsoft.AspNet.SignalR\nopen Microsoft.AspNet.Sign... | f# | chosen |
[
{
"from": "system",
"value": "Test that dropping a constraint frees up the name.\n"
},
{
"from": "human",
"value": "module Rezoom.SQL.Test.AlterTable\nopen Rezoom.SQL.Compiler\nopen NUnit.Framework\n\n[<Test>]\nlet ``adding default permits insert without column value`` () =\n { defaultTest w... | f# | chosen |
[
{
"from": "system",
"value": "Make parsing all projects sequentional at start of plugin\n"
},
{
"from": "human",
"value": "namespace Ionide.VSCode.FSharp\n\nopen System\nopen FunScript\nopen FunScript.TypeScript\nopen FunScript.TypeScript.vscode\nopen FunScript.TypeScript.vscode.languages\nopen ... | f# | chosen |
[
{
"from": "system",
"value": "Add parameters to floor generation output\n"
},
{
"from": "human",
"value": "module Morgemil.Core.FloorGenerator\n\nopen Morgemil.Math\nopen Morgemil.Models\n\ntype Results = {\n EntranceCoordinate: Vector2i\n}\n\nlet Create (parameters: FloorGenerationParameter... | f# | chosen |
[
{
"from": "system",
"value": "virtio: Set a proper name for virtio-9p device tree nodes\n\nThe virtio-9p devices currently show up as \"unknown-legacy-device\"\nin the device tree. We've got a driver for this device, so it is\ncertainly not \"unknown\", i.e. let's use a better name here instead.\n\nSigned-o... | f# | chosen |
[
{
"from": "system",
"value": "FIx reference to new build location\n"
},
{
"from": "human",
"value": "(*\r\nCopyright 2011 Stephen Swensen\r\n\r\nLicensed under the Apache License, Version 2.0 (the \"License\");\r\nyou may not use this file except in compliance with the License.\r\nYou may obtai... | f# | chosen |
[
{
"from": "system",
"value": "Add comments to script to correspond to post\n"
},
{
"from": "human",
"value": "#r \"packages/FAKE/tools/FakeLib.dll\"\nopen Fake\n\nTarget \"Test\" (fun _ ->\n trace \"Testing stuff...\"\n)\n\nTarget \"Build\" (fun _ ->\n trace \"Heavy build action\"\n)\n\n\... | f# | chosen |
[
{
"from": "system",
"value": "Make 'readConfig' use the 'succeed' workflow\n"
},
{
"from": "human",
"value": "namespace Batch.Toolkit\n\n[<AutoOpen>]\nmodule Common =\n open System\n open System.IO\n open Newtonsoft.Json\n\n let private id' = (fun _ c -> c)\n let getOrElse d mv ... | f# | chosen |
[
{
"from": "system",
"value": "Enable automatic migration on backend.\n"
},
{
"from": "human",
"value": "namespace EvilPlanner.Backend\n\nopen System.IO\nopen System.Text\n\nopen Freya.Core\nopen Microsoft.Owin\n\ntype Application () =\n member __.Configuration () =\n OwinAppFunc.ofFre... | f# | chosen |
[
{
"from": "system",
"value": "Load from file when constructing `ConfigurationFile<_>` objects\n\notherwise `OnLoadModules` ends up being ignored in the subtree module.\n"
},
{
"from": "human",
"value": "namespace IoX\r\n\r\nmodule Utils =\r\n open Newtonsoft.Json\r\n open System.IO\r\n\r\n le... | f# | chosen |
[
{
"from": "system",
"value": "Use actual TagRetriever in tests\n"
},
{
"from": "human",
"value": "namespace Muffin.Pictures.Archiver.Tests\n\nopen Swensen.Unquote\nopen NUnit.Framework\nopen FSharp.Data\n\nopen Muffin.Pictures.Archiver.Tests.TestHelpers\nopen Muffin.Pictures.Archiver.Domain\n\n... | f# | chosen |
[
{
"from": "system",
"value": "Fix file not found exception with the default route\n"
},
{
"from": "human",
"value": "//\n// Functions related to the preview server.\n//\n// Author:\n// ipavl <ipavl@users.sourceforge.net>\n//\n\nmodule WebServer\n open System\n open System.IO\n op... | f# | chosen |
[
{
"from": "system",
"value": "Allow to specify additional Nuget sources for PackageRestore\n"
},
{
"from": "human",
"value": "[<AutoOpen>]\nmodule Fake.RestorePackageHelper\n\nopen System\nopen System.IO\n\ntype RestorePackageParams =\n { ToolPath: string\n TimeOut: TimeSpan\n Outp... | f# | chosen |
[
{
"from": "system",
"value": "Optimize clock and remove need for async when getting the time\n"
},
{
"from": "human",
"value": "[<AutoOpen>]\n///Clock is used to generate the current time\nmodule Freckle.Clock\nopen FSharp.Helpers\n\n[<AutoOpen>]\n///The includes the clock type\nmodule Types =\... | f# | chosen |
[
{
"from": "system",
"value": "Add feed link to notifications\n"
},
{
"from": "human",
"value": "module Feed\n\nopen System.Net\nopen System.Text.RegularExpressions\n\ntype Feed = {\n Name : string\n Listeners : int\n Info : string option\n}\n\nlet createFromHTML str =\n let... | f# | chosen |
[
{
"from": "system",
"value": "Fix an off-by-one error in AddArgument column number\n"
},
{
"from": "human",
"value": "namespace MonoDevelop.FSharpRefactor\n\nopen MonoDevelop.Refactoring\nopen Microsoft.FSharp.Compiler.Range\n\nopen MonoDevelop.FSharpRefactor.FSharpRefactoring\nopen FSharpRefact... | f# | chosen |
[
{
"from": "system",
"value": "Change hello world to placeholder\n"
},
{
"from": "human",
"value": "module Beast\n\nopen System\nopen Fable.Core\nopen Fable.Import\nmodule R = Fable.Helpers.React\n\n// Check components.fs to see how to build React components from F#\nopen Components\n\n// Polyfi... | f# | chosen |
[
{
"from": "system",
"value": "Disable fsck_ffs for now, 4MB target size issues.\n"
},
{
"from": "human",
"value": "#\n# Filesystem related tools\n#\n# $FreeBSD$\n\n# mfs\nCRUNCH_PROGS_sbin+=\tmdmfs mdconfig newfs\nCRUNCH_ALIAS_mdmfs=\tmount_mfs\n\n# UFS\nCRUNCH_PROGS_sbin+=\tfsck_ffs\nCRUNCH_LIB... | f# | chosen |
[
{
"from": "system",
"value": "Fix for comment about what the file tests\n"
},
{
"from": "human",
"value": "// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.\n\n// Various t... | f# | chosen |
[
{
"from": "system",
"value": "Change version number only when it is specified\n"
},
{
"from": "human",
"value": "#r @\"packages/FAKE/tools/FakeLib.dll\"\nopen Fake\nopen Fake.AssemblyInfoFile\nopen Fake.Testing.NUnit3\nopen System\n\n// Properties\nlet version = getBuildParamOrDefault \"version\... | f# | chosen |
[
{
"from": "system",
"value": "Update increment button to be async\n"
},
{
"from": "human",
"value": "module FablePlaypen\n\nopen Fable.Core\nopen Fable.Import\nopen Elmish\n\n// MODEL\ntype State = {\n count: int\n}\n\ntype Msg =\n | Increment\n | Decrement\n\nlet init () = ({ count = 0 }, ... | f# | chosen |
[
{
"from": "system",
"value": "Use forward pipe in traversal.fsx samples to improve type inference.\n"
},
{
"from": "human",
"value": "#nowarn \"3186\"\n#r @\"..\\..\\build\\FsControl.dll\"\n#r @\"..\\..\\build\\FSharpPlus.dll\"\n\nopen FSharpPlus\nopen FSharpPlus.Lens\n\nlet x = set (_all \"\"... | f# | chosen |
[
{
"from": "system",
"value": "Move from recusrive calls in wait to a loop\n"
},
{
"from": "human",
"value": "module Wait\n\nopen OpenQA.Selenium\nopen Exceptions\n\nlet mutable waitSleep = 0.5\n\n//This is similar to how Selenium Wait works which is very useful\n//Provide a function that return... | f# | chosen |
[
{
"from": "system",
"value": "Add test for very small inputs.\n"
},
{
"from": "human",
"value": "module Rezoom.SQL.Test.TestParserErrors\nopen System\nopen NUnit.Framework\nopen FsUnit\nopen Rezoom.SQL\nopen Rezoom.SQL.Mapping\n\n[<Test>]\nlet ``invalid CTE`` () =\n expectError \"SQ000: Expe... | f# | chosen |
[
{
"from": "system",
"value": "Revert \"try to skip testfile, maybe thta is what kill travis\"\n\nThis reverts commit 85baa0e13272042da61a150b1a37d5274ac207f9.\n"
},
{
"from": "human",
"value": "// include Fake libs\n#r \"tools/FAKE/tools/FakeLib.dll\"\n\nopen Fake\n\nRestorePackages()\n\nopen Sy... | f# | chosen |
[
{
"from": "system",
"value": "Revert \"Do not specify a core assembly name in the precompiled assembly file loader.\"\n\nThis reverts commit 06c10e885da4402aeab4c538666037e2060c7d67.\nThe removal of the core assembly name caused the loader to break. I hadn't understood the significance of that parameter.\nW... | f# | chosen |
[
{
"from": "system",
"value": "Create property test for Array.blit\n"
},
{
"from": "human",
"value": "// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.\n\nmodule FSharp.Core... | f# | chosen |
[
{
"from": "system",
"value": "Add link to feedback form\n"
},
{
"from": "human",
"value": "module FSharping.Website.App\n\nopen Suave\nopen Suave.Http\nopen Suave.Web\nopen Shaver.Localization\nopen Suave.Filters\nopen Suave.Operators\nopen System.Net\nopen Suave.Writers\n\nlet mimeTypes =\n d... | f# | chosen |
[
{
"from": "system",
"value": "Remove IntelliFactory prefix from package name.\n"
},
{
"from": "human",
"value": "#load \"tools/includes.fsx\"\r\nopen IntelliFactory.Build\r\n\r\nlet bt =\r\n BuildTool().PackageId(\"IntelliFactory.WebSharper.D3\", \"2.5\")\r\n .References(fun r -> [r.A... | f# | chosen |
[
{
"from": "system",
"value": "Clarify command line usage printout\n"
},
{
"from": "human",
"value": "\n\nopen OAuth2Client\nopen System\nopen System.IO\nopen System.Threading.Tasks\n\nlet askForAuthCode (client:AuthClient) = \n let url = client.getUrlForGrantRequest()\n System.Console.SetIn(n... | f# | chosen |
[
{
"from": "system",
"value": "Make tests sequential. We have a shared states in translator, thus concurrent execution of tests leads to incorrect behavior.\n\n"
},
{
"from": "human",
"value": "module ExpectoTemplate\n\nopen Expecto\n\n[<EntryPoint>]\nlet main argv = Tests.runTestsInAssembly defa... | f# | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.