Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Or to be even more pedantic it's

Func<T[], T[]> where T : IComparable<T>

But maybe all of that is just stronger arguments for F#'s inferred typing...



Or to be even mooooooore pedantic the fsharp functions would probably be written to be seq<'a> -> seq<'a>, so that would be Func<IEnumerable<T>, IEnumerable<T>> where T : IComparable<T> :)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: