commit
stringlengths
40
40
old_file
stringlengths
4
264
new_file
stringlengths
4
264
old_contents
stringlengths
0
4.24k
new_contents
stringlengths
1
5.44k
subject
stringlengths
14
778
message
stringlengths
15
9.92k
lang
stringclasses
277 values
license
stringclasses
13 values
repos
stringlengths
5
127k
7c756c72292b45836bff53d617b1dd3b13da084c
CoreCrypto/DER.fsi
CoreCrypto/DER.fsi
module DER open Bytes type dervalue = | Bool of bool | Bytes of bytes | Utf8String of string | Sequence of dervalue list exception DerEncodingFailure val encode : dervalue -> bytes val decode : bytes -> dervalue option
module DER open Bytes type dervalue = | Bool of bool | Bytes of bytes | Utf8String of string | Sequence of dervalue list //AP exception DerEncodingFailure // so we can use it in typechecking code val encode : dervalue -> bytes val decode : bytes -> dervalue option
Remove exception declaration, so we can use the interface for typechecking
Remove exception declaration, so we can use the interface for typechecking
F#
apache-2.0
alexanderkyte/mitls-f7,alexanderkyte/mitls-f7,alexanderkyte/mitls-f7,alexanderkyte/mitls-f7,alexanderkyte/mitls-f7
c7d25a20cc107221c5862f058a3870cd4d1ae908
src/FunctionalEconnect/Validation.fs
src/FunctionalEconnect/Validation.fs
module Validation open System open Chessie.ErrorHandling let genericValidator validator getValue elem= trial{ let! res = validator <| getValue elem return elem } let checkLength length x = if x.ToString().Length > length then fail (sprintf "exeeds length of %i" length) el...
module Validation open System open Chessie.ErrorHandling let genericValidator validator getValue elem= trial{ let! res = validator <| getValue elem return elem } let checkLength length x = if x.ToString().Length > length then fail (sprintf "exeeds length of %i" length) el...
Change Null checker to be more generic.
Change Null checker to be more generic.
F#
mit
FoothillSolutions/FunctionalEconnect
4a56aa80c22e2f96fcc3675a30ab8bb752af1c89
src/dxgen/HeaderConverter.fs
src/dxgen/HeaderConverter.fs
module HeaderConverter open CodeGenTree open HeaderLoader let toCodeGenTree (headerRoot: Node): CodeGenTree = let parseEnum (enumParent: Node) = let rec parseVariants (accum: EnumVariant list) (nodes: Node list) = let parseVariant (node: Node) = let (NodeInfo(_, name)) = node....
module HeaderConverter open CodeGenTree open HeaderLoader let toCodeGenTree (headerRoot: Node): CodeGenTree = let parseEnum (enumParent: Node) = let rec parseVariants (accum: EnumVariant list) (nodes: Node list) = let parseVariant (node: Node) = let (NodeInfo(_, name)) = node....
Change parameter orders to make code more clear.
Change parameter orders to make code more clear.
F#
apache-2.0
red75prime/dxgen,red75prime/dxgen
c232b9cc4978cfaa570cd76d1e46082872bc4bf6
XSVim/Properties/AddinInfo.fs
XSVim/Properties/AddinInfo.fs
namespace XSVim open Mono.Addins open MonoDevelop [<assembly:Addin ( "XSVim", Namespace = "XSVim", Version = "0.31.1" )>] [<assembly:AddinName ("Vim")>] [<assembly:AddinCategory ("IDE extensions")>] [<assembly:AddinDescription ("Vim emulation layer for Xamarin Studio / Visual Studio for Mac.")>] [<assembly:Ad...
namespace XSVim open Mono.Addins open MonoDevelop [<assembly:Addin ( "XSVim", Namespace = "XSVim", Version = "0.31.2" )>] [<assembly:AddinName ("Vim")>] [<assembly:AddinCategory ("IDE extensions")>] [<assembly:AddinDescription ("Vim emulation layer for Xamarin Studio / Visual Studio for Mac.")>] [<assembly:Ad...
Bump to 0.31.2 to take in quote fixes
Bump to 0.31.2 to take in quote fixes
F#
mit
nosami/XSVim
c5a46727fe8c9c5e975b4f458930b0a2f5e0e714
grnline.fs/Program.fs
grnline.fs/Program.fs
open System.IO open System.Text open Type open CommandLineParser open Process [<EntryPoint>] let main argv = try let config: Config = parseArgv argv if not <| check_groonga(config) then "Groonga does not exist specified path: " + config.Path |> printfn "%s" exit 1 ...
open System.IO open System.Text open Type open CommandLineParser open Process [<EntryPoint>] let main argv = try let config: Config = parseArgv argv if not <| check_groonga(config) then "Groonga does not exist specified path: " + config.Path |> printfn "%s" exit 1 ...
Handle shutdown as exit command
Handle shutdown as exit command
F#
mit
cosmo0920/grnline.fs
59979035c0b2a11386604edd3e138dbbb8ca795b
src/app/FakeLib/FSharpFormattingHelper.fs
src/app/FakeLib/FSharpFormattingHelper.fs
/// Contains tasks which allow to run FSharp.Formatting for generating documentation. module Fake.FSFHelper /// Specifies the fsformatting executable let mutable fsformattingPath = findToolInSubPath "fsformatting.exe" (currentDirectory @@ "tools" @@ "fsformatting") /// Specifies a global timeout for fsformatting...
/// Contains tasks which allow to run FSharp.Formatting for generating documentation. module Fake.FSFHelper /// Specifies the fsformatting executable let mutable fsformattingPath = findToolInSubPath "fsformatting.exe" (currentDirectory @@ "tools" @@ "fsformatting") /// Specifies a global timeout for fsformatting...
Remove quiet parameter in FSFormatting
Remove quiet parameter in FSFormatting
F#
apache-2.0
xavierzwirtz/FAKE,haithemaraissia/FAKE,ilkerde/FAKE,pacificIT/FAKE,pmcvtm/FAKE,dmorgan3405/FAKE,ArturDorochowicz/FAKE,beeker/FAKE,dmorgan3405/FAKE,mglodack/FAKE,jayp33/FAKE,NaseUkolyCZ/FAKE,xavierzwirtz/FAKE,gareth-evans/FAKE,modulexcite/FAKE,ArturDorochowicz/FAKE,featuresnap/FAKE,modulexcite/FAKE,daniel-chambers/FAKE,...
fe7a24a80c618dea2f0e5a2820c945b02ce68aac
tests/Farkle.Tests/RegressionTests.fs
tests/Farkle.Tests/RegressionTests.fs
// Copyright (c) 2019 Theodore Tsirpanis // // This software is released under the MIT License. // https://opensource.org/licenses/MIT module Farkle.Tests.RegressionTests open Expecto open Expecto.Logging open Farkle open Farkle.Parser open Farkle.PostProcessor let logger = Log.create "Regression tests" let privat...
// Copyright (c) 2019 Theodore Tsirpanis // // This software is released under the MIT License. // https://opensource.org/licenses/MIT module Farkle.Tests.RegressionTests open Expecto open Expecto.Logging open Farkle open Farkle.Parser open Farkle.PostProcessor let logger = Log.create "Regression tests" let privat...
Fix the path of a test grammar.
Fix the path of a test grammar.
F#
mit
teo-tsirpanis/Farkle
c6b43ed6eb869f5dd7d23595df9efd2dc3537c6a
src/src/Markify.Models/Definitions.fs
src/src/Markify.Models/Definitions.fs
namespace Markify.Models.Definitions open Markify.Models.IDE type StructureKind = | Unknown = 0 | Class = 1 | Struct = 2 | Interface = 3 | Delegate = 4 | Enum = 5 type DefinitionName = string type DefinitionFullname = string type DefinitionIdentity = { Name : DefinitionName Fulln...
namespace Markify.Models.Definitions open Markify.Models.IDE type StructureKind = | Unknown = 0 | Class = 1 | Struct = 2 | Interface = 3 | Delegate = 4 | Enum = 5 type DefinitionName = string type DefinitionIdentity = { Name : DefinitionName Parent : DefinitionName Namespace ...
Update models to include namespace
Update models to include namespace
F#
mit
Julien-Pires/Markify
61857dbd97b6d563d2cec0d8c7d04e9ee9b04b40
src/Rezoom.SQL.Test/TestModelErrors.fs
src/Rezoom.SQL.Test/TestModelErrors.fs
module Rezoom.SQL.Test.TestModelErrors open System open NUnit.Framework open FsUnit open Rezoom.SQL.Compiler open Rezoom.SQL.Mapping [<Test>] let ``duplicate create view complains`` () = expectError (Error.objectAlreadyExists "main.VUsers") """ create view VUsers as select * fr...
module Rezoom.SQL.Test.TestModelErrors open System open NUnit.Framework open FsUnit open Rezoom.SQL.Compiler open Rezoom.SQL.Mapping [<Test>] let ``duplicate create view complains`` () = expectError (Error.objectAlreadyExists "main.VUsers") """ create view VUsers as select * fr...
Add test for banning drops of tables referenced by others.
Add test for banning drops of tables referenced by others.
F#
mit
rspeele/Rezoom.SQL
fc81d0e433536a169944077ce6e66c4415b3e3f9
src/Pfarah/Script.fsx
src/Pfarah/Script.fsx
#load "ParaValue.fs" open Pfarah let data = ParaValue.Parse "foo=bar"
#I "../../bin" #r "Pfarah.dll" open Pfarah let filename = @"C:\temp\1.9observer_uncompressed.eu4" let data = ParaValue.Load filename
Update script to show sample loading file
Update script to show sample loading file
F#
mit
nickbabcock/Pfarah,nickbabcock/Pfarah
140b8d1e68933ee3dd9f4a17f5b280333e226fdf
src/app/FakeLib/FSIHelper.fs
src/app/FakeLib/FSIHelper.fs
[<AutoOpen>] module Fake.FSIHelper /// The Path to the F# interactive tool let fsiPath = let ev = environVar "FSI" if not (isNullOrEmpty ev) then ev else findPath "FSIPath" "fsi.exe" /// Run the given buildscript with fsi.exe let runBuildScript printDetails script args = if printDetails then t...
[<AutoOpen>] module Fake.FSIHelper /// The Path to the F# interactive tool let fsiPath = if System.Environment.OSVersion.Platform = System.PlatformID.Unix then "fsi" else let ev = environVar "FSI" if not (isNullOrEmpty ev) then ev else findPath "FSIPath" "fsi.exe" /// Run th...
Use fsi command for unix platforms
Use fsi command for unix platforms
F#
apache-2.0
MiloszKrajewski/FAKE,ArturDorochowicz/FAKE,darrelmiller/FAKE,yonglehou/FAKE,ovu/FAKE,gareth-evans/FAKE,hitesh97/FAKE,molinch/FAKE,dmorgan3405/FAKE,wooga/FAKE,warnergodfrey/FAKE,pacificIT/FAKE,featuresnap/FAKE,philipcpresley/FAKE,modulexcite/FAKE,hitesh97/FAKE,haithemaraissia/FAKE,mfalda/FAKE,pmcvtm/FAKE,xavierzwirtz/FA...
6f076a2f11c9ce3c636206e9aae6dcca6cbbc566
src/FSharpPlus.Samples/Program.fs
src/FSharpPlus.Samples/Program.fs
// Learn more about F# at http://fsharp.org open System [<EntryPoint>] let main argv = 0 // return an integer exit code
// This folder contains only this project to compile the samples and make sure they never break. // Actual samples are in https://github.com/fsprojects/FSharpPlus/tree/master/src/FSharpPlus/Samples open System [<EntryPoint>] let main argv = 0
Add note about sample files
Add note about sample files Fixes #226
F#
apache-2.0
gmpl/FSharpPlus,gusty/FSharpPlus,gmpl/FSharpPlus,gusty/FSharpPlus
ad6a08c85725e635448878dbf0746d7196608361
PollingConsumer/Implementations.fs
PollingConsumer/Implementations.fs
// Copyright (c) 2017 Mark Seemann. // Permission to reproduce or modify is granted for personal, educational use. // No warranty implied. module Ploeh.Samples.Imp open System open Ploeh.Samples.ColorPrint let private time f x = let sw = System.Diagnostics.Stopwatch () sw.Start () let msg = f x sw.S...
// Copyright (c) 2017 Mark Seemann. // Permission to reproduce or modify is granted for personal, educational use. // No warranty implied. module Ploeh.Samples.Imp open System open Ploeh.Samples.ColorPrint let private time f x = let sw = System.Diagnostics.Stopwatch () sw.Start () let msg = f x sw.S...
Simplify Imp functions a bit
Simplify Imp functions a bit
F#
mit
ploeh/PollingConsumer,ploeh/PollingConsumer,ploeh/PollingConsumer
b2623ff1db53d2a929d66b3ec06be265fa537b3f
3/src/forth/forth.fs
3/src/forth/forth.fs
S" dictionary.fs" included S" assembler.fs" included S" compiler.fs" included tcode halt 0 0 jal, tend-code tcode ! 0 dsp x9 ld, 8 dsp x10 ld, 0 x9 x10 sd, 16 dsp dsp addi, next, tend-code t: testIt $AAAAAAAA55555555 $FF0010 ! halt ; 8 talign tcode __RESET__ 0 x9 auipc, 24 x9 ip ld, 0 x0 up addi, 1024 up ...
S" dictionary.fs" included S" assembler.fs" included S" compiler.fs" included tcode halt 0 0 jal, tend-code tcode ! 0 dsp x9 ld, 8 dsp x10 ld, 0 x9 x10 sd, 16 dsp dsp addi, next, tend-code t: setup $AAAAAAAA55555555 $FF0010 ; t: testIt setup ! halt ; 8 talign tcode __RESET__ 0 x9 auipc, 24 x9 ip ld, 0 x0 u...
Fix colon def nesting bug
Fix colon def nesting bug
F#
mpl-2.0
KestrelComputer/kestrel,sam-falvo/kestrel,KestrelComputer/kestrel,sam-falvo/kestrel,sam-falvo/kestrel,KestrelComputer/kestrel,sam-falvo/kestrel,KestrelComputer/kestrel
e8dd413de33d7301315ce13123ad548e12cf50dc
Rexcfnghk.MarkSixParser/Rexcfnghk.MarkSixParser/Validations.fs
Rexcfnghk.MarkSixParser/Rexcfnghk.MarkSixParser/Validations.fs
namespace Rexcfnghk.MarkSixParser type ErrorMessage = ErrorMessage of string [<StructuredFormatDisplay("{AsString}")>] type ValidationResult<'T> = | Success of 'T | Error of ErrorMessage override this.ToString() = match this with | Success s -> sprintf "%A" s | Error e -> sprintf ...
namespace Rexcfnghk.MarkSixParser type ErrorMessage = ErrorMessage of string [<StructuredFormatDisplay("{AsString}")>] type ValidationResult<'T> = | Success of 'T | Error of ErrorMessage override this.ToString() = match this with | Success s -> sprintf "%A" s | Error e -> sprintf ...
Correct implementation by using List.foldBack
Correct implementation by using List.foldBack
F#
mit
rexcfnghk/marksix-parser
48c6e422012e9298798178a84923f82ea52e2e80
tests/Farkle.Benchmarks/GrammarReaderBenchmark.fs
tests/Farkle.Benchmarks/GrammarReaderBenchmark.fs
// Copyright (c) 2018 Theodore Tsirpanis // // This software is released under the MIT License. // https://opensource.org/licenses/MIT namespace Farkle.Benchmarks open BenchmarkDotNet.Attributes open Farkle.Builder open Farkle.Common open Farkle.Grammar.GOLDParser open System open System.IO type GrammarReaderBenchma...
// Copyright (c) 2018 Theodore Tsirpanis // // This software is released under the MIT License. // https://opensource.org/licenses/MIT namespace Farkle.Benchmarks open BenchmarkDotNet.Attributes open Farkle.Builder open Farkle.Common open Farkle.Grammar.GOLDParser open System open System.IO type GrammarReaderBenchma...
Fix a benchmark being executed only once per iteration for some reason.
Fix a benchmark being executed only once per iteration for some reason.
F#
mit
teo-tsirpanis/Farkle
7824dbd78f63e7f7637bcc1859ed7b01285683e2
grnline.fs.Persimmon.Tests/ConfigTest.fs
grnline.fs.Persimmon.Tests/ConfigTest.fs
namespace grnline.fs.Persimmon.Tests open Persimmon open Type module ConfigTest = let config = { Config.Path = "C:\\groonga-5.1.0-x64\\groonga-5.1.0-x64\\bin\\groonga.exe"; DBPath = "test.db"; DBEncoding = "UTF-8"; Pretty = true } let ``path test`` = test "path test" { do! assertEquals "\...
namespace grnline.fs.Persimmon.Tests open Persimmon open Type module ConfigTest = let config_path = "C:\\groonga-5.1.0-x64\\groonga-5.1.0-x64\\bin\\groonga.exe" let config = { Config.Path = config_path; DBPath = "test.db"; DBEncoding = "UTF-8"; Pretty = true } let ``path test`` = test "path ...
Fix a broken test case
Fix a broken test case
F#
mit
cosmo0920/grnline.fs
8946f7cbb9482b307140c90b4a9d3007c6dccbbc
Rexcfnghk.MarkSixParser.Runner/UseCases.fs
Rexcfnghk.MarkSixParser.Runner/UseCases.fs
module Rexcfnghk.MarkSixParser.Runner.UseCases open Rexcfnghk.MarkSixParser open ErrorHandling open MarkSixNumberReader let markSixNumberReader _ = readMarkSixNumber () let getDrawResultNumbers' () = printfn "Enter draw results" getDrawResultNumbers markSixNumberReader (printfn "The draw results are %A"...
module Rexcfnghk.MarkSixParser.Runner.UseCases open Rexcfnghk.MarkSixParser open ErrorHandling open MarkSixNumberReader let private addOne = (+) 1 let markSixNumberReader _ = readMarkSixNumber () let getDrawResultNumbers' () = printfn "Enter draw results" getDrawResultNumbers markSixNumberReader (print...
Use addone when printing prizes
Use addone when printing prizes
F#
mit
rexcfnghk/marksix-parser
6551f55fe95225ad93db09c4df65bb1a782d9506
A-vs-An/ConvertToInlineDict.fsx
A-vs-An/ConvertToInlineDict.fsx
#r @"WikipediaAvsAnTrieExtractor\bin\Release\WikipediaAvsAnTrieExtractor.exe" #r @"WikipediaAvsAnTrieExtractor\bin\Release\AvsAn.dll" #r @"WikipediaAvsAnTrieExtractor\bin\Release\ExpressionToCodeLib.dll" open System.IO open System open System.Text open WikipediaAvsAnTrieExtractor open AvsAnLib open AvsAnLib....
#r @"WikipediaAvsAnTrieExtractor\bin\Release\WikipediaAvsAnTrieExtractor.exe" #r @"WikipediaAvsAnTrieExtractor\bin\Release\AvsAn.dll" #r @"WikipediaAvsAnTrieExtractor\bin\Release\ExpressionToCodeLib.dll" open System.IO open System open System.Text open WikipediaAvsAnTrieExtractor open AvsAnLib open AvsAnLib....
Update converter to use new packages.
Update converter to use new packages.
F#
apache-2.0
EamonNerbonne/a-vs-an,EamonNerbonne/a-vs-an,EamonNerbonne/a-vs-an,EamonNerbonne/a-vs-an
1744c5855a64ffe57cf0519eb2b8d7c7ce4d3910
src/Farkle/AssemblyAttributes.fs
src/Farkle/AssemblyAttributes.fs
// Copyright (c) 2019 Theodore Tsirpanis // // This software is released under the MIT License. // https://opensource.org/licenses/MIT #if NETSTANDARD2_0 namespace System.Runtime.CompilerServices open System open System.ComponentModel [<AttributeUsage(AttributeTargets.All, Inherited = false)>] [<EditorBrowsable(Edit...
// Copyright (c) 2019 Theodore Tsirpanis // // This software is released under the MIT License. // https://opensource.org/licenses/MIT #if NETSTANDARD2_0 namespace System.Runtime.CompilerServices open System open System.ComponentModel [<AttributeUsage(AttributeTargets.All, Inherited = false)>] [<EditorBrowsable(Edit...
Make the IsReadOnlyAttribute type internal.
Make the IsReadOnlyAttribute type internal.
F#
mit
teo-tsirpanis/Farkle
f66126f5ec35d4f44a48e3efbcf7b3ba646d723d
HornTests.fs
HornTests.fs
/// Tests for Starling.Horn. module Starling.Tests.Horn open NUnit.Framework open Starling.Utils open Starling.Expr open Starling.Horn open Starling.Errors.Horn /// Tests for Starling.Horn. type HornTests() = /// Test cases for the Horn emitter. static member HornEmissions = [ TestCaseData({ Head = G...
/// Tests for Starling.Horn. module Starling.Tests.Horn open NUnit.Framework open Starling.Utils open Starling.Expr open Starling.Horn open Starling.Errors.Horn /// Tests for Starling.Horn. type HornTests() = /// Test cases for the Horn emitter. static member HornEmissions = [ TestCaseData({ Head = G...
Add more horn emitter tests.
Add more horn emitter tests.
F#
mit
septract/starling-tool,septract/starling-tool
0df8da9f7d83ddea952f5f39d2e35ce6d668c5d4
FSharp.AutoComplete/test/ProjectLoading/ProjectTest.fsx
FSharp.AutoComplete/test/ProjectLoading/ProjectTest.fsx
#r "Microsoft.Build.Engine" open Microsoft.Build.BuildEngine let p = new Project() let d = new System.Collections.Hashtable() //p.Load("FSharp.AutoComplete.fsproj") p.Load("test/Test1/Test1.fsproj") p.Build([|"ResolveAssemblyReferences"|]) p.GetEvaluatedItemsByName("ReferencePath")
#r "Microsoft.Build.Engine" #r "Microsoft.Build.Framework" #r "Microsoft.Build.Tasks.v4.0" open Microsoft.Build.BuildEngine open Microsoft.Build.Framework open Microsoft.Build.Tasks let gfp = GetFrameworkPath() printfn "%s" gfp.FrameworkVersion11Path printfn "%s" gfp.FrameworkVersion20Path printfn "%s" gfp.FrameworkVe...
Add some more code fragments for testing
Add some more code fragments for testing
F#
apache-2.0
fsharp/xamarin-monodevelop-fsharp-addin,nosami/xamarin-monodevelop-fsharp-addin,Ming-Tang/fsharpbinding,Ming-Tang/fsharpbinding,fsharp/xamarin-monodevelop-fsharp-addin,fsharp/fsharpbinding,fsharp/fsharpbinding,Ming-Tang/fsharpbinding,nosami/xamarin-monodevelop-fsharp-addin,fsharp/fsharpbinding
930cf3cf9346542670b1c8bfa4cec1f8fe566aae
src/Fue/Extensions.fs
src/Fue/Extensions.fs
module internal Fue.Extensions open HtmlAgilityPack type HtmlNode with member this.TryGetAttribute attr = this.Attributes |> Seq.filter (fun x -> x.Name = attr) |> Seq.tryHead type HtmlDocument with static member Create() = let doc = new HtmlDocument() doc.OptionOutputOriginalCase <- true ...
module internal Fue.Extensions open HtmlAgilityPack type HtmlNode with member this.TryGetAttribute attr = this.Attributes |> Seq.filter (fun x -> x.Name = attr) |> Seq.tryHead type HtmlDocument with static member Create() = let doc = new HtmlDocument() doc.OptionOutputOriginalCase <- true ...
Fix incorrect deletion of the end "param" tag.
Fix incorrect deletion of the end "param" tag. Configure HtmlAgilityPack not to delete the end </param> tag. Closes #8.
F#
apache-2.0
Dzoukr/Fue
19a18377c3e9d780ab6bfd96e17292f4ac089c26
TodoBackendSuave.ServiceHost/TopShelfService.fs
TodoBackendSuave.ServiceHost/TopShelfService.fs
module ServiceHost open System open System.Configuration open Topshelf type TopShelfService() = let mutable disposable = Unchecked.defaultof<IDisposable> interface ServiceControl with member __.Start _ = let port = ConfigurationManager.AppSettings.["port"] |> int disposable <- Service.s...
module ServiceHost open System open System.Configuration open System.Reflection open Topshelf let name = Assembly.GetExecutingAssembly().GetName().Name type TopShelfService() = let mutable disposable = Unchecked.defaultof<IDisposable> interface ServiceControl with member __.Start _ = let por...
Set name and display name
Set name and display name
F#
apache-2.0
JonCanning/TodoBackendSuave
dff5a881f2a607e4b3a1930f33ac46c284653b15
WebSharper.JQuery.Mobile.Tests/Site.fs
WebSharper.JQuery.Mobile.Tests/Site.fs
namespace WebSharper.JQuery.Mobile.Tests open WebSharper.Html.Server open WebSharper.Sitelets type Action = | App module Skin = open System.IO type Page = { Body : list<Content.HtmlElement> } let MainTemplate = Content.Template<Page>("~/Main.htm...
namespace WebSharper.JQuery.Mobile.Tests open WebSharper.Html.Server open WebSharper.Sitelets type Action = | App module Skin = open System.IO type Page = { Body : list<Content.HtmlElement> } let MainTemplate = Content.Template<Page>("~/Main.htm...
Fix test for streamlined sitelets
Fix test for streamlined sitelets
F#
apache-2.0
intellifactory/websharper.jquerymobile,intellifactory/websharper.jquerymobile
053e2caa4e907901073f9493f2a836d4e44517a0
EnumerableTest.Runner/AssertionCounter.fs
EnumerableTest.Runner/AssertionCounter.fs
namespace EnumerableTest.Runner open System open Basis.Core type AssertionCount = { TotalCount : int ViolatedCount : int ErrorCount : int } with static member Zero = { TotalCount = 0 ViolatedCount = 0 E...
namespace EnumerableTest.Runner open System open Basis.Core type AssertionCount = { TotalCount : int ViolatedCount : int ErrorCount : int } with static member Zero = { TotalCount = 0 ViolatedCount = 0 E...
Remove a redundant local variable
Remove a redundant local variable
F#
mit
vain0/EnumerableTest
220df80208d3048b363a89b58a136ac465cc9f09
FSharp.AutoComplete/test/ProjectLoading/ProjectTest.fsx
FSharp.AutoComplete/test/ProjectLoading/ProjectTest.fsx
#r "Microsoft.Build.Engine" open Microsoft.Build.BuildEngine let p = new Project() let d = new System.Collections.Hashtable() //p.Load("FSharp.AutoComplete.fsproj") p.Load("test/Test1/Test1.fsproj") p.Build([|"ResolveAssemblyReferences"|]) p.GetEvaluatedItemsByName("ReferencePath")
#r "Microsoft.Build.Engine" #r "Microsoft.Build.Framework" #r "Microsoft.Build.Tasks.v4.0" open Microsoft.Build.BuildEngine open Microsoft.Build.Framework open Microsoft.Build.Tasks let gfp = GetFrameworkPath() printfn "%s" gfp.FrameworkVersion11Path printfn "%s" gfp.FrameworkVersion20Path printfn "%s" gfp.FrameworkVe...
Add some more code fragments for testing
Add some more code fragments for testing
F#
apache-2.0
cloudRoutine/FsAutoComplete,cloudRoutine/FsAutoComplete,kjnilsson/FSharp.AutoComplete,vasily-kirichenko/FsAutoComplete,rneatherway/FsAutoComplete
10e32f51ac3b16e8b43a78a3cf93f2860ec679f8
src/Muffin.Pictures.Archiver/TagRetriever.fs
src/Muffin.Pictures.Archiver/TagRetriever.fs
namespace Muffin.Pictures.Archiver open System.Diagnostics open FSharp.Data open FSharp open System.IO module TagRetriever = type Tags = JsonProvider<"folder.json"> let callExifTool folder = let processStartInfo = new ProcessStartInfo() processStartInfo.FileName <- "exiftool" process...
namespace Muffin.Pictures.Archiver open System.Diagnostics open FSharp.Data open FSharp open System.IO module TagRetriever = type Tags = JsonProvider<"folder.json"> let private exifFileName = if System.Type.GetType ("Mono.Runtime") <> null then "exiftool" else "exifto...
Choose right exifTool binary based on runtime
Choose right exifTool binary based on runtime
F#
unlicense
koenmetsu/Muffin.Pictures.Archiver,koenmetsu/Muffin.Pictures.Archiver
33a450f4bf82ab058e8cf9f0c6d82259fd10ea8f
WebSharper.Suave/Main.fs
WebSharper.Suave/Main.fs
namespace WebSharper.Suave open global.Owin open System.Net open Suave open Suave.Types open Suave.Http.Successful open Suave.Web open Suave.Owin open WebSharper.Owin type WebSharperAdapter = static member ToWebPart(app, ?RootDirectory: string) = let rootDirectory = defaultArg RootDirectory "" Si...
namespace WebSharper.Suave open global.Owin open System.Net open Suave open Suave.Types open Suave.Http.Successful open Suave.Web open Suave.Owin open WebSharper.Owin type WebSharperAdapter = static member ToWebPart(app, ?RootDirectory: string, ?BinDirectory: string) = let rootDirectory = defaultArg Root...
Add argument ?BinDirectory : string
Add argument ?BinDirectory : string
F#
apache-2.0
intellifactory/websharper.suave,panesofglass/websharper.suave,panesofglass/websharper.suave,intellifactory/websharper.suave
e85d28a407725c0c13dc757dc97c460cdeb51294
FSharp/SimpleOrderRouting.Tests/UtilitiesTests.fs
FSharp/SimpleOrderRouting.Tests/UtilitiesTests.fs
namespace SimpleOrderRouting.Tests open Xunit open FsUnit.Xunit open SimpleOrderRouting.Journey1.Rop module ``Rop tests`` = let failBranch() = failwith "This branch should not have been called." [<Fact>] let ``Create a Success with no messages``() = let result = succeed 10 match...
namespace SimpleOrderRouting.Tests open Xunit open FsUnit.Xunit open SimpleOrderRouting.Journey1.Rop module ``Rop tests`` = let failBranch() = failwith "This branch should not have been called." [<Fact>] let ``Create a Success with no messages``() = let result = succeed 10 match...
Add test for applyR function in utilities
Add test for applyR function in utilities
F#
apache-2.0
Lunch-box/SimpleOrderRouting
a9ee092309ed21f9f3b31c3d08379aa4833efa9d
tests/Farkle.Benchmarks/GrammarReaderBenchmark.fs
tests/Farkle.Benchmarks/GrammarReaderBenchmark.fs
// Copyright (c) 2018 Theodore Tsirpanis // // This software is released under the MIT License. // https://opensource.org/licenses/MIT namespace Farkle.Benchmarks open BenchmarkDotNet.Attributes open Farkle open Farkle.Builder open Farkle.Common open Farkle.Grammar open System open System.IO type GrammarReaderBenchm...
// Copyright (c) 2018 Theodore Tsirpanis // // This software is released under the MIT License. // https://opensource.org/licenses/MIT namespace Farkle.Benchmarks open BenchmarkDotNet.Attributes open Farkle open Farkle.Builder open Farkle.Common open Farkle.Grammar open System open System.IO type GrammarReaderBenchm...
Load the designtime Farkle from a local field in the builder benchmark.
Load the designtime Farkle from a local field in the builder benchmark.
F#
mit
teo-tsirpanis/Farkle
f68b48213973d535f1d8e1fa1c9871a132c3f8ef
tests/FsCheck.Test/Random.fs
tests/FsCheck.Test/Random.fs
namespace FsCheck.Test module Random = open System open Xunit open FsCheck open FsCheck.Xunit open FsCheck.Random [<Property>] let ``abs(v) % k equals abs(v % k)`` v (NonZeroInt k) = (abs v) % k = abs(v % k) [<Property>] let ``divMod should satisfy definition`` (x:int6...
namespace FsCheck.Test module Random = open System open Xunit open FsCheck open FsCheck.Xunit open FsCheck.Random [<Property>] let ``abs(v) % k equals abs(v % k)`` v (NonZeroInt k) = (abs v) % k = abs(v % k) [<Property>] let ``divMod should satisfy definition`` (x:int6...
Disable test that started failing on AppVeyor.
Disable test that started failing on AppVeyor.
F#
bsd-3-clause
ErikSchierboom/FsCheck,fscheck/FsCheck,fsharp/FsCheck,fscheck/FsCheck,ploeh/FsCheck
afea7dddd23aa9bb978d5fb8b925ed4e5589e050
src/BlackFox.Stidgen/FileGeneration.fs
src/BlackFox.Stidgen/FileGeneration.fs
module BlackFox.Stidgen.FileGeneration open BlackFox.Stidgen.Description open System open System.IO let private normalizeFileName (s:string) = let invalid = Path.GetInvalidFileNameChars() let newChars = s |> Seq.map (fun c -> if invalid |> Seq.exists ((=) c) then '_' else c) |> Arra...
module BlackFox.Stidgen.FileGeneration open BlackFox.Stidgen.Description open System open System.IO let private normalizeFileName (s:string) = let invalid = Path.GetInvalidFileNameChars() let newChars = s |> Seq.map (fun c -> if invalid |> Seq.exists ((=) c) then '_' else c) |> Arra...
Add ".Generated" to file names
Add ".Generated" to file names Allow auto-detection of the file as generated by R# #18
F#
mit
vbfox/stidgen
a6b22e7f868e7252afd3d18b29f0c6aaf95fb06a
src/Pfarah/AssemblyInfo.fs
src/Pfarah/AssemblyInfo.fs
namespace System open System.Reflection [<assembly: AssemblyTitleAttribute("Pfarah")>] [<assembly: AssemblyProductAttribute("Pfarah")>] [<assembly: AssemblyDescriptionAttribute("Parses files generated by the Clausewitz engine")>] [<assembly: AssemblyVersionAttribute("0.4.0")>] [<assembly: AssemblyFileVersionAttribute...
namespace System open System.Reflection [<assembly: AssemblyTitleAttribute("Pfarah")>] [<assembly: AssemblyProductAttribute("Pfarah")>] [<assembly: AssemblyDescriptionAttribute("Parses files generated by the Clausewitz engine")>] [<assembly: AssemblyVersionAttribute("0.5.0")>] [<assembly: AssemblyFileVersionAttribute...
Bump assembly version to 0.5.0
Bump assembly version to 0.5.0
F#
mit
nickbabcock/Pfarah,nickbabcock/Pfarah
293d9a2d0f476f4bf15d75dc48aaee8c06664f2c
board-qemu/slof/pci-device_1af4_1009.fs
board-qemu/slof/pci-device_1af4_1009.fs
\ ***************************************************************************** \ * Copyright (c) 2011 IBM Corporation \ * All rights reserved. \ * This program and the accompanying materials \ * are made available under the terms of the BSD License \ * which accompanies this distribution, and is available at \ * http:...
\ ***************************************************************************** \ * Copyright (c) 2011 IBM Corporation \ * All rights reserved. \ * This program and the accompanying materials \ * are made available under the terms of the BSD License \ * which accompanies this distribution, and is available at \ * http:...
Set a proper name for virtio-9p device tree nodes
virtio: Set a proper name for virtio-9p device tree nodes The virtio-9p devices currently show up as "unknown-legacy-device" in the device tree. We've got a driver for this device, so it is certainly not "unknown", i.e. let's use a better name here instead. Signed-off-by: Thomas Huth <thuth@redhat.com> Nikunj A Dadha...
F#
bsd-3-clause
open-power-host-os/slof,open-power-host-os/slof,open-power-host-os/slof,open-power-host-os/slof
79e380ff593c7a57eb793a270dfd21404a57cf72
tests/BioFSharp.Tests/RunTests.fs
tests/BioFSharp.Tests/RunTests.fs
namespace BioFSharp.Tests open Expecto module RunTests = [<EntryPoint>] let main args = Tests.runTestsWithArgs defaultConfig args Tests.testSimpleTests |> ignore Tests.runTestsWithArgs defaultConfig args BioArray.tests |> ignore 0
namespace BioFSharp.Tests open Expecto module RunTests = [<EntryPoint>] let main args = Tests.runTestsWithArgs defaultConfig args Tests.testSimpleTests |> ignore //BioFSharp core tests //Run BioArrayTests Tests.runTestsWithArgs defaultConfig args BioArray.parsingTests |> ig...
Fix wrong module call for bioarray tests
Fix wrong module call for bioarray tests
F#
mit
CSBiology/BioFSharp,muehlhaus/BioFSharp,bvenn/BioFSharp,CSBiology/BioFSharp,bvenn/BioFSharp,bvenn/BioFSharp
f0ed9c18675e48b90611caebf5bdc024aaf2c7d5
tests/FSharpVSPowerTools.Core.Tests/IdentifierDetectionTests.fs
tests/FSharpVSPowerTools.Core.Tests/IdentifierDetectionTests.fs
module FSharpVSPowerTools.Core.Tests.IdentifierDetectionTest open FSharpVSPowerTools open FSharpVSPowerTools.IdentifierUtils open NUnit.Framework [<Test>] let ``should be able to detect backticked identifiers``() = isDoubleBacktickIdent "``this is already encapsulated``" |> assertTrue isDoubleBacktickIdent ...
module FSharpVSPowerTools.Core.Tests.IdentifierDetectionTest open FSharpVSPowerTools open FSharpVSPowerTools.IdentifierUtils open NUnit.Framework [<Test>] let ``should be able to detect backticked identifiers``() = isDoubleBacktickIdent "``this is already encapsulated``" |> assertTrue isDoubleBacktickIdent ...
Add another type name test
Add another type name test
F#
apache-2.0
cloudRoutine/VisualFSharpPowerTools,bleis-tift/FSharpVSPowerTools,cloudRoutine/VisualFSharpPowerTools,forki/FSharpVSPowerTools,fsprojects/VisualFSharpPowerTools,dkinitiate/VisualFSharpPowerTools,enricosada/VisualFSharpPowerTools,smoothdeveloper/VisualFSharpPowerTools,0x53A/VisualFSharpPowerTools,bleis-tift/FSharpVSPowe...
76e2de8efb508a3fbb83e6a25a0af3d3df2fd533
fsharp-refactor-tests/EngineTests.fs
fsharp-refactor-tests/EngineTests.fs
namespace FSharpRefactor.Tests.EngineTests open System open NUnit.Framework open FSharpRefactor.Engine [<TestFixture>] type ASTFetcherModule() = [<Test>] member this.RunsWithoutErrors() = let result = ASTFetcher.parseTree ()
namespace FSharpRefactor.Tests.EngineTests open System.Collections open NUnit.Framework open FSharpRefactor.Engine [<TestFixture>] type ASTFetcherModule() = [<Test>] member this.ThereIsAParseTree() = Assert.IsTrue(ASTFetcher.parseTree.IsSome)
Check that the sample code gets a tree
Check that the sample code gets a tree
F#
apache-2.0
Lewix/fsharp-refactor,Lewix/fsharp-refactor
07af9fbbe1798a6b230c1635e0ecd9995b1028be
TreasureHunt/Fitness.fs
TreasureHunt/Fitness.fs
module Fitness type Content = Empty | Treasure | Wall type Action = Pick | StayPut | North | South | East | West type Position = Position of int * int type ActionOutcome = {fitness:int; nextPosition:Position} type Site = Position * Content type Situation = {current:Site; north:Site; south:...
module Fitness type Position = Position of int * int type Content = Empty | Treasure | Wall type Site = Position * Content type Situation = {current:Site; north:Site; south:Site; west:Site; east:Site} type ActionOutcome = {fitness:int; nextPosition:Position} type Action = Pick | StayPut | ...
Reorder types and fitness match expression
Reorder types and fitness match expression
F#
mit
pedromsantos/TreasureHuntKata
279432cab253b58d9654af97f6c028c8604a82f2
test.fsx
test.fsx
// include Fake lib #r @"src\Pickles\packages\FAKE.3.36.0\tools\FakeLib.dll" open Fake // Properties let testDir = "./test/" Target "Test" (fun _ -> !! (testDir + "PicklesDoc.Pickles.Test.dll") |> NUnit (fun p -> {p with DisableShadowCopy = true; OutputFile = testDir + ...
// include Fake lib #r @"packages\FAKE\tools\FakeLib.dll" open Fake // Properties let testDir = "./test/" Target "Test" (fun _ -> !! (testDir + "PicklesDoc.Pickles.Test.dll") |> NUnit (fun p -> {p with DisableShadowCopy = true; OutputFile = testDir + "TestResults.xml" }...
Use dynamically retrieved FAKE version
Use dynamically retrieved FAKE version
F#
apache-2.0
ludwigjossieaux/pickles,magicmonty/pickles,picklesdoc/pickles,ludwigjossieaux/pickles,blorgbeard/pickles,blorgbeard/pickles,magicmonty/pickles,blorgbeard/pickles,picklesdoc/pickles,dirkrombauts/pickles,blorgbeard/pickles,picklesdoc/pickles,magicmonty/pickles,dirkrombauts/pickles,dirkrombauts/pickles,dirkrombauts/pickle...
2ba7a564e668d5b110304eea2eab8ea65b978cec
src/FsEye.LinqPad.Plugin/LinqPadViewPlugin.fs
src/FsEye.LinqPad.Plugin/LinqPadViewPlugin.fs
namespace Swensen.FsEye.Plugins open System open System.Windows.Forms open Swensen.FsEye open LINQPad type LinqPadWatchViewer () = let panel = new Panel () let webBrowser = new WebBrowser () do webBrowser.Dock <- DockStyle.Fill webBrowser |> panel.Controls.Add interf...
namespace Swensen.FsEye.Plugins open System open System.Windows.Forms open Swensen.FsEye open LINQPad type LinqPadWatchViewer () = let panel = new Panel () let webBrowser = new WebBrowser () do webBrowser.Dock <- DockStyle.Fill webBrowser.IsWebBrowserContextMenuEnabled <- fa...
Remove context menu; set max depth to 2
Remove context menu; set max depth to 2
F#
apache-2.0
kirill-gerasimenko/fseye,kirill-gerasimenko/fseye
3743effed4897fe77e129e38e3608bb412c1b9fe
build.fsx
build.fsx
#r "packages/FAKE/tools/fakelib.dll" open Fake.Testing.XUnit2 open Fake let buildDir = "./build/" let testDir = "./tests/" Target "Clean" (fun _ -> CleanDirs [buildDir; testDir] ) Target "BuildApp" (fun _ -> !! "src/app/**/*.fsproj" |> MSBuildRelease buildDir "Build" |> Log "AppBuild-Output: " )...
#r "packages/FAKE/tools/fakelib.dll" open Fake.Testing.XUnit2 open Fake let buildDir = "./build/" let testDir = "./tests/" Target "Clean" (fun _ -> CleanDirs [buildDir; testDir] ) Target "BuildApp" (fun _ -> !! "src/app/**/*.fsproj" |> MSBuildRelease buildDir "Build" |> Log "AppBuild-Output: " )...
Use the correct test runner.
Use the correct test runner.
F#
mit
shanecharles/ZonkKata-FSharp
09cf8c80fb15e499b825bec87a33bcea749195a1
tests/MBrace.Store.Tests/AzureStore.fs
tests/MBrace.Store.Tests/AzureStore.fs
namespace Nessos.MBrace.Store.Tests.Azure open NUnit.Framework open FsUnit open Nessos.MBrace open Nessos.MBrace.Store open Nessos.MBrace.Azure.Store open Nessos.MBrace.Store.Tests module Helper = open System let conn = Environment.GetEnvironmentVariable("azurestorageconn", EnvironmentVariableTarget.User) ...
namespace Nessos.MBrace.Store.Tests.Azure open NUnit.Framework open FsUnit open Nessos.MBrace open Nessos.MBrace.Store open Nessos.MBrace.Azure.Store open Nessos.MBrace.Store.Tests module Helper = open System let selectEnv name = (Environment.GetEnvironmentVariable(name,EnvironmentVariableTarget.Us...
Read connection string from env
Read connection string from env
F#
apache-2.0
mbraceproject/MBrace.Core,palladin/MBrace.Core,krontogiannis/MBrace.Core,npmurphy/MBrace.Core,palladin/MBrace.Core,mbraceproject/MBrace.Core,dsyme/MBrace.Core,npmurphy/MBrace.Core,krontogiannis/MBrace.Core,dsyme/MBrace.Core
230020a167ddf7d540cf469292cb6fbdf4ff87fd
src/Morgemil.Math/Color.fs
src/Morgemil.Math/Color.fs
namespace Morgemil.Math open System [<Struct>] type Color = { A: byte B: byte G: byte R: byte } static member From() = { A = Byte.MinValue B = Byte.MinValue G = Byte.MinValue R = Byte.MinValue } static member From(r...
namespace Morgemil.Math open System [<Struct>] type Color = { A: byte B: byte G: byte R: byte } static member From() = { A = Byte.MinValue B = Byte.MinValue G = Byte.MinValue R = Byte.MinValue } static member From(r...
Add members for predefined colors, red, green, blue, black, white, and transparent alpha background.
Add members for predefined colors, red, green, blue, black, white, and transparent alpha background.
F#
mit
DanielOliver/Morgemil
5f6d429466dd40a0a60743da02216f3bb8f7c36a
osu.Framework/Resources/Shaders/sh_Video.fs
osu.Framework/Resources/Shaders/sh_Video.fs
#include "sh_Utils.h" #include "sh_yuv2rgb.h" varying mediump vec2 v_TexCoord; void main() { gl_FragColor = vec4(sampleRgb(v_TexCoord), 1.); }
#include "sh_Utils.h" #include "sh_yuv2rgb.h" varying lowp vec4 v_Colour; varying mediump vec2 v_TexCoord; void main() { gl_FragColor = vec4(sampleRgb(v_TexCoord), v_Colour.a); }
Fix alpha blending factor not being applied to videos that are not masked
Fix alpha blending factor not being applied to videos that are not masked
F#
mit
peppy/osu-framework,ppy/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,ppy/osu-framework,ZLima12/osu-framework
2fd72edbb1b716465d3735ab574912373fd14c71
src/Farkle/Builder/CodeGen/CodeGenTypes.fs
src/Farkle/Builder/CodeGen/CodeGenTypes.fs
// Copyright (c) 2022 Theodore Tsirpanis // // This software is released under the MIT License. // https://opensource.org/licenses/MIT namespace Farkle.Builder.CodeGen open Farkle open Farkle.Builder open System #if NET open System.Diagnostics.CodeAnalysis #endif /// Abstracts Farkle's dynamic code generator, /// in...
// Copyright (c) 2022 Theodore Tsirpanis // // This software is released under the MIT License. // https://opensource.org/licenses/MIT namespace Farkle.Builder.CodeGen open Farkle open Farkle.Builder open System #if NET open System.Diagnostics.CodeAnalysis #endif /// Abstracts Farkle's dynamic code generator, /// in...
Add a missing XML documentation double quote.
Add a missing XML documentation double quote.
F#
mit
teo-tsirpanis/Farkle
5eb0080f154ff6480ab4474feba169124d345901
test/UITests/Tests.fs
test/UITests/Tests.fs
module UITests.Tests open canopy open System.IO open Expecto open System open System.Threading let serverUrl = "http://localhost:8085/" let tests = testList "client tests" [ testCase "sound check - server is online" <| fun () -> url serverUrl waitForElement ".elmish-app" ...
module UITests.Tests open canopy open System.IO open Expecto open System open System.Threading let serverUrl = "http://localhost:8085/" let tests = testList "client tests" [ testCase "sound check - server is online" <| fun () -> url serverUrl waitForElement ".elmish-app" ...
Isolate user login test from changes in wish list.
Isolate user login test from changes in wish list. If you remove Isaac's book from the wish list, the Canopy user login test fails, because it checks for Isaac. While I agree that removing Isaac is a crime, the test should probably check for the logout option in the menu. Changed to do this.
F#
unlicense
fable-compiler/fable-suave-scaffold,et1975/fable-suave-scaffold,SAFE-Stack/SAFE-BookStore,et1975/fable-suave-scaffold,fable-compiler/fable-suave-scaffold,et1975/fable-suave-scaffold,SAFE-Stack/SAFE-BookStore,fable-compiler/fable-suave-scaffold
018e1c64900120935b589ca25baf68e95736d6b5
exercises/robot-name/Example.fs
exercises/robot-name/Example.fs
module RobotName let random = System.Random() type Robot = { name: string } let letters = ['A'..'Z'] let digits = ['0'..'9'] let NumberOfLetters = 2; let NumberOfDigits = 3 let takeRandomElements xs length = List.init length (fun _ -> List.item (random.Next(List.length xs)) xs) let generateRandomString chars ...
module RobotName let random = System.Random() type Robot = { name: string } let letters = ['A'..'Z'] let digits = ['0'..'9'] let NumberOfLetters = 2; let NumberOfDigits = 3 let mutable usedNames = Set.empty<string> let takeRandomElements xs length = List.init length (fun _ -> List.item (random.Next(List.length...
Make the robot-name example fulfill the requirement in instructions: Using random names means a risk of collisions. Your solution must ensure that every existing robot has a unique name.
Make the robot-name example fulfill the requirement in instructions: Using random names means a risk of collisions. Your solution must ensure that every existing robot has a unique name.
F#
mit
exercism/xfsharp,ErikSchierboom/fsharp,ErikSchierboom/xfsharp
0bf4e3eb0fb4b4da54354df5092d18c1e082ffcb
skalarprodukt/Indexer.fs
skalarprodukt/Indexer.fs
namespace skalarprodukt module Indexer = [<Struct>] type DenseVectorIndexer(len:int) = static member val ndims = 1 member this.length = len member this.sizes = len member this.sub2ind i = i member this.eachindex = let len = this...
namespace skalarprodukt module Indexer = type DenseVectorIndexer = struct val length1: int new (l1) = {length1 = l1} static member ndims = 2 member this.length = this.length1 member this.sizes = this.length1 member this.s...
Make indexers just normal structs
Make indexers just normal structs
F#
mit
gsomix/skalarprodukt
96113e863d8519dabe4536bbfb2056684f7fe7d0
tests/Farkle.Benchmarks/GrammarReaderBenchmark.fs
tests/Farkle.Benchmarks/GrammarReaderBenchmark.fs
// Copyright (c) 2018 Theodore Tsirpanis // // This software is released under the MIT License. // https://opensource.org/licenses/MIT namespace Farkle.Benchmarks open BenchmarkDotNet.Attributes open Farkle.Builder open Farkle.Common open Farkle.Grammar open System open System.IO type GrammarReaderBenchmark() = ...
// Copyright (c) 2018 Theodore Tsirpanis // // This software is released under the MIT License. // https://opensource.org/licenses/MIT namespace Farkle.Benchmarks open BenchmarkDotNet.Attributes open Farkle.Builder open Farkle.Common open Farkle.Grammar open System open System.IO open System.Runtime.Serialization.For...
Add benchmarks for the EGTneo reader. !BENCH!
Add benchmarks for the EGTneo reader. !BENCH!
F#
mit
teo-tsirpanis/Farkle
6d7ef338a3cef79ea952955211bdf4cbe131d0a1
src/EmpGraph.Web/Controllers/FileController.fs
src/EmpGraph.Web/Controllers/FileController.fs
namespace EmpGraph.Web.Controllers open System.Web.Mvc open EmpGraph.Core type FileController() = inherit Controller() [<HttpPost>] member this.ParseM2M() = let file = this.Request.Files.Get("file") match file with | null -> emperorM2mApp.notify "No File Posted" | _ -> ...
namespace EmpGraph.Web.Controllers open System.Web.Mvc open EmpGraph.Core type FileController() = inherit Controller() [<HttpPost>] member this.ParseM2M() = let files = this.Request.Files match files.Count with | 0 -> emperorM2mApp.notify "No File Posted" | _ -> ...
Update How File Is extracted
Update How File Is extracted
F#
mit
SneakyPeet/EmpGraph,SneakyPeet/EmpGraph,SneakyPeet/EmpGraph
2061be164926fbf019e27d2dceab8e9d5a5b9cbd
ulib/fs/io.fs
ulib/fs/io.fs
module FStar.IO exception EOF open System open System.IO type fd_read = TextReader type fd_write = TextWriter let print_newline _ = Printf.printf "\n" let print_string x = Printf.printf "%s" x let print_uint8 x = Printf.printf "%.02x" x let print_any x = Printf.printf "%A" x let input_line () = System.Co...
module FStar.IO exception EOF open System open System.IO type fd_read = TextReader type fd_write = TextWriter let print_newline _ = Printf.printf "\n" let print_string x = Printf.printf "%s" x let print_uint8 x = Printf.printf "%.02x" x let print_uint32 x = Printf.printf "%.04x" x let print_uint64 x = Prin...
Support for printing hex UInt32 and UInt64 in FSharp
Support for printing hex UInt32 and UInt64 in FSharp
F#
apache-2.0
FStarLang/FStar,A-Manning/FStar,FStarLang/FStar,A-Manning/FStar,FStarLang/FStar,A-Manning/FStar
96116aa02c9bb783ee16954d299d88e758c96318
src/FSharpVSPowerTools.Logic/UnusedDeclarationGlyphFactoryProvider.fs
src/FSharpVSPowerTools.Logic/UnusedDeclarationGlyphFactoryProvider.fs
namespace FSharpVSPowerTools open System.ComponentModel.Composition open System.Windows open System.Windows.Shapes open System.Windows.Media open Microsoft.VisualStudio.Text.Editor open Microsoft.VisualStudio.Text.Formatting open Microsoft.VisualStudio.Text.Tagging open Microsoft.VisualStudio.Utilities type UnusedDe...
namespace FSharpVSPowerTools open System.ComponentModel.Composition open System.Windows open System.Windows.Shapes open System.Windows.Media open Microsoft.VisualStudio.Text.Editor open Microsoft.VisualStudio.Text.Formatting open Microsoft.VisualStudio.Text.Tagging open Microsoft.VisualStudio.Utilities type UnusedDe...
Adjust looks and feels of margin glyphs
Adjust looks and feels of margin glyphs It turns out these glyphs can only appear on the left of the text view. We need a more flexible mechanism.
F#
apache-2.0
cloudRoutine/VisualFSharpPowerTools,smoothdeveloper/VisualFSharpPowerTools,enricosada/VisualFSharpPowerTools,ovatsus/VisualFSharpPowerTools,bentayloruk/FSharpVSPowerTools,xperiandri/VisualFSharpPowerTools,cloudRoutine/VisualFSharpPowerTools,fsprojects/VisualFSharpPowerTools,dedale/VisualFSharpPowerTools,0x53A/VisualFSh...
a4324623c5fd285def147bcf736e4922760afbd2
osu.Framework/Resources/Shaders/sh_TextureRounded.fs
osu.Framework/Resources/Shaders/sh_TextureRounded.fs
#ifdef GL_ES precision mediump float; #endif varying vec4 v_Colour; varying vec2 v_TexCoord; uniform sampler2D m_Sampler; uniform vec2 g_Radius; uniform vec4 g_TexRect; vec2 max3(vec2 a, vec2 b, vec2 c) { return max(max(a, b), c); } bool isInside() { vec2 topLeftOffset = g_TexRect.xy - v_T...
#ifdef GL_ES precision mediump float; #endif varying vec4 v_Colour; varying vec2 v_TexCoord; uniform sampler2D m_Sampler; uniform vec2 g_Radius; uniform vec4 g_TexRect; vec2 max3(vec2 a, vec2 b, vec2 c) { return max(max(a, b), c); } float distanceSqFromRoundedRect() { vec2 topLeftOffset = ...
Optimize rounded texture shader slightly.
Optimize rounded texture shader slightly.
F#
mit
ZLima12/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,paparony03/osu-framework,default0/osu-framework,RedNesto/osu-framework,DrabWeb/osu-framework,Nabile-Rahmani/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,default0/osu-framework,ppy/osu-framework,NeoAdonis/osu-fram...
5b1237005b001bfca38c5bcf5e7eaa706e87b45b
fsharp/part1/samples/ConsoleApp/ConsoleApp/Samples/Sample8.fs
fsharp/part1/samples/ConsoleApp/ConsoleApp/Samples/Sample8.fs
// ******************************************** // * // * Some additional features // * // ******************************************** module ConsoleApp.Samples.Sample8 module ``Units of measure`` = [<Measure>] type F = static member ToCel(x: float<F>) = (5.0<C> /...
// ******************************************** // * // * Some additional features // * // ******************************************** module ConsoleApp.Samples.Sample8 module ``Units of measure`` = [<Measure>] type F = static member ToCel(x: float<F>) = (5.0<C> /...
Add final async example to the sample 8
[fsharp] Add final async example to the sample 8
F#
mpl-2.0
vba/presentations,vba/presentations,vba/presentations
8926ab9600066eb8deedf6f2332bcfdf486fc276
sys/toolsext.fs
sys/toolsext.fs
expose-module private \g Syntactic sugar used in combination with FOREACHPARSED : apply ( "word" -- xt ) postpone ['] ; immediate compile-only \g apply xt to each word parsed. The xt stack picture must be \g ( i*x a u -- i*x 0 | j*x -1). If tos=0 the parsing process ends. : foreachparsed ( xt -- ) >r begin ...
expose-module private \g apply xt to each word parsed. The xt stack picture must be \g ( i*x a u -- i*x 0 | j*x -1). If tos is true the parsing process ends. : foreachparsed ( xt -- ) >r begin begin parse-word dup while r@ execute if rdrop exit then repeat 2drop refill 0= unt...
Fix nesting of interpreted conditionals
Fix nesting of interpreted conditionals
F#
bsd-3-clause
jacereda/fina-forth,jacereda/fina-forth,letoh/fina-forth,letoh/fina-forth,jacereda/fina-forth,letoh/fina-forth,jacereda/fina-forth,jacereda/fina-forth,letoh/fina-forth,letoh/fina-forth
b5f91c83380912d85313799d7efd94c382c8d401
core/resources/debug.fs
core/resources/debug.fs
#ifdef GL_ES precision highp float; #endif varying vec4 v_color; void main() { gl_FragColor = v_color; }
#ifdef GL_ES precision highp float; #endif varying vec4 v_color; void main() { gl_FragColor = v_color; }
Add newline at end of file
Add newline at end of file
F#
mit
karimnaaji/tangram-es,karimnaaji/tangram-es,cleeus/tangram-es,quitejonny/tangram-es,hjanetzek/tangram-es,quitejonny/tangram-es,cleeus/tangram-es,quitejonny/tangram-es,cleeus/tangram-es,karimnaaji/tangram-es,xvilan/tangram-es,cleeus/tangram-es,tangrams/tangram-es,hjanetzek/tangram-es,hjanetzek/tangram-es,xvilan/tangram-...
0cc5bda83b145130f95adfc54e994a6b5804a56d
src/src/Markify.Document/DocumentHelper.fs
src/src/Markify.Document/DocumentHelper.fs
namespace Markify.Document open System open System.IO open Markify.Models.Documents open Markify.Models.Definitions module DocumentHelper = let convertNameToPath (fullname : string) = let parts = fullname.Split ('.') match parts.Length with | 1 -> String.Empty | _ -> sprintf @"%s...
namespace Markify.Document open System open System.IO open Markify.Models.Documents open Markify.Models.Definitions module DocumentHelper = let convertIdentityToPath identity = let mergedName = match (identity.Namespace, identity.Parents) with | Some x, Some w -> sprintf "%s.%s" ...
Update document helper to use identity to create page path
Update document helper to use identity to create page path
F#
mit
Julien-Pires/Markify
0fc25d852391920d8570a338531ab38d23aeb458
docs/content/xmldoc.fsx
docs/content/xmldoc.fsx
(*** hide ***) // This block of code is omitted in the generated HTML documentation. Use // it to define helpers that you do not want to show in the documentation. #I "../../bin" (** Auto-generating XMLDoc ----------------------- This feature, originally written by Brian McNamara, auto creates xml documentation boil...
(*** hide ***) // This block of code is omitted in the generated HTML documentation. Use // it to define helpers that you do not want to show in the documentation. #I "../../bin" (** Auto-generating XMLDoc ----------------------- This feature, originally written by Brian McNamara, auto creates xml documentation boil...
Update generated documentation for version 0.1.1
Update generated documentation for version 0.1.1
F#
apache-2.0
vasily-kirichenko/FSharpVSPowerTools,fsprojects/VisualFSharpPowerTools,bleis-tift/FSharpVSPowerTools,0x53A/VisualFSharpPowerTools,cloudRoutine/VisualFSharpPowerTools,vasily-kirichenko/FSharpVSPowerTools,isaacabraham/VisualFSharpPowerTools,forki/FSharpVSPowerTools,enricosada/VisualFSharpPowerTools,ovatsus/VisualFSharpPo...
b094414ed7345b19ce07de2ba995daf602a59929
clients/f#/carpaccio-client/carpaccio-client.fs
clients/f#/carpaccio-client/carpaccio-client.fs
module CarpaccioClient open Suave open Suave.Filters open Suave.Operators open Suave.Successful open System.Net open System.Text open Newtonsoft.Json open CarpaccioModel let decodeUTF8ContentToString (request:HttpRequest) = Encoding.UTF8.GetString request.rawForm let deserialize<'a> (s:string) : 'a option = ...
module CarpaccioClient open Suave open Suave.Filters open Suave.Operators open Suave.Successful open System.Net open System.Text open Newtonsoft.Json open CarpaccioModel let decodeUTF8ContentToString (request:HttpRequest) = Encoding.UTF8.GetString request.rawForm let deserialize<'a> (s:string) : 'a option = ...
Change ip address from loopback to any
Change ip address from loopback to any
F#
bsd-3-clause
dlresende/extreme-carpaccio,dlresende/extreme-carpaccio,dlresende/extreme-carpaccio,dlresende/extreme-carpaccio,jak78/extreme-carpaccio,dlresende/extreme-carpaccio,jak78/extreme-carpaccio,jak78/extreme-carpaccio,dlresende/extreme-carpaccio,dlresende/extreme-carpaccio,dlresende/extreme-carpaccio,dlresende/extreme-carpac...
154c684ebb30023090594f8de5bb7dd2925b16c7
Rexcfnghk.MarkSixParser/Rexcfnghk.MarkSixParser.Tests/Properties.fs
Rexcfnghk.MarkSixParser/Rexcfnghk.MarkSixParser.Tests/Properties.fs
module Properties open System open Models open Xunit open FsCheck.Xunit open Swensen.Unquote [<Property>] let ``drawRandom always returns six elements`` () = let numbers = MarkSix.drawNumbers () numbers.Length =! 6 [<Property>] let ``drawRandom always returns numbers between 1 and 49`` () = ...
module Properties open System open Models open Xunit open FsCheck.Xunit open Swensen.Unquote [<Property>] let ``drawRandom always returns six elements`` () = let numbers = MarkSix.drawNumbers () numbers.Length =! 6 [<Property>] let ``drawRandom always returns numbers between 1 and 49`` () = ...
Update unit test to use constructor function
Update unit test to use constructor function
F#
mit
rexcfnghk/marksix-parser
3daa97eb43052b84442694d084101b8e44ef2e21
EnumerableTest.Runner.Console/Types.fs
EnumerableTest.Runner.Console/Types.fs
namespace EnumerableTest.Runner.Console open System open Argu open EnumerableTest.Runner [<RequireQualifiedAccess>] type AppArgument = | [<MainCommand>] Files of list<string> | Verbose | Timeout of int | Recursion of int with interface IArgParserTemplate with member this.Usage = match thi...
namespace EnumerableTest.Runner.Console open System open Argu open EnumerableTest.Runner [<RequireQualifiedAccess>] type AppArgument = | [<MainCommand>] Files of list<string> | Verbose | Timeout of int | Recursion of int with interface IArgParserTemplate with member this.Usage = match thi...
Fix the explanation of timeout option
Fix the explanation of timeout option
F#
mit
vain0/EnumerableTest
9cefca617027fcd69b07e97839b8a8a3674aa33c
src/BlackFox.Stidgen/Program.fs
src/BlackFox.Stidgen/Program.fs
module BlackFox.Stidgen.Program let printUsage () = printf "Usage:" printf " stidgen fileName" [<EntryPoint>] let main argv = if argv.Length = 1 then match FileGeneration.generateToFiles argv.[0] with | [] -> 0 | errors -> for error in errors do pri...
module BlackFox.Stidgen.Program let printUsage () = printfn "Usage:" printfn " stidgen fileName" [<EntryPoint>] let main argv = if argv.Length = 1 then match FileGeneration.generateToFiles argv.[0] with | [] -> 0 | errors -> for error in errors do p...
Add line breaks when printing usage
Add line breaks when printing usage
F#
mit
vbfox/stidgen
51dec11da61abf1ae1e0bdf657822479eda5735c
Gema/gema.fs
Gema/gema.fs
// Learn more about F# at http://fsharp.net // See the 'F# Tutorial' project for more help. type Config = { NumberOfParticles: int; NumberOfSteps: int; } type Point = { Step: int; State: int; Position: float array; } let run config = { Step = 0; State = 0; Position = [|0.0; 0.0; 0.0|]; } [<EntryPoint>] let mai...
// Learn more about F# at http://fsharp.net // See the 'F# Tutorial' project for more help. type Config = { NumberOfParticles: int; NumberOfSteps: int; } type Point = { Step: int; State: int; Position: float array; } let run config = { Step = 0; State = 0; Position = [|0.0; 0.0; 0.0|]; } [<EntryPoint>] let mai...
Remove spaces around values in vector printing
Remove spaces around values in vector printing
F#
apache-2.0
iosephus/gemadotnet
f6983b4fd89d2d6dba3321560508bb0d09ede7f6
build/build.fsx
build/build.fsx
// include Fake lib #r @"..\packages\FAKE\tools\FakeLib.dll" open Fake let tempDir = "./tmp/" let binDir = "./tmp/bin" let distDir = "../dist/" let rootDir = "../" let srcDir = "../src/" Target "Clean" (fun _ -> CleanDirs [tempDir; distDir] ) Target "RestorePackages" (fun _ -> (srcDir + "packages.config") ...
// include Fake lib #r @"..\packages\FAKE\tools\FakeLib.dll" open Fake let tempDir = "./tmp/" let binDir = "./tmp/bin" let distDir = "../dist/" let rootDir = "../" let srcDir = "../src/" Target "Clean" (fun _ -> CleanDirs [tempDir; distDir] ) Target "RestorePackages" (fun _ -> (srcDir + "packages.config") ...
Define path to nuget when restoring packages
Define path to nuget when restoring packages
F#
mit
bdukes/safe-dnn-minification,EngageSoftware/safe-dnn-minification
fc005d9e0b70109b22aac1d05e716128555aba16
src/Server/Program.fs
src/Server/Program.fs
/// Server program entry point module. module ServerCode.Program open System.IO let GetEnvVar var = match System.Environment.GetEnvironmentVariable(var) with | null -> None | value -> Some value let getPortsOrDefault defaultVal = match System.Environment.GetEnvironmentVariable("SUAVE_FABLE_PORT") ...
/// Server program entry point module. module ServerCode.Program open System.IO let GetEnvVar var = match System.Environment.GetEnvironmentVariable(var) with | null -> None | value -> Some value let getPortsOrDefault defaultVal = match System.Environment.GetEnvironmentVariable("SUAVE_FABLE_PORT") ...
Make it debuggable in VSCode
Make it debuggable in VSCode
F#
unlicense
SAFE-Stack/SAFE-BookStore,fable-compiler/fable-suave-scaffold,SAFE-Stack/SAFE-BookStore,et1975/fable-suave-scaffold,fable-compiler/fable-suave-scaffold,et1975/fable-suave-scaffold,fable-compiler/fable-suave-scaffold,et1975/fable-suave-scaffold
6245b9fd80716cefdb17405d310d4c7d9e52a784
webgldemo/glsl/P3C4.fs
webgldemo/glsl/P3C4.fs
precision highp float; varying vec4 v_col; void main() { gl_FragColor = v_col; }
precision mediump float; varying vec4 v_col; void main() { gl_FragColor = v_col; }
Switch to medium precision float for fragment shaders.
Switch to medium precision float for fragment shaders.
F#
unlicense
kamyy/d3d.to.webgl,kamyy/d3d.to.webgl,kamyy/d3d.to.webgl,kamyy/d3d.to.webgl,kamyy/d3d.to.webgl
ce48b1b1f3fa64427d7445a9d61ee7e64f81fe06
FSharp/SimpleOrderRouting.Journey1/Utilities.fs
FSharp/SimpleOrderRouting.Journey1/Utilities.fs
module Rop // ============================================== // This is a utility library for managing Success/Failure results // // See http://fsharpforfunandprofit.com/rop // See https://github.com/swlaschin/Railway-Oriented-Programming-Example // ============================================...
module Rop // ============================================== // This is a utility library for managing Success/Failure results // // See http://fsharpforfunandprofit.com/rop // See https://github.com/swlaschin/Railway-Oriented-Programming-Example // ============================================...
Add lifting functions to Rop utilities
Add lifting functions to Rop utilities
F#
apache-2.0
Lunch-box/SimpleOrderRouting
914d766a60827450453823ed5ec04bbbffa85280
src/Fable.Core/Fable.Core.Util.fs
src/Fable.Core/Fable.Core.Util.fs
namespace Fable.Core open System [<AutoOpen>] module Util = /// Used to indicate that a member is only implemented in native Javascript let inline jsNative<'T> : 'T = try failwith "JS only" // try/catch is just for padding so it doesn't get optimized with ex -> raise ex module Experimental = ...
namespace Fable.Core open System [<AutoOpen>] module Util = /// Used to indicate that a member is only implemented in native Javascript let inline jsNative<'T> : 'T = try failwith "JS only" // try/catch is just for padding so it doesn't get optimized with ex -> raise ex module Experimental = ...
Swap the parameter order in Testing.Assert.AreEqual
Swap the parameter order in Testing.Assert.AreEqual
F#
mit
ncave/Fable,ncave/Fable,ncave/Fable,ncave/Fable,ncave/Fable,fable-compiler/Fable,fable-compiler/Fable,fable-compiler/Fable,fable-compiler/Fable,inosik/Fable,ncave/Fable,fable-compiler/Fable,ncave/Fable,inosik/Fable,fable-compiler/Fable,fable-compiler/Fable
a82e20bf5e3ef4c76bb56c5db4c32224d70f8963
samples/helloworld/hello.fsx
samples/helloworld/hello.fsx
#r "node_modules/fable-core/Fable.Core.dll" #load "node_modules/fable-import-virtualdom/Fable.Helpers.Virtualdom.fs" open Fable.Core open Fable.Core.JsInterop open Fable.Helpers.Virtualdom open Fable.Helpers.Virtualdom.App open Fable.Helpers.Virtualdom.Html // Model type Model = string type TodoAction = | Chang...
#r "node_modules/fable-core/Fable.Core.dll" #load "node_modules/fable-import-virtualdom/Fable.Helpers.Virtualdom.fs" open Fable.Core open Fable.Core.JsInterop open Fable.Helpers.Virtualdom open Fable.Helpers.Virtualdom.App open Fable.Helpers.Virtualdom.Html // Model type Model = string type Actions = | ChangeIn...
Make Actions type name more generic
Make Actions type name more generic
F#
apache-2.0
fable-compiler/fable-arch,fable-compiler/fable-arch,Zaid-Ajaj/fable-arch,Zaid-Ajaj/fable-arch
5316b33917c9315744d418f864c1f422cca9713e
src/Fantomas.Tests/TestHelpers.fs
src/Fantomas.Tests/TestHelpers.fs
module Fantomas.Tests.TestHelper open NUnit.Framework open FsUnit open System open Fantomas.FormatConfig open Fantomas.CodeFormatter let config = FormatConfig.Default let newline = "\n" let formatSourceString isFsiFile s config = (formatSourceString isFsiFile s config).Replace("\r\n", "\n") let formatSelectionFromS...
module Fantomas.Tests.TestHelper open NUnit.Framework open FsUnit open System open Fantomas.FormatConfig open Fantomas.CodeFormatter let config = FormatConfig.Default let newline = "\n" let formatSourceString isFsiFile (s : string) config = // On Linux/Mac this will exercise different line endings let s =...
Update test helpers to exercise Linux/Mac line endings
Update test helpers to exercise Linux/Mac line endings
F#
apache-2.0
OkayX6/fantomas
4fb2be13da96858a260e9f39fb4898c0e6551aeb
tests/SwaggerProvider.ProviderTests/APIs.Guru.FSC.Tests.fs
tests/SwaggerProvider.ProviderTests/APIs.Guru.FSC.Tests.fs
module APIsGuruFSC open Microsoft.FSharp.Compiler.SimpleSourceCodeServices open System.IO open NUnit.Framework open FsUnitTyped let referencedAssemblies = let rootDir = __SOURCE_DIRECTORY__ + "/../../bin/SwaggerProvider/" ["SwaggerProvider.dll"; "SwaggerProvider.Runtime.dll"] |> List.map (fun x-> ...
module APIsGuruFSC open Microsoft.FSharp.Compiler.SimpleSourceCodeServices open System.IO open NUnit.Framework open FsUnitTyped let referencedAssemblies = let rootDir = __SOURCE_DIRECTORY__ + "/../../bin/SwaggerProvider/" ["SwaggerProvider.Runtime.dll" "SwaggerProvider.DesignTime.dll" "SwaggerProv...
Delete temp files and output redirected to stderror
Delete temp files and output redirected to stderror
F#
unlicense
sergey-tihon/SwaggerProvider,fsprojects/SwaggerProvider
9b32d1c914774315e837bd4553aac2ef289f9088
src/ConstantPropagation/ConstantPropagation.fs
src/ConstantPropagation/ConstantPropagation.fs
namespace YC.ReSharper.AbstractAnalysis.LanguageApproximation.ConstantPropagation open YC.ReSharper.AbstractAnalysis.LanguageApproximation.ApproximateCsharp open JetBrains.ReSharper.Psi.CSharp open JetBrains.ReSharper.Psi.CSharp.Tree open JetBrains.ReSharper.Psi.Tree open JetBrains.ReSharper.Psi open JetBr...
namespace YC.ReSharper.AbstractAnalysis.LanguageApproximation.ConstantPropagation open YC.ReSharper.AbstractAnalysis.LanguageApproximation.ApproximateCsharp open JetBrains.ReSharper.Psi.CSharp open JetBrains.ReSharper.Psi.CSharp.Tree open JetBrains.ReSharper.Psi.Tree open JetBrains.ReSharper.Psi open JetBr...
Add generic type to Approximator
Add generic type to Approximator
F#
apache-2.0
fedorovr/YaccConstructor,Albiglittle/YaccConstructor,Albiglittle/YaccConstructor,fedorovr/YaccConstructor,fedorovr/YaccConstructor,nbIxMaN/YaccConstructor,YaccConstructor/YaccConstructor,YaccConstructor/YaccConstructor,YaccConstructor/YaccConstructor,nbIxMaN/YaccConstructor,nbIxMaN/YaccConstructor,Albiglittle/YaccConst...
5054169300fbe152bc2d1fdab6fd547f34bd89c2
sys/pipe.fs
sys/pipe.fs
expose-module private libc popen ptr ptr (ptr) popen libc pclose ptr (int) pclose create wfamtab char r c, 0 c, char r c, 0 c, char w c, 0 c, char w c, 0 c, char w c, 0 c, char w c, 0 c, : wfam>str 2* wfamtab + ; : open-pipe ( c-addr u wfam -- wfileid wior ) >r 0term r> wfam>str popen dup 0= -32 and ; : close-pipe...
expose-module private libc popen ptr ptr (ptr) popen libc pclose ptr (int) pclose create wfamtab char r c, 0 c, char r c, 0 c, char w c, 0 c, char w c, 0 c, char w c, 0 c, char w c, 0 c, : wfam>str 2* wfamtab + ; : open-pipe ( c-addr u wfam -- wfileid wior ) >r 0term r> wfam>str popen dup 0= -32 and ; : close-pipe...
Raise exception if READ-FILE returns error
Raise exception if READ-FILE returns error
F#
bsd-3-clause
jacereda/fina-forth,jacereda/fina-forth,letoh/fina-forth,jacereda/fina-forth,letoh/fina-forth,letoh/fina-forth,letoh/fina-forth,jacereda/fina-forth,letoh/fina-forth,jacereda/fina-forth
8f638b1970bb8bd850048a109eacf33f323435e6
tests/FSharp.Data.Tests/Conversions.fs
tests/FSharp.Data.Tests/Conversions.fs
module FSharp.Data.Tests.Conversions #if INTERACTIVE #r "../../bin/FSharp.Data.dll" #r "../../packages/NUnit.2.6.2/lib/nunit.framework.dll" #load "../Common/FsUnit.fs" #endif open NUnit.Framework open FsUnit open System.Globalization open FSharp.Data.RuntimeImplementation [<Test>] let ``Boolean conversions``() = ...
module FSharp.Data.Tests.Conversions #if INTERACTIVE #r "../../bin/FSharp.Data.dll" #r "../../packages/NUnit.2.6.2/lib/nunit.framework.dll" #load "../Common/FsUnit.fs" #endif open NUnit.Framework open FsUnit open System.Globalization open FSharp.Data.RuntimeImplementation [<Test>] let ``Boolean conversions``() = ...
Allow currency symbols on decimals - Test
Allow currency symbols on decimals - Test
F#
apache-2.0
ImaginaryDevelopment/FSharp.Data,scrwtp/FSharp.Data,olgierdd/FSharp.Data,tpetricek/FSharp.Data,johansson/FSharp.Data,taylorwood/FSharp.Data,scrwtp/FSharp.Data,johansson/FSharp.Data,AtwooTM/FSharp.Data,taylorwood/FSharp.Data,NaseUkolyCZ/ApiaryProvider,scrwtp/FSharp.Data,ImaginaryDevelopment/FSharp.Data,ImaginaryDevelopm...
2dd8ee417b5a64b51e186738f7f15b44746f46ff
src/Muffin.Pictures.Archiver/FileMover.fs
src/Muffin.Pictures.Archiver/FileMover.fs
namespace Muffin.Pictures.Archiver open System.IO open Domain open Paths open Moves module FileMover = let private createDirectory destination = let fileInfo = FileInfo destination if not (fileInfo.Directory.Exists) then Directory.CreateDirectory(fileInfo.Directory.FullName) |> ignor...
namespace Muffin.Pictures.Archiver open System.IO open Domain open Paths open Moves module FileMover = let private ensureDirectoryExists destination = let fileInfo = FileInfo destination if not (fileInfo.Directory.Exists) then Directory.CreateDirectory(fileInfo.Directory.FullName) |>...
Rename createDirectory to better convey purpose
Rename createDirectory to better convey purpose
F#
unlicense
koenmetsu/Muffin.Pictures.Archiver,koenmetsu/Muffin.Pictures.Archiver
dc0193866efcd828b1c89c30fe9c1bd1c4b749c1
NBlast.Storage.Core/Index/LogField.fs
NBlast.Storage.Core/Index/LogField.fs
namespace NBlast.Storage.Core.Index type LogField = | Id | Sender | Content | Error | Message | Logger | Level | CreatedAt with member me.GetName() = match me with | Id -> "id" | Sender -> "sender" | Error -> ...
namespace NBlast.Storage.Core.Index type LogField = | Id | Sender | Content | Error | Message | Logger | Level | CreatedAt with member me.GetName() = match me with | Id -> "id" | Sender -> "sender" | Error -> ...
Improve log field from string convertion
[Storage] Improve log field from string convertion
F#
apache-2.0
vba/NBlast,vba/NBlast,vba/NBlast,vba/NBlast
940920ef1e9ada778ba34b6e110635e04e1e3995
FSharp.AutoComplete/Options.fs
FSharp.AutoComplete/Options.fs
// -------------------------------------------------------------------------------------- // (c) Robin Neatherway // -------------------------------------------------------------------------------------- namespace FSharp.InteractiveAutocomplete open System module Version = let string = "FSharp.AutoComplete 0.13.2" ...
// -------------------------------------------------------------------------------------- // (c) Robin Neatherway // -------------------------------------------------------------------------------------- namespace FSharp.InteractiveAutocomplete open System module Version = let string = "FSharp.AutoComplete 0.13.3" ...
Bump version numbers for emacs 1.5.0
Bump version numbers for emacs 1.5.0
F#
apache-2.0
cloudRoutine/FsAutoComplete,kjnilsson/FSharp.AutoComplete,cloudRoutine/FsAutoComplete,rneatherway/FsAutoComplete,vasily-kirichenko/FsAutoComplete
96684a6f7032cfa4cd07b7fa1b1433cfad7a6751
XSVim.Tests/DeleteTests.fs
XSVim.Tests/DeleteTests.fs
namespace XSVim.Tests open NUnit.Framework [<TestFixture>] module ``Delete tests`` = [<Test>] let ``dd test``() = //TODO - caret finishes in wrong position let source = @"aaaaaa bb$bbbb cccccc dddddd eeeeee"; let expe...
namespace XSVim.Tests open NUnit.Framework [<TestFixture>] module ``Delete tests`` = [<Test>] let ``dd test``() = //TODO - caret finishes in wrong position let source = @"aaaaaa bb$bbbb cccccc dddddd eeeeee"; let expe...
Add test to ensure X doesn't delete past line start
Add test to ensure X doesn't delete past line start
F#
mit
nosami/XSVim
0f626d539cb390c935707e5abaf237061a2797fa
Tests/FullExample.fsx
Tests/FullExample.fsx
 #r "bin/Debug/OAuth2Client.dll";; let storage = OAuth2Client.Storage.JsonFiles() let flow = OAuth2Client.Flow(storage) let secrets, credentials = Async.RunSynchronously <| flow.Start("query-api-1.0") printfn "%A\n%A" secrets credentials
 #r "bin/Debug/OAuth2Client.dll";; #r "System.Net.Http";; open System.Net.Http let uri = new System.Uri("http://localhost/VersionOne.Web/rest-1.oauth.v1/Data/Member") let scope = "apiv1" let work = async { let storage = OAuth2Client.Storage.JsonFiles() let flow = OAuth2Client.Flow(storage) let! secrets, cr...
Make example do an actual query
Make example do an actual query
F#
bsd-3-clause
versionone/OAuth2Client.Net,versionone/OAuth2Client.Net
33c4b2762f374ab321273128e1680d8891350ae4
src/fsharp/FSharp.Core.Unittests/FSharp.Core/Microsoft.FSharp.Collections/ArrayProperties.fs
src/fsharp/FSharp.Core.Unittests/FSharp.Core/Microsoft.FSharp.Collections/ArrayProperties.fs
// 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. module FSharp.Core.Unittests.FSharp_Core.Microsoft_FSharp_Collections.ArrayProperties open System open System.Collections.Generic open NUnit.Fra...
// 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. module FSharp.Core.Unittests.FSharp_Core.Microsoft_FSharp_Collections.ArrayProperties open System open System.Collections.Generic open NUnit.Fra...
Create property test for Array.blit
Create property test for Array.blit
F#
mit
BillHally/FSharp.Compiler.Service,fsharp/fsharp,cloudRoutine/FSharp.Compiler.Service,sergey-tihon/FSharp.Compiler.Service,dsyme/fsharp,brettfo/visualfsharp,vasily-kirichenko/FSharp.Compiler.Service,brettfo/visualfsharp,fsharp/fsharp,dsyme/FSharp.Compiler.Service,ncave/FSharp.Compiler.Service,rojepp/FSharp.Compiler.Serv...
b6a0e040dd6a20ef849e4246ee8488fea939eb05
NuGet/Content/XPlot.GoogleCharts.fsx
NuGet/Content/XPlot.GoogleCharts.fsx
#r """..\packages\Google.DataTable.Net.Wrapper.3.1.0.0\lib\Google.DataTable.Net.Wrapper.dll""" #r """..\packages\Newtonsoft.Json.6.0.5\lib\net45\Newtonsoft.Json.dll""" #r """..\packages\XPlot.GoogleCharts.1.0.0\Lib\Net45\XPlot.GoogleCharts.dll""" open XPlot.GoogleCharts // warm up data and options serialization [1, 1...
#I __SOURCE_DIRECTORY__ #r """..\..\..\packages\Google.DataTable.Net.Wrapper.3.1.0.0\lib\Google.DataTable.Net.Wrapper.dll""" #r """..\..\..\packages\Newtonsoft.Json.6.0.5\lib\net45\Newtonsoft.Json.dll""" #r """..\..\..\packages\XPlot.GoogleCharts.1.0.0\Lib\Net45\XPlot.GoogleCharts.dll""" open XPlot.GoogleCharts // wa...
Adjust loader script based on what's needed for nuget package
Adjust loader script based on what's needed for nuget package
F#
apache-2.0
tpetricek/XPlot,stewart-r/XPlot,fslaborg/XPlot,fslaborg/XPlot,fslaborg/XPlot,tpetricek/XPlot,stewart-r/XPlot,TahaHachana/XPlot,TahaHachana/XPlot
7d6eb3e5018355df035ec6dbd4d0d260f8b4eb8c
fcs/docsrc/loaders/pageloader.fsx
fcs/docsrc/loaders/pageloader.fsx
#r "../_lib/Fornax.Core.dll" type Shortcut = { title: string link: string icon: string } let loader (projectRoot: string) (siteContet: SiteContents) = siteContet.Add({title = "Home"; link = "/"; icon = "fas fa-home"}) siteContet.Add({title = "GitHub repo"; link = "TODO: ADD_LINK"; icon = "fab fa-...
#r "../_lib/Fornax.Core.dll" type Shortcut = { title: string link: string icon: string } let loader (projectRoot: string) (siteContet: SiteContents) = siteContet.Add({title = "Home"; link = "/"; icon = "fas fa-home"}) siteContet.Add({title = "F# Software Foundation"; link = "https://fsharp.org"; ...
Add more links to the shortcuts
Add more links to the shortcuts
F#
apache-2.0
cloudRoutine/FSharp.Compiler.Service,cloudRoutine/FSharp.Compiler.Service,cloudRoutine/FSharp.Compiler.Service
ade77168b44a277b9da521190c55db5182fc2e65
src/example/Slumber.Example/App.fs
src/example/Slumber.Example/App.fs
namespace Slumber.Example open System open System.Web open System.IO open log4net open log4net.Config open Slumber.Logging type App () = inherit HttpApplication () let [<Literal>] LogName = "Slumber.log" static let mutable _initialised = false member this.Application_BeginRequest (_ : obj, _ : Ev...
namespace Slumber.Example open System open System.Web open System.IO open log4net open log4net.Config open Slumber.Logging type App () = inherit HttpApplication () let [<Literal>] LogName = "Slumber.log" static let mutable _initialised = false member this.Application_Start (_ : obj, _ : EventArgs...
Change global application for example to start to initial on app start rather than begin request.
Change global application for example to start to initial on app start rather than begin request.
F#
mit
wattsm/slumber
660eb7c93cb662fd7c95bdf4d9a8e7c052cd4613
CompilerService/Program.fs
CompilerService/Program.fs
open System open Nessos.UnionArgParser open Microsoft.FSharp.Compiler.SourceCodeServices open Microsoft.FSharp.Reflection open Nessos.FsPickler type Arguments = | Project of string with interface IArgParserTemplate with member s.Usage = match s with | Project _ -> "specify a F# project f...
open System open Nessos.UnionArgParser open Microsoft.FSharp.Compiler.SourceCodeServices open Microsoft.FSharp.Reflection open Nessos.FsPickler type Arguments = | Project of string with interface IArgParserTemplate with member s.Usage = match s with | Project _ -> "specify a F# project f...
Clean up project options generator
Clean up project options generator
F#
apache-2.0
fsharp/xamarin-monodevelop-fsharp-addin,fsharp/xamarin-monodevelop-fsharp-addin,nosami/xamarin-monodevelop-fsharp-addin,nosami/xamarin-monodevelop-fsharp-addin
1730819968937f5367528f39b3d5d1d5cd8dba8f
src/Farkle.Tools.Shared/Common.fs
src/Farkle.Tools.Shared/Common.fs
// Copyright (c) 2019 Theodore Tsirpanis // // This software is released under the MIT License. // https://opensource.org/licenses/MIT [<AutoOpen>] module Farkle.Tools.Common open Scriban open Scriban.Parsing open Serilog open System.IO open System.Reflection /// The version of the currently executing assembly. let ...
// Copyright (c) 2019 Theodore Tsirpanis // // This software is released under the MIT License. // https://opensource.org/licenses/MIT [<AutoOpen>] module Farkle.Tools.Common open Scriban open Scriban.Parsing open Serilog open System open System.IO open System.Reflection /// The version of the currently executing as...
Simplify the CLI tool's version retrieval.
Simplify the CLI tool's version retrieval.
F#
mit
teo-tsirpanis/Farkle
d7cf9e98758264dd0b5fe71a6e2b3f03853bfa00
src/ConstantPropagation/ApproximationBuilderJs.fs
src/ConstantPropagation/ApproximationBuilderJs.fs
module YC.ReSharper.AbstractAnalysis.LanguageApproximation.ApproximationBuilderJs open JetBrains.ReSharper.Psi.JavaScript.ControlFlow open Utils open System.IO let BuildApproximation (cfg: IJsControlFlowGraf) = let outFile = Path.Combine (myDebugFolderPath, "JsCfg_" + cfg.GetHashCode().ToString() + "....
module YC.ReSharper.AbstractAnalysis.LanguageApproximation.ApproximationBuilderJs open JetBrains.ReSharper.Psi.JavaScript.ControlFlow open Utils open System.IO let serializeJsCfg (cfg: IJsControlFlowGraf) = let name = "JsCfg_" + cfg.GetHashCode().ToString() + ".dot" let outFile = Path.Combine (m...
Debug serialization extracted to separate method
Debug serialization extracted to separate method
F#
apache-2.0
YaccConstructor/YaccConstructor,YaccConstructor/YaccConstructor,nbIxMaN/YaccConstructor,fedorovr/YaccConstructor,nbIxMaN/YaccConstructor,Albiglittle/YaccConstructor,nbIxMaN/YaccConstructor,fedorovr/YaccConstructor,YaccConstructor/YaccConstructor,Albiglittle/YaccConstructor,fedorovr/YaccConstructor,Albiglittle/YaccConst...
5be9cd4752376b2980162f65cd7f9a3effbc0f5c
src/Pfarah/PeekingStream.fs
src/Pfarah/PeekingStream.fs
namespace Pfarah open System.IO /// A PeekingStream is a simpler wrapper around a Stream object that allows /// for efficient peeking. The peeking mechanism is somewhat similar to a /// StreamReader, except that a PeekingStream keeps the next byte cached so /// that repeating calls to Peek only result in simple retu...
namespace Pfarah open System.IO /// A PeekingStream is a simpler wrapper around a Stream object that allows /// for efficient peeking. The peeking mechanism is somewhat similar to a /// StreamReader, except that a PeekingStream keeps the next byte cached so /// that repeating calls to Peek only result in simple retu...
Improve reading data from stream by more than 10%
Improve reading data from stream by more than 10% By eliminating underlying conditional tests
F#
mit
nickbabcock/Pfarah,nickbabcock/Pfarah
2848336ec016bb5a586f156d8b4eec8b7c57c693
slof/fs/archsupport.fs
slof/fs/archsupport.fs
\ ***************************************************************************** \ * Copyright (c) 2011 IBM Corporation \ * All rights reserved. \ * This program and the accompanying materials \ * are made available under the terms of the BSD License \ * which accompanies this distribution, and is available at \ * http:...
\ ***************************************************************************** \ * Copyright (c) 2011 IBM Corporation \ * All rights reserved. \ * This program and the accompanying materials \ * are made available under the terms of the BSD License \ * which accompanies this distribution, and is available at \ * http:...
Increase FDT buffer size to accomodate larger ibm,cas node properties
cas: Increase FDT buffer size to accomodate larger ibm,cas node properties When QEMU starts with a higher value of maxmem, ibm,dynamic-memory property under ibm,client-architecture-support device tree node can consume a large FDT buffer space. Accommodate this by increasing the FDT buffer size passed from SLOF to QEM...
F#
bsd-3-clause
open-power-host-os/slof,open-power-host-os/slof,open-power-host-os/slof,open-power-host-os/slof
657f7e43df5f1c7b5c1103dd29ed424d08d7f878
src/app/FakeLib/BuildServerHelper.fs
src/app/FakeLib/BuildServerHelper.fs
[<AutoOpen>] module Fake.BuildServerHelper /// The BuildServer type. type BuildServer = | TeamCity | CCNet | LocalBuild /// The trace Mode type. type TraceMode = | Console | Xml /// Trace verbose output let mutable verbose = hasBuildParam "verbose" /// A constant for local builds let localBuildL...
[<AutoOpen>] module Fake.BuildServerHelper /// The BuildServer type. type BuildServer = | TeamCity | CCNet | LocalBuild /// The trace Mode type. type TraceMode = | Console | Xml /// Trace verbose output let mutable verbose = hasBuildParam "verbose" /// A constant for local builds let localBuildL...
Allow to specify a buildVersion in the build params.
Allow to specify a buildVersion in the build params.
F#
apache-2.0
RMCKirby/FAKE,haithemaraissia/FAKE,MichalDepta/FAKE,leflings/FAKE,featuresnap/FAKE,rflechner/FAKE,naveensrinivasan/FAKE,naveensrinivasan/FAKE,brianary/FAKE,mglodack/FAKE,gareth-evans/FAKE,JonCanning/FAKE,gareth-evans/FAKE,hitesh97/FAKE,philipcpresley/FAKE,pacificIT/FAKE,beeker/FAKE,rflechner/FAKE,molinch/FAKE,MichalDep...
15dbc0546faea9a4e90716d310555af6d7c836f7
Nu/Nu/WorldState.fs
Nu/Nu/WorldState.fs
// Nu Game Engine. // Copyright (C) Bryan Edds, 2013-2018. namespace Nu open Nu [<AutoOpen>] module StateOperators = let peek f = fun (world : World) -> (f world, world) let poke f = fun (world : World) -> ((), f world) : unit * World let exec state world = FSharpx.State.exec world state let eval st...
// Nu Game Engine. // Copyright (C) Bryan Edds, 2013-2018. namespace Nu open Nu module State = let peek f = fun (world : World) -> (f world, world) let poke f = fun (world : World) -> ((), f world) : unit * World let exec state world = FSharpx.State.exec world state let eval state world = FSharpx.Sta...
Put State API behind Nu.State.
Put State API behind Nu.State.
F#
mit
bryanedds/Nu,bryanedds/Nu,bryanedds/NuGameEngine
5ca71a3fd8a8f8b9bf1d7d323d3238ef70d46cc5
docs/src/Fulma/Elements/Image/View.fs
docs/src/Fulma/Elements/Image/View.fs
module Elements.Image.View open Fable.Core open Fable.Core.JsInterop open Fable.Helpers.React open Fable.Helpers.React.Props open Types open Fulma.Elements let fixedInteractive = div [ ClassName "block" ] [ Image.image [ Image.is64x64 ] [ img [ Src "https://dummyimage.com/64x64/7a7a7a/fff" ] ]...
module Elements.Image.View open Fable.Core open Fable.Core.JsInterop open Fable.Helpers.React open Fable.Helpers.React.Props open Types open Fulma.Elements let fixedInteractive = div [ ClassName "block" ] [ Image.image [ Image.is64x64 ] [ img [ Src "https://dummyimage.com/64x64/7a7a7a/fff" ] ]...
Fix docs for Image element
Fix docs for Image element
F#
apache-2.0
MangelMaxime/Fulma,MangelMaxime/Fulma,MangelMaxime/Fulma
c5f6e5a48200bf33ae78dd4f079ffb9b97f607ca
data/shaders/main.fs
data/shaders/main.fs
#version 330 out vec4 outputColor; void main { outputColor = vec4(0.0, 0.0, 0.0, 1.0) }
#version 330 out vec4 outputColor; void main { outputColor = vec4(0.0, 0.0, 0.0, 1.0); }
Fix issue in fragment shader
Fix issue in fragment shader
F#
bsd-2-clause
explosiveduck/ed2d,explosiveduck/ed2d
e235fa136bfe39e321b5d877ff6285eeebac50fe
data/shaders/main.fs
data/shaders/main.fs
#version 330 out vec4 outputColor; void main { outputColor = vec4(0.0, 0.0, 0.0, 1.0); }
#version 330 out vec4 outputColor; void main() { outputColor = vec4(0.0, 0.0, 0.0, 1.0); }
Fix the all illusive shader error :|
Fix the all illusive shader error :|
F#
bsd-2-clause
explosiveduck/ed2d,explosiveduck/ed2d
5b5cb39667000cc40b0f04009273ca6d86a238a8
src/Delegate.Daxif/DG.EnsureAssemblies.fsx
src/Delegate.Daxif/DG.EnsureAssemblies.fsx
(** Ensure Assemblies ================= Due to NuGets limitations when a VS project is restored, the "install.ps1" is not executed and for this reason for this script, that will copy all the *.dll contained in the VS project "packages" folder to the folder containing the DAXIF# scripts Open .NET libraries for use ...
(** Ensure Assemblies ================= Due to NuGets limitations when a VS project is restored, the "install.ps1" is not executed and for this reason for this script, that will copy all the *.dll contained in the VS project "packages" folder to the folder containing the DAXIF# scripts Open .NET libraries for use ...
Update Ensure Assemblies to also work with standalone
Update Ensure Assemblies to also work with standalone
F#
mit
delegateas/Delegate.Daxif,delegateas/Delegate.Daxif,delegateas/Delegate.Daxif
17dff329cc68f416fd1733c9d69611b2e33a82fb
src/Muffin.Pictures.Archiver/Runner.fs
src/Muffin.Pictures.Archiver/Runner.fs
namespace Muffin.Pictures.Archiver open Muffin.Pictures.Archiver.Rop open Muffin.Pictures.Archiver.Domain open Muffin.Pictures.Archiver.ConsoleReporter open Muffin.Pictures.Archiver.Report open Muffin.Pictures.Archiver.MailReporter module Runner = let moveRequests getMoveRequests arguments = getMoveRequ...
namespace Muffin.Pictures.Archiver open Muffin.Pictures.Archiver.Rop open Muffin.Pictures.Archiver.Domain open Muffin.Pictures.Archiver.ConsoleReporter open Muffin.Pictures.Archiver.Report open Muffin.Pictures.Archiver.MailReporter module Runner = let move moveWithFs compareFiles cleanUp = moveWithFs ...
Remove obsolete piece of code
Remove obsolete piece of code
F#
unlicense
koenmetsu/Muffin.Pictures.Archiver,koenmetsu/Muffin.Pictures.Archiver
785855eb79f277b8b25cfbc92317eb27eb26755d
src/BioFSharp.ML/CNTKLoadScript.fsx
src/BioFSharp.ML/CNTKLoadScript.fsx
open System open System.IO let dependencies = [ @"../../packages/CNTK.CPUOnly/lib/netstandard2.0" @"../../packages/CNTK.CPUOnly/support/x64/Release" @"../../packages/CNTK.CPUOnly/support/x64/Release" @"../../packages/CNTK.Deps.MKL/support/x64/Dependency" @"../../packages...
open System open System.IO let dependencies = [ @"../../packages/CNTK.CPUOnly/lib/netstandard2.0" @"../../packages/CNTK.CPUOnly/support/x64/Release" @"../../packages/CNTK.CPUOnly/support/x64/Release" @"../../packages/CNTK.Deps.MKL/support/x64/Dependency" @"../../packages...
Update CNTK load script to CNTK 2.7
Update CNTK load script to CNTK 2.7
F#
mit
CSBiology/BioFSharp,bvenn/BioFSharp,CSBiology/BioFSharp,muehlhaus/BioFSharp,bvenn/BioFSharp,bvenn/BioFSharp
366e22cce505d462bb900a88b8023ab25e9dc205
src/Client/Utils.fs
src/Client/Utils.fs
module Client.Utils open Fable.Import let load<'T> key = Browser.localStorage.getItem(key) |> unbox |> Option.map (JS.JSON.parse >> unbox<'T>) let save key (data: 'T) = Browser.localStorage.setItem(key, JS.JSON.stringify data) let delete key = Browser.localStorage.removeItem(key)
module Client.Utils open Fable.Import open Fable.Core.JsInterop let inline load<'T> key = Browser.localStorage.getItem(key) |> unbox |> Option.map ofJson<'T> let inline delete key = Browser.localStorage.removeItem(key) let inline save<'T> key (data: 'T) = delete key Browser.localStorage.setItem(...
Use Fable serializer to handle DUs
Use Fable serializer to handle DUs
F#
unlicense
et1975/fable-suave-scaffold,fable-compiler/fable-suave-scaffold,SAFE-Stack/SAFE-BookStore,fable-compiler/fable-suave-scaffold,et1975/fable-suave-scaffold,SAFE-Stack/SAFE-BookStore,et1975/fable-suave-scaffold,fable-compiler/fable-suave-scaffold
a485a85f60dee965bb46f72fb3d0d460645e5d2e
build.fsx
build.fsx
#load "tools/includes.fsx" open IntelliFactory.Build let bt = BuildTool().PackageId("IntelliFactory.WebSharper.Bing.Maps", "2.5") .References(fun r -> [r.Assembly "System.Web"]) let main = bt.WebSharper.Extension("IntelliFactory.WebSharper.Bing.Maps") .SourcesFromProject() let rest...
#load "tools/includes.fsx" open IntelliFactory.Build let bt = BuildTool().PackageId("WebSharper.Bing.Maps", "2.5") .References(fun r -> [r.Assembly "System.Web"]) let main = bt.WebSharper.Extension("IntelliFactory.WebSharper.Bing.Maps") .SourcesFromProject() let rest = bt.WebS...
Remove IntelliFactory prefix from package name.
Remove IntelliFactory prefix from package name.
F#
apache-2.0
intellifactory/websharper.bing.maps
d1db317c00dae055efe4bd83aca28c72ef2e30a4
Web/src/Client/pages/Logout.fs
Web/src/Client/pages/Logout.fs
module Client.Logout open Messages open Elmish open Fable.Import.Browser type Model = | LoggedOut | None let init model = let command model = match model with | LoggedOut -> Cmd.ofFunc Utils.delete "teamcaptain.user" (fun _ -> AppMsg.LogoutComplete) AppMsg.StorageFailure ...
module Client.Logout open Messages open Elmish open Fable.Import.Browser type Model = | LoggedOut | None let init model = let command model = match model with | LoggedOut -> Cmd.ofFunc Utils.delete "teamcaptain.user" (fun _ -> AppMsg.LogoutComplete) AppMsg.StorageFailure ...
Use origin for return url after logout
Use origin for return url after logout
F#
apache-2.0
ChrisDobby/TeamCaptain,ChrisDobby/TeamCaptain,ChrisDobby/TeamCaptain