Now OrderedPair objects can only be constructed such that x OrderedPair(1, 2) OrderedPair(x,y) = x > y ? error("out of order") : new(x,y) One could declare it like this: julia> struct OrderedPair
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |