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
[1 .. N] | |
|> List.map (fun _ -> Console.In.ReadLine()) | |
|> List.map (fun line -> line.Split ';') | |
|> List.map (fun splittedLine -> | |
match splittedLine with | |
| [|_; name; _; _; longitude; latitude|] -> name, parse longitude, parse latitude | |
| _ -> failwith "wrong number of columns") | |
|> List.minBy (fun (_, longitude, latitude) -> distance (longitude, latitude) (parse LON, parse LAT)) | |
|> fun (name, _, _) -> printfn "%s" name |
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
open Newtonsoft.Json | |
type FightSummary = | |
{ | |
event: string | |
winner: string option | |
loser: string option | |
} | |
type FighterOverallStatsInASpecificFight = |
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
digraph project_dependency_graph { | |
rankdir=RL | |
"0: (fc=4, loc=547)" -> "2: (fc=2, loc=107)" | |
"0: (fc=4, loc=547)" -> "3: (fc=5, loc=574)" | |
"0: (fc=4, loc=547)" -> "15: (fc=37, loc=7668)" | |
"0: (fc=4, loc=547)" -> "19: (fc=1, loc=41)" | |
"0: (fc=4, loc=547)" -> "20: (fc=3, loc=470)" | |
"0: (fc=4, loc=547)" -> "21: (fc=10, loc=93696)" | |
"0: (fc=4, loc=547)" -> "26: (fc=2, loc=30)" | |
"0: (fc=4, loc=547)" -> "28: (fc=2, loc=393)" |
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 @"FakeLib.dll" | |
open Fake | |
open AssemblyInfoFile | |
open Fake.Git | |
open System | |
open System.Globalization | |
open System.IO | |
open System.Text |