Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Recent Trends in F#

Recent Trends in F#

Presentation slide for the 6th Fun Fan F#

midoliy

July 30, 2022
Tweet

More Decks by midoliy

Other Decks in Programming

Transcript

  1. midoliy • ྘઒ ୡ໵ / MIDORIKAWA Tatsuya • ౦ژ౎ࡏॅ •

    https://twitter.com/_midoliy_ • https://github.com/tatsuya-midorikawa
  2. RFC FS-1124 Interfaces with static abstract members (IWSAMs) ᶃ .NET

    7 (C# 11) Ͱ௥Ճ͞ΕΔ IWSAMs ʹ߹Θͤͯ, F# ʹ΋ಉػೳ͕௥Ճ͞Ε Δ͜ͱʹ. • ͦ΋ͦ΋ C# 2.0 ࣌఺Ͱ, ෳࡶ͕͞΋ͨΒ͢ѱӨڹͷํ͕େ͖͍ͱ͍͏ཧ༝ Ͱ, ҙਤతʹ Reject ͞Εͨػೳ. ᶄ ओʹ C# ޲͚ͷػೳͳͷͰ, F# Ͱ͸ SRTP ͳͲͰճආͰ͖ΔͳΒ, SRTP Λ࠾ ༻ͨ͠ํ͕ྑ͍ (৔߹͕ଟ͍) .
  3. RFC FS-1125 Add print and println functions to FSharp.Core System.Console.Write

    / .WriteLine ͷ alias ͕௥Ճ͞ΕΔ͜ͱʹ. IUUQTHJUIVCDPNGTIBSQGTMBOHEFTJHOCMPCNBJO3'$T'4QSJOUQSJOUMOGVODUJPOTNE
  4. RFC FS-1125 Add print and println functions to FSharp.Core ✦

    Motivation • F# ೖ໳ऀ͸, ίϯιʔϧʹจࣈྻΛग़ྗ͢Δࡍʹ printf / printfn Λֶश͢Δ ͕, ଘ֎, ֶशίετ͕ߴ͍ͨΊ, ΑΓγϯϓϧͳग़ྗํ๏ͷఏڙΛܾΊͨ. • ྫ͑͹, ݱ࣌఺ͰҎԼͷίʔυ͸ΤϥʔͱͳΔ͕, F# ೖ໳ऀʹͦΕ͕ͳ͔ͥΛ ཧղͯ͠΋Β͏ʹ͸, ͋·Γʹ΋ֶशίετ͕ߴ͍.
  5. RFC FS-1126 Allow lower-case DU cases when in speci f

    ied [<RequireQuali f iedAccess>] ൑ผڞ༻ମ (DU) ͷέʔε໊ʹؔͯ͠, খจࣈ࢝·Γ͕ڐ༰͞ΕΔΑ͏ʹ. IUUQTHJUIVCDPNGTIBSQGTMBOHEFTJHOCMPCNBJO3'$T'4BMMPXMPXFSDBTFEVDBTFTXIFOSFRVJSFRVBMJ fi FEBDDFTTJTTQFDJ fi FENE