This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In1 | In2 | Out | |
---|---|---|---|
15.3 | 0 | 1 | |
15 | 0 | 1 | |
3.2 | 1 | 1 | |
7.5 | 0 | 0 | |
10.2 | 0 | 1 | |
10.9 | 0 | 1 | |
14.5 | 0 | 0 | |
5.7 | 0 | 0 | |
5 | 0 | 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let infra () = | |
... | |
let openApiSpec (name, arn) = | |
let quotedTitle = "\"" + name + "api\"" | |
let quotedUri = sprintf "\"arn:aws:apigateway:%s:lambda:path/2015-03-31/functions/%s/invocations\"" Pulumi.Aws.Config.Region arn | |
"""{ | |
"openapi": "3.0.1", | |
"info": { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// How to deal with nested dependencies? | |
// Background : https://bartoszsypytkowski.com/dealing-with-complex-dependency-injection-in-f/ | |
open System | |
// Services | |
type ILogger = | |
abstract LogMessage : string -> unit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace Benchmarks | |
open BenchmarkDotNet.Attributes | |
type SingleCaseDU = | One of int[] | |
type TwoCaseDU = | Empty | Full of int[] | |
type Record = { Values : int[] } | |
type [<Struct>] StructRecord = { Values : int[] } | |
module Custom = |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#r "nuget:FsPickler" | |
open System.IO | |
open System.Collections.Immutable | |
open MBrace.FsPickler | |
let mkPickler<'t> (resolver : IPicklerResolver) = | |
let seqPickler = resolver.Resolve<'t seq> () | |
let writer (w : WriteState) (ns : ImmutableList<'t>) = |