Skip to content

Instantly share code, notes, and snippets.

@object
Last active June 27, 2024 15:54
Show Gist options
  • Select an option

  • Save object/3fbf9d8351537aac6caeed18900acaed to your computer and use it in GitHub Desktop.

Select an option

Save object/3fbf9d8351537aac6caeed18900acaed to your computer and use it in GitHub Desktop.
Fable workshop (2024). Step 4. Model.fs
module Model
type Model =
{ Filename: string
PlaybackDelay : int
IsPlaying : bool
Events : string array
EventIndex : int
Error : string }
static member Empty =
{ Filename = ""
PlaybackDelay = 1
IsPlaying = false
Events = Array.empty
EventIndex = -1
Error = "" }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment