verve-lang icon indicating copy to clipboard operation
verve-lang copied to clipboard

Consider new syntax for type constraints

Open tadeuzagallo opened this issue 8 years ago • 0 comments

So far, the best I could come up with was the following

// Printable t, List t 
interface PrintableList<T: (Printable, Foo)> {
  virtual printList(List<T>): Void
  virtual printNumericList(List<T: (Numeric)>): Void
}

tadeuzagallo avatar May 19 '16 17:05 tadeuzagallo