Fwiw, the question here seems to be pretty close to the "API copyright" question currently being litigated in the U.S. as one aspect of the Java/Dalvik lawsuit between Oracle and Google. HN discussions on that point: http://news.ycombinator.com/item?id=2916735 / http://news.ycombinator.com/item?id=2996084