Open digego opened 8 years ago
Is this in progress? Can I help in any way?
Nothing yet, need algebraic data types sorted first, which means also sorting out pattern maching. Once that's all in place then we will see where we stand re. named elements in tuples
tuples need named element access.
(bind-type Person first:String,last:String)
(bind-func testperson (lambda () (let ((p (Person (String "Andrew") (String "Sorensen")))) (println "Firstname:" p.first "Lastname:" p.last) void))))
or something similar.