Looks ok, but I think you could generically have less restricted types in your 
functions: e.g. 
4 in BasicInterval(3.1,4.9)
won't work, nor will you be able to construct an interval BasicInterval(3,4.5)

Reply via email to