Skip to content

Instantly share code, notes, and snippets.

@dsyme
Created September 1, 2020 15:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dsyme/81a5f51ecc18261b226abad83e6a0ed7 to your computer and use it in GitHub Desktop.
Save dsyme/81a5f51ecc18261b226abad83e6a0ed7 to your computer and use it in GitHub Desktop.
open System
type T() =
member this.Item
with get ([<ParamArray>] indices: int[]) = "_"
and set ([<ParamArray>] indices: int[]) (value: string) = ()
let t = T()
// Works correctly
printfn "%A" t.[2, 1, 0]
let someText = """
Some text
"""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment