REBOL3 tracker
  0.9.12 beta
Ticket #0002001 User: anonymous

Project:



rss
TypeWish Statusdismissed Date21-Mar-2013 14:30
Versionr3 master CategoryMezzanine Submitted bycyphre2
PlatformAll Severityminor Prioritynormal

Summary FUNCT equivalent for closure!s
Description Would be nice to have equivalent mezzanine to FUNCT but for making closure!s as well.
It could be either just a /closure refinement for FUNCT or completely new mezz. What do you think?
Example code

			

Assigned ton/a Fixed in- Last Update17-Feb-2014 21:58


Comments
(0003700)
Ladislav
21-Mar-2013 14:53

Since the need was urgent, we decided (for the purpose of R3GUI) to use FUNCT/CLOSURE. (It is not at many places at present)
(0003701)
Ladislav
21-Mar-2013 15:26

Pull request created.
(0003702)
fork
21-Mar-2013 18:24

I suggest that going with the spirit of CC#1973, two pairs be made:

CLOSURE and FUNCTION

CLOS and FUNC

Like "func", the made-up word "clos" could indicate a more fundamental building block of the nicer-named variations, which do not give the appearance of "everything in Rebol is global by default".
(0003703)
BrianH
21-Mar-2013 19:08

As simple as the /closure option is to add, I agree with Fork here. We should go with #1973 on this. And noone is going to port the Common Lisp Object System to Rebol, so we won't have a naming conflict.
(0003704)
Ladislav
21-Mar-2013 20:33

Well, I do not intend to discuss the CLOS and CLOSURE naming issues here.

In my opinion, renaming may be controversial and subject to Carl's decision (CLOSURE naming change would most probably create more compatibility issues than FUNCTION naming change). So, please, resolve that as a separate ticket/issue allowing:

* Carl to decide whether to accept it
* Cyphre and me to work on R3GUI now
(0003705)
BrianH
21-Mar-2013 21:46

Agreed that the naming issue should be a separate ticket (#2002), though in this case it would be an opposing ticket to this one. Compatibility issues won't be a problem - see #2002 for details.
(0003711)
BrianH
22-Mar-2013 00:19

Added a pull request for #1973 and #2002, Ladislav. Cyphre and you can use it in R3GUI instead of this one.
(0004236)
BrianH
17-Feb-2014 21:58

#1973 and #2002 implemented instead of this one.

Date User Field Action Change
17-Feb-2014 21:58 BrianH Comment : 0004236 Added -
17-Feb-2014 21:57 BrianH Status Modified pending => dismissed
22-Mar-2013 00:19 BrianH Comment : 0003711 Added -
21-Mar-2013 21:59 BrianH Comment : 0003705 Modified -
21-Mar-2013 21:46 BrianH Comment : 0003705 Added -
21-Mar-2013 21:16 cyphre2 Description Modified -
21-Mar-2013 21:16 cyphre2 Status Modified submitted => pending
21-Mar-2013 20:33 Ladislav Comment : 0003704 Added -
21-Mar-2013 19:08 BrianH Comment : 0003703 Added -
21-Mar-2013 18:25 fork Comment : 0003702 Modified -
21-Mar-2013 18:24 fork Comment : 0003702 Added -
21-Mar-2013 15:26 Ladislav Comment : 0003701 Added -
21-Mar-2013 14:53 Ladislav Comment : 0003700 Added -
21-Mar-2013 14:30 cyphre2 Ticket Added -