I want to use std/complex library as complex[Float] where Float is my original 
object other than float, float32, float64. I have already defined all function 
of Float like sin, cos, tan etc to use Complex. But the definition of object 
Complex is written as "type Complex*[T: SomeFloat] = object ... " and I cannot 
use complex.

<https://github.com/nim-lang/Nim/blob/version-2-0/lib/pure/complex.nim#L1>

Simple solution for this is to copy std/complex and erase SomeFloat. But I want 
to use it as standard library. Is there any way?

Reply via email to