[p-dev] plasma talk

Paul Bone paul at bone.id.au
Sat May 6 14:50:22 AEST 2017


On Thu, May 04, 2017 at 02:52:19PM +1000, Paul Bone wrote:
>
> Tuples are an interesting thing, I'm working on a draft of their syntax at
> the moment.  But I don't call them tuples, and they're not really tuples,
> they're more like ad-hoc anonymous types, because they can have fields.
> I'll post something on the mailing lists when this is done.  It'll probably
> look like _(3, "xyz", 5.4) whose type could (not will) be
> _(field1 : Int, field2 : String, field3 : Float)

The draft I'd been writing about the type system, and tagged / untagged
structs is here:

http://www.plasmalang.org/docs/types.html


-- 
Paul Bone
http://paul.bone.id.au


More information about the dev mailing list