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 (|IsOneOf|_|) x y = if x = y then Some() else None | |
type SomeRecord = | |
{ ExternalEnum: int | |
SomeStringData: string } | |
let toProcess = | |
[ { ExternalEnum = 1 | |
SomeStringData = "I contain xml" } | |
{ ExternalEnum = 2 |
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 System.Reactive.Disposables | |
#r "nuget: Ply" | |
#r "nuget: System.Text.Json, 5.0.2" | |
#r "nuget: FSharp.SystemTextJson, 0.17.4" | |
#r "nuget: Fsharp.Control.Reactive, 5.0.2" | |
open FSharp.Control.Reactive | |
open FSharp.Control.Tasks |
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 DynamicUI | |
open DynamicUI.Models | |
open FSharp.Data | |
open FSharp.Json | |
module NetworkService = | |
let getMusicDataSearch (searchText: string option) = | |
async { |
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 DynamicUI | |
open DynamicUI | |
open DynamicUI.Models | |
open Fabulous | |
open Fabulous.XamarinForms | |
open Xamarin.Forms | |
module Extensions = | |
let rec filterMusic predicate musicList = |
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 DynamicUI | |
open Fabulous.XamarinForms.LiveUpdate | |
open Fabulous | |
open Fabulous.XamarinForms | |
open Models | |
open Xamarin.Forms | |
module App = |