From: "Yannick Duchêne (Hibou57)" <yannick_duchene@yahoo.fr>
Subject: Re: Type Transcriptions
Date: Mon, 21 Apr 2014 20:11:19 +0200
Date: 2014-04-21T20:11:19+02:00 [thread overview]
Message-ID: <op.xeoh45nmule2fv@cardamome> (raw)
In-Reply-To: 53554D3F.8050009@shaw.ca
Le Mon, 21 Apr 2014 18:54:23 +0200, Brad Moore <brad.moore@shaw.ca> a
écrit:
> I'd suggest trying to make GenericAEADCipher a discriminated record
> type, with the two length values as the discriminants, and then the
> arrays are sized using the discriminants. No Generics needed.
>
> Brad
>
I guess Shark8 would already have figured it if this could be as simple.
He says this, which is important: “certain class of record-type is
dependent on the values in another record, yet distinctly separate”. With
two separated things, a discriminant is not applicable. Or may be I've not
understood.
--
“Syntactic sugar causes cancer of the semi-colons.” [1]
“Structured Programming supports the law of the excluded muddle.” [1]
[1]: Epigrams on Programming — Alan J. — P. Yale University
next prev parent reply other threads:[~2014-04-21 18:11 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-21 7:21 Type Transcriptions Shark8
2014-04-21 16:54 ` Brad Moore
2014-04-21 18:11 ` Yannick Duchêne (Hibou57) [this message]
2014-04-21 18:51 ` Shark8
2014-04-21 19:42 ` Jeffrey Carter
2014-04-22 6:06 ` Shark8
2014-04-21 20:33 ` Ludovic Brenta
2014-04-21 22:46 ` Adam Beneschan
2014-04-22 8:57 ` Shark8
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox