This file contains hidden or 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
// An F# script that makes a list of all Pokemon and their Pokedex ID, sorted by name. | |
// Created by Theodore Tsirpanis | |
// Placed into the public domain, and licensed under CC0. | |
#r "System.Xml.Linq" | |
#r "packages/FSharp.Data/lib/net40/FSharp.Data.dll" | |
open FSharp.Data | |
open System.IO | |
[<Literal>] |
This file contains hidden or 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
##.truste_overlay | |
##.overlay-container | |
##.truste_box_overlay | |
##._ovg3g |
This file contains hidden or 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
// Η εικασία του Collatz στην F#, με επεξηγήσεις. | |
// Θοδωρής Τσιρπάνης, 3/10/2017. Άδεια χρήσης: CC0 | |
// Αυτό το πρόγραμμα έπαληθεύει την εικασία του Collatz. https://en.wikipedia.org/wiki/Collatz_conjecture | |
// Είναι γραμμένο στην F# και έχει εκτεταμένους σχολιασμούς με σκοπό την εισαγωγή στις δυνατότητες της γλώσσας. | |
// Μία βασική εξοικείωση με τον προγραμματισμό και με τα μαθηματικά απαιτείται για την πλήρη κατανόηση του προγράμματος. | |
// Στο System βρίσκονται οι πιο βασικές μέθοδοι του συστήματος. | |
// Αν και εδώ χρησιμοποιούμε μόνο το Console.ReadLine και το UInt64.TryParse. | |
// Η πρότυπη βιβλιοθήκη της F# είναι στο namespace "Microsoft.FSharp" το οποίο ανοίγει αυτόματα. |
This file contains hidden or 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
module Fantomas.AstRcd | |
open System | |
open Microsoft.FSharp.Compiler.Ast | |
open Microsoft.FSharp.Compiler.Range | |
type ParsedImplFileInputRcd = { | |
File: string | |
IsScript: bool | |
QualName: QualifiedNameOfFile |
This file contains hidden or 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
// Written by Theodore Tsirpanis. | |
// Licensed under the CC0 license. | |
// SPDX-License-Identifier: CC0-1.0 | |
using System.Buffers; | |
#nullable enable | |
/// <summary> | |
/// Manages temporary buffers with low GC pressure. |