Thread overview
[Issue 11811] Add "eval" to phobos
Apr 25, 2014
Andrej Mitrovic
Dec 17, 2022
Iain Buclaw
April 25, 2014
https://issues.dlang.org/show_bug.cgi?id=11811

Andrej Mitrovic <andrej.mitrovich@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andrej.mitrovich@gmail.com

--- Comment #1 from Andrej Mitrovic <andrej.mitrovich@gmail.com> ---
Maybe in std.functional? Anyway it sounds like a neat idea.

--
April 25, 2014
https://issues.dlang.org/show_bug.cgi?id=11811

bearophile_hugs@eml.cc changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bearophile_hugs@eml.cc

--- Comment #2 from bearophile_hugs@eml.cc ---
(In reply to monarchdodra from comment #0)

> The idea is to simply *force* the CTFE evaluation of a variable, without declaring an enum.

It's a nice function that I have defined in my code, but please give it a more specific name, because "eval" has usually a more general meaning (coming from Lisp-like languages). So you can name it "ctEval" or something else.

--
October 02, 2014
https://issues.dlang.org/show_bug.cgi?id=11811

hsteoh@quickfur.ath.cx changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hsteoh@quickfur.ath.cx

--
October 02, 2014
https://issues.dlang.org/show_bug.cgi?id=11811

--- Comment #3 from hsteoh@quickfur.ath.cx ---
Yeah, I think ctEval is a better name, otherwise people could misunderstand it as runtime mixin, as it is used in other languages.

--
December 17, 2022
https://issues.dlang.org/show_bug.cgi?id=11811

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P2                          |P4

--
December 01
https://issues.dlang.org/show_bug.cgi?id=11811

--- Comment #4 from dlangBugzillaToGithub <robert.schadek@posteo.de> ---
THIS ISSUE HAS BEEN MOVED TO GITHUB

https://github.com/dlang/phobos/issues/10023

DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB

--