Skip to content

Instantly share code, notes, and snippets.

@dsyme
Created February 5, 2016 12:09
Show Gist options
  • Select an option

  • Save dsyme/a02b19b9e55ab392a06d to your computer and use it in GitHub Desktop.

Select an option

Save dsyme/a02b19b9e55ab392a06d to your computer and use it in GitHub Desktop.
type Animal() = class end
type Dog() = inherit Animal()
let feed (animals: seq<Animal>) = ()
feed [ Dog(); Animal() ]
@robkuz
Copy link

robkuz commented Jul 26, 2016

But

let myDogs:seq<Animal> = [ Dog(); Animal() ]

doesn't compile and I find that highly irritating

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment