Closed GoogleCodeExporter closed 9 years ago
This would allow e.g. the type 'Length DimensionLess' which isn't desirable.
Would
this be a problem in practice or would the type inference always figure out
that we
want e.g. 'Length Double'?
Original comment by bjorn.bu...@gmail.com
on 30 Dec 2006 at 5:55
Perhaps a better solution is for the user to create 'Num' (et c) instances for
the
specific 'Num' instances he intends to use. An implementation could be provided
for
e.g. 'Dimensionless Double'. (Can we derive this automatically using e.g.
DrIFT?)
Original comment by bjorn.bu...@gmail.com
on 31 Jan 2007 at 6:45
Concerning comment #1 -- this probably isn't a practical concern since, after
all,
this is probably the most common idiom for instances of num.
Original comment by bjorn.bu...@gmail.com
on 12 Mar 2007 at 11:18
Original comment by bjorn.bu...@gmail.com
on 13 Mar 2007 at 11:39
Original issue reported on code.google.com by
bjorn.bu...@gmail.com
on 28 Dec 2006 at 5:02