Re: [Chicken-users] SRFI-99 - What is a variant type?

2014-12-15 Thread Thomas Chust
On Mon, 15 Dec 2014, Bahman Movaqar wrote: Reading the docs on SRFI-99 [1], I need some help understanding what is a variant type. Would someone please pass me a relevant link to read? Hello, a variant type is the same as an extensible tagged union type. Some documentation about this

[Chicken-users] SRFI-99 - What is a variant type?

2014-12-14 Thread Bahman Movaqar
Reading the docs on SRFI-99 [1], I need some help understanding what is a variant type. Would someone please pass me a relevant link to read? -- Bahman Movaqar http://BahmanM.com - https://twitter.com/bahman__m https://github.com/bahmanm - https://gist.github.com/bahmanm PGP Key ID: 0x6AB5BD68

Re: [Chicken-users] SRFI-99 - What is a variant type?

2014-12-14 Thread Alex Shinn
This appears to be a chicken-specific extension: http://www.chust.org/fossils/srfi-99/wiki?name=variant+types I'm not sure I understand that description, but appears to be something like a union type? -- Alex On Mon, Dec 15, 2014 at 12:12 PM, Bahman Movaqar bah...@bahmanm.com wrote: Reading

Re: [Chicken-users] SRFI-99 - What is a variant type?

2014-12-14 Thread Bahman Movaqar
On 12/15/2014 08:38 AM, Alex Shinn wrote: This appears to be a chicken-specific extension: http://www.chust.org/fossils/srfi-99/wiki?name=variant+types I'm not sure I understand that description, but appears to be something like a union type? Thanks for your answer Alex. I didn't

Re: [Chicken-users] SRFI-99 - What is a variant type?

2014-12-14 Thread Daniel Leslie
I'll chime in that I also find it a little clumsily written, but that it reads to me like variant types are, in practice, little more than different ways of identifying the same data. Which seems like something you could do with an additional field, but perhaps you aren't interested in exposing