typo -- Mauro
On Tuesday, July 5, 2016 at 3:26:13 AM UTC-4, Jeffrey Sarnoff wrote:
>
> Hi Mauio,
> Using another parameter is ok if it solves things in a way that precludes
> wanting other synthetic parameters for each sort of Both that is of interest
> e.g `( (size,digits), (size,bits),
Hi Mauio,
Using another parameter is ok if it solves things in a way that precludes
wanting other synthetic parameters for each sort of Both that is of interest
e.g `( (size,digits), (size,bits), (bits, digits), (size, internal
precision) ... (internal precision, digits) )`. otoh, it is
What about:
immutable fromClibWithCfinalizer{ sizeofThisType, digitsofSignificand, Both }
exponent ::NTuple{ Both, UInt32 )
...
end
function fromClibWithCfinalizer( _ )
Both = fn( sizeofThisType, digitsOfSignificand )
fromClibWithCfinalizer{sizeofThisType, digitsOfSignificand, Both}(_)
Are you building up a representation of the code an Expr objects? Maybe just
show on those could be decent to start with? There's also Mustache.jl which can
do generic templating.
Are there styles/approaches/packages/practices that may make simple and
untedious using Julia to generate and fill templated Julia source code?
My use case is to complete facets of type declarations that require more
symbiosis of parameters than Julia learned to do while in kindergarten.