On 2014-10-11 14:08, Robert burner Schadek wrote:
this has been used make user defined LogLevel log functions, like
trace1(...), trace2(...)
I still don't like the merge of the documentation.
--
/Jacob Carlborg
On 2014-10-11 15:34, Robert burner Schadek wrote:
- Why do loggers have to be classes?
As answered multiply times before, to build log hierarchies.
What's stopping an interface or class to implement a logging concept?
--
/Jacob Carlborg
On 13/10/14 09:39, Sönke Ludwig wrote:
** At four words per token, Location seems pretty bulky. How about
reducing line and column to uint?
Single line JSON files >64k (or line counts >64k) are no exception
64k?
--
/Jacob Carlborg
On 22/08/14 00:35, Sönke Ludwig wrote:
Following up on the recent "std.jgrandson" thread [1], I've picked up
the work (a lot earlier than anticipated) and finished a first version
of a loose blend of said std.jgrandson, vibe.data.json and some changes
that I had planned for vibe.data.json for a w
On 13/10/14 10:47, Walter Bright wrote:
Named parameters interact badly with overloading.
Nothing says that named parameters means that you can pass the arguments
in any order. The linked forum post points to an implementation that
requires the arguments to be passed in the regular order.
On 14/10/14 03:55, Steven Schveighoffer wrote:
The concept is in D1 for arrays since as long as I've ever used D.
As far as I recall, it was an accidental feature of arrays and perhaps
associative arrays. Might be a bit hard to track down that.
--
/Jacob Carlborg
On 14/10/14 08:11, Sergey wrote:
Wrong, I need to have:
$ dmd test_tds_connect.d tds.d
You can use "rdmd" to compile and run an application:
$ rdmd test_tds_connect.d
It will automatically find all (D) dependencies for "test_tds_connect"
and compile those as well. But you still need to link
On 2014-10-15 01:01, Andrei Alexandrescu wrote:
Correct. Here's the syntax on the C++ side:
http://en.wikipedia.org/wiki/C++11#Extern_template -- Andrei
"extern template class std::vector;
which tells the compiler NOT to instantiate the template in this
translation unit."
That sounds like
On 2014-10-15 03:48, Sergey wrote:
Yes, it works now:
$ rdmd -L-lsybdb test_tds_connect.d
(If somehow get rid of "-L-lsybdb". Maybe add it somewhere in the code
pragma(lib, "sybdb");
But that won't work with GDC. I'm not sure if it works with LDC.
--
/Jacob Carlborg
On 2014-10-15 07:57, Walter Bright wrote:
Why do you need non-fatal unittests?
I don't know if this would cause problems with the current approach. But
most unit test frameworks don't NOT stop on the first failure, like D
does. It catches the exception, continues with the next test and in th
On 2014-10-15 08:50, Dan Olson wrote:
This would allow a D library to be embedded in an otherwise Objective-C
(or maybe Swift?) iOS app.
Sure, as long as it's using an Objective-C compatible API.
How about bindings for APIs in the iPhone SDK? I think folks can build
those as needed with hel
On 2014-10-15 19:31, Andrei Alexandrescu wrote:
C++11 includes C++03. -- Andrei
I kind of only read the C++11 part.
--
/Jacob Carlborg
On 2014-10-15 16:25, Dicebot wrote:
How can one continue without recovering? This will result in any kind of
environment not being cleaned and false failures of other tests that
share it.
I will probably use something else than "assert" in my unit tests.
Something like assertEq, assertNotEq a
On 2014-10-17 07:24, Sergey wrote:
Or if I already have a byte string in cp1251 how to translate it into a
normal string?
Doesn't Sql Server uses UC2?
--
/Jacob Carlborg
On 2014-10-16 17:21, Dan Olson wrote:
Specifically here I mean LDC targeted to arm-ios. The linker complains
about the generated debug info and I end up stepping through D in arm
assembly.
Oh, right. I was mostly thinking about OS X applications.
--
/Jacob Carlborg
On 2014-10-16 21:35, Walter Bright wrote:
Ok, but why would 3rd party library unittests be a concern? They
shouldn't have shipped it if their own unittests fail - that's the whole
point of having unittests.
They will have asserts in contracts and other parts of that code that is
not unit test
On 2014-10-17 10:26, Atila Neves wrote:
Is cleaning up in a unittest build a problem? I'd say no, if it the
tests fail it doesn't make much sense to clean up unless it affects the
reporting of tests failing.
I have used files in some of my unit tests. I would certainly like those
to be proper
On 2014-10-16 20:50, Walter Bright wrote:
I don't understand why unittests in druntime/phobos are an issue for
users. We don't release a DMD unless they all pass - it should be moot
for users.
There are asserts elsewhere in the code.
--
/Jacob Carlborg
On 2014-10-16 21:31, Walter Bright wrote:
Contract errors in Phobos/Druntime should be limited to having passed it
invalid arguments, which should be documented
That doesn't mean it won't happen.
--
/Jacob Carlborg
On 2014-10-18 06:36, Walter Bright wrote:
This particular subthread is about unittests.
That doesn't make the problem go away.
--
/Jacob Carlborg
On 2014-10-18 07:09, Walter Bright wrote:
Which means they'll be program bugs, not environmental errors.
Yes, but just because I made a mistake in using a function (hitting an
assert) doesn't mean I want to have undefined behavior.
--
/Jacob Carlborg
On 2014-10-22 10:13, ponce wrote:
2. A binary serialization library that support versions of data schemes.
Would allow to load previous versions of data when the scheme has
changed and fields have been added/removed.
Sounds like Protocol Buffers [1], D implementations: [2] [3].
[1] http://cod
On 2014-10-23 20:40, Daniel Murphy wrote:
What if you leave any other form of debug code enabled by accident? The
answer is to use version control, and make a quick pass over changes
before you commit.
Perhaps something for a lint tool as well.
--
/Jacob Carlborg
On 2014-10-25 18:43, Dicebot wrote:
Jut for the reference, my position on current state of things as review
manager is this:
I agree with some of mentioned concerns and would like to see those
fixed. However, I don't think any of those are truly critical and this
proposal has been hanging there
On 2014-10-27 03:33, Tofu Ninja wrote:
I don't think this is a new idea but it would be pretty awesome.
So the idea is that the compiler could check dub for libraries that it
can't find and automatically download and integrate them. It would
essentially make all of dub seem like it was a part of
On 2014-10-27 18:18, Dicebot wrote:
I personally consider Deimos legacy with addition of dub and
would actively discourage anyone from using it or relying on it.
I agree. I see no point in using it.
--
/Jacob Carlborg
On 2014-10-27 23:27, Brad Anderson wrote:
I'd prefer if the name Deimos were dropped as it's less intuitive than
calling them by what they are: C bindings.
Or just "bindings". We can already bind to C++ as well, and Objective-C,
hopefully not too far in the future.
--
/Jacob Carlborg
On 2014-10-29 22:22, Walter Bright wrote:
Assumptions are not guarantees.
In any case, if the programmer knows than assert error is restricted to
a particular domain, and is recoverable, and wants to recover from it,
use enforce(), not assert().
I really don't like "enforce". It encourage the
On 2014-10-29 20:38, dan wrote:
What IDE/EDITOR do you use for D? What plugins if you use Vim?
TextMate.
--
/Jacob Carlborg
On 2014-10-30 00:00, deadalnix wrote:
What does it do ?
It lets you split the implementation of a class between multiple source
files. I think it's mostly used in C# for tools that generate some
codes, i.e. a GUI builder. You have the generated part of the class in
one file and the code tha
On 2014-10-31 13:35, Martin Nowak wrote:
Andrei didn't get got to this, though I wonder why he is the one that
needs to update the website.
http://forum.dlang.org/post/544c4554.9070...@dawg.eu
He has access to the machine?
--
/Jacob Carlborg
On 2014-11-01 12:31, bearophile wrote:
Third part of the "A Programming Language for Games", by Jonathan Blow:
https://www.youtube.com/watch?v=UTqZNujQOlA
Discussions:
http://www.reddit.com/r/programming/comments/2kxi89/jonathan_blow_a_programming_language_for_games/
His language seems to disa
On 2014-11-04 10:08, deadalnix wrote:
Yes, SDC use LLVM's JIT capability to do CTFE.
Can't it access parts of the system that DMD's CTFE cannot?
--
/Jacob Carlborg
On 2014-11-04 09:48, Meta wrote:
Isn't SDC already able to do JIT compilation for CTFE? I swear I've seen
Deadalnix mention it before...
Forgot about that.
--
/Jacob Carlborg
On 2014-11-04 23:18, deadalnix wrote:
Yes, I have yet to implement a check for ctfeability.
Cool, perhaps you should not add it :)
--
/Jacob Carlborg
On 2014-11-10 11:21, Regan Heath wrote:
Basically it's just a good idea(TM). Unfortunately as many have said,
it's not something D2.0 is likely to see. String mixins aren't the
nicest thing to use, but at least they can achieve the same/similar thing.
Template mixins can be used instead. Loo
On 2014-11-10 14:58, bearophile wrote:
Perhaps your DIP also needs a trait?
Don't we have something for that already?
--
/Jacob Carlborg
On 2014-11-10 20:19, bearophile wrote:
Do you mean we already have a trait for a feature that doesn't yet
exists? :-)
No, a trait or template to find out if a function is @nogc.
--
/Jacob Carlborg
On 2014-11-11 11:42, John Colvin wrote:
what's the status?
I tried building druntime with 'make -f posix.mak dll' and got
src/rt/sections.d(52): Error: static assert (is(typeof(__error) ==
void* function())) is false
I'd be happy to put in some work to improve the situation, but a brief
over
On 2014-11-11 14:19, Tomer Filiba wrote:
__trait(getFunctionAttributes, F) -- but it returns flags that are
applicable only to function attributes
Hmm, yeah. Using that trait on a type might be a bit weird.
--
/Jacob Carlborg
On 2014-11-11 15:05, Jacob Carlborg wrote:
The first step would be to implement native TLS, see this issue [1].
BTW, the reason to implement native TLS is because otherwise we need to
implement basically what the dynamic linker is already doing for TLS our
self. Since it would be nice to hav
On 2014-11-12 09:01, Suliman wrote:
I do not see DDMD here. Is it was moved to another location?
I would guess it's "DMD Yebblies". "yebblies" is Daniel Murphy's name on
Github.
--
/Jacob Carlborg
On 2014-11-13 09:50, "Ola Fosheim Grøstad"
So, how to write a source-to-source compiler from CS to D…? ;-)
Take the new .Net compiler (Roslyn) written in C#. Write a tool, in C#,
that uses the compiler, visits the AST and generates D code from it.
Bonus:
Run the tool on the .Net compiler an
On 2014-11-13 23:00, "Ola Fosheim Grøstad"
" wrote:
Unfortunately, I guess I can't use it on my next project anyway, since I
need to support iOS5.1 which probably means XCode… 4? Sigh…
Can't you use Xcode 6 and set the minimum deploy target to iOS 5.1? If
that's not possible it should be pos
On 2014-11-14 17:40, Sean Kelly wrote:
We're two releases into having native support for TLS in OSX now, so it
probably is time to switch over.
There have been four releases of OS X which support TLS, 10.7-10.10.
--
/Jacob Carlborg
On 2014-11-14 17:18, David Nadlinger wrote:
10.7. And IMHO the most useful documentation for actually getting stuff
done is the ld source code (opensource.apple.com).
There's also the source code for the compiler (Clang, LLVM) and the
dynamic linker (dyld).
--
/Jacob Carlborg
On 2014-11-14 16:26, Martin Nowak wrote:
There is some Mach-O support to be notified (via a callback) when a new
shared library is loaded. It wasn't possible to unset that callback
though, meaning it would segfault when druntime itself is unloaded.
Right, I keep forgetting that.
--
/Jacob Car
On 2014-11-14 15:28, "Ola Fosheim =?UTF-8?B?R3LDuHN0YWQi?=
" wrote:
I don't know yet, but the 5.1 simulator will probably have to run on
OS-X 10.6.8 from what I've found on the net. Maybe it is possible to do
as you said with clang… Hm.
The simulator bundled with Xcode 5 run on Yosemite but n
On 2014-11-19 21:08, Steven Schveighoffer wrote:
We really *REALLY* need a mechanism to determine whether destruction is
happening in a GC or not. In synchronous destruction (i.e. destroy or
scoped), you can run the invariant. In GC, you cannot.
Tango for D1 had that. A new method, "dispose",
On 2014-11-21 05:38, Craig Dillabaugh wrote:
3. Enhance regular Expressions (2011)
Student: Dmitry OlshanskyMentor: Fawzi Mohamed
Claim of success based on: https://github.com/DmitryOlshansky/FReD
(and recent D-Conf talks if need be).
This is now std.regex.
5. Extended unicode support
On 2014-11-27 09:17, deadalnix wrote:
I hear that false dichotomy so many time that I lost count. That's is an
idiotic mindset. You can have a gui that is also manipulable all via
keyboard in an efficient manner.
gnome-do is a good example of this:
https://www.youtube.com/watch?v=oTxqE3M1k0U
On 2014-11-27 18:55, Jacob Carlborg wrote:
I'm using iTerm2 [2] on OS X.
One thing I really miss that the standard terminal has in OS X is
automatic restoring of sessions. This includes command history, output
and window layout.
--
/Jacob Carlborg
On 2014-11-28 02:05, deadalnix wrote:
I'm using it on my mac, but it is messing up with specials keys like
command, control and friends.
It does? You do know that iTerm2 is highly configurable? You can change
the hotkeys and also the exact escape sequence a given key should send.
Both the
On 2014-11-27 23:07, ketmar via Digitalmars-d wrote:
hope this will not happen soon. i used to build DMD from git head, but i
don't want to install python for that. ;-)
There's usually no problems with Python on Posix, but on Windows, I
really don't want that. I really like that DMD has so fe
On 2014-12-01 00:03, Walter Bright wrote:
Keeping around a deprecated alias translating the old symbol to the new
one is a good approach. For a more detailed message, instead of the
@disabled enhancement, a simpler way is:
void fnmatch()(...) {
static assert(0, "use globMatch instead of
On 2014-12-01 00:03, Walter Bright wrote:
3. there's no documentation for fnmatch anymore. He has no idea what
fnmatch is supposed to do. Now he's got to embark on some sort of
forensic search through old versions of the compiler, and not having
much clue which ones to look at
$ git log -S 'fn
On 2014-11-30 16:36, H. S. Teoh via Digitalmars-d wrote:
I thought dlang.org already has a page that lists language & library
changes for each of the recent releases?
We have only had that for a couple of releases and not the latest
release. No one wrote that document for the latest release a
On 2014-11-29 00:33, Walter Bright wrote:
Just for fun, I've decided to try and get MicroEmacs in D added to the
dub registry. The last time it compiled was 2 years ago.
I wound up with at least a dozen references to Phobos names that have
disappeared. No corrective action was indicated, just "u
On 2014-12-01 18:03, Sean Kelly wrote:
A few years back, clang was generating an invalid copy ctor for a struct
in DMD. I assume this has long since been fixed, but clearly clang still
has a few bugs.
Lately I've only been able to successfully run the whole test suite for
DMD if it was compile
DMD 2.066.1 is missing in the Digitalmars FTP. The release candidates
are present but the final release is missing. This breaks DVM.
--
/Jacob Carlborg
On 2014-11-29 00:33, Walter Bright wrote:
I fully understand how unfriendly this is to users and how discouraging
it can be to have their recently working code shattered and scattered.
We need to do a lot better.
When we're talking about breaking code, I just found this regression:
https://is
On 2014-12-03 02:01, Brad Anderson wrote:
Why use the DigitalMars FTP?
http://downloads.dlang.org/ is the official place for them.
Because the "official" place has changed several times but the
DigitalMars FTP has always been persisted and available. Also for the
FTP all versions are in one
On 2014-12-02 23:00, H. S. Teoh via Digitalmars-d wrote:
I'm finding it harder and harder to accept Walter's stance that symbol
lookups should be kept simple and free from complications and convoluted
corner cases, etc.. Except that it is *already* full of convoluted
pitfalls and corner cases yo
On 2014-12-03 21:58, Walter Bright wrote:
Should be up now.
Yes, thanks.
--
/Jacob Carlborg
On 2014-12-04 02:10, Martin Nowak wrote:
I just found a very compelling alternative solution to the LogLevel
disabling problem. This was one of the reasons for the delay of std.log
and the current solution still isn't great [1].
This idea here achieves
- fine grained control over log levels (per
On 2014-12-06 10:50, Manu via Digitalmars-d wrote:
I've been over it so many times.
I suggest you take the time and write down how your vision of "ref"
looks like and the issue with the current implementation. A blog post, a
DIP or similar. Then you can easily refer to that in cases like thi
On 2014-12-05 03:39, deadalnix wrote:
Also relevant:
http://wiki.jetbrains.net/intellij/Developing_and_running_a_Java_EE_Hello_World_application
Haha, I saw how small the scroll bar was and didn't bother reading any
more than the title.
--
/Jacob Carlborg
On 2014-12-07 01:49, Manu via Digitalmars-d wrote:
I have std.simd sitting here, and I really want to finish it, but I
still don't have the tools to do so.
I need, at least, forceinline to complete it, but that one *is*
controversial - we've talked about this for years.
GDC and LDC both have a
On 2014-12-07 11:50, Iain Buclaw via Digitalmars-d wrote:
You can add shorthand aliases for them too. :)
@forceinline void foo ();
Good point.
--
/Jacob Carlborg
On 2014-12-08 08:12, Andrei Alexandrescu wrote:
I'm in Australia with limited connectivity (bandwidth cap etc). Walter?
Walter has already taken care of it.
--
/Jacob Carlborg
On 2014-12-05 03:47, ketmar via Digitalmars-d wrote:
and what i also can't grok is "test-driven developement". ah, we spent
alot of time writing that tests that we can't even run 'cause we didn't
start working on the actual code yet. it's splendid! we didn't start
the real work yet and we are al
On 2014-12-05 10:27, Paulo Pinto wrote:
Yes, but they cannot test everything. GUI code is specially ugly as it
requires UI automation tooling.
They do exist, but only enterprise customers are willing to pay for it.
It depends on what you mean with "GUI". I've been using Capybara with
Phantom
On 2014-12-07 15:20, Dicebot wrote:
To give some examples from personal experience of what frustrates me in
typical OOP testing approach:
Imagine we have a simple cache class that internally communicates with
external dht:
class Cache
{
private DhtClient client;
this(string addr) { t
On 2014-12-07 11:52, Sebastiaan Koppe wrote:
I am curious how you would write tests without mocks.
It depends on how the code looks like. With code that has no external
dependencies, i.e. no networking, I usually assume that the entire
system works 100% correctly except for the part of the s
On 2014-12-06 16:11, Russel Winder via Digitalmars-d wrote:
http://en.wikipedia.org/wiki/List_of_unit_testing_frameworks#JavaScript
And then something like PhantomJS [1], a headless browser, to run the
tests in.
[1] http://phantomjs.org
--
/Jacob Carlborg
On 2014-12-08 18:20, Gary Willoughby wrote:
There is a module called std.stdint located here:
http://dlang.org/phobos/std_stdint.html
but it doesn't appear in the documentation index here:
http://dlang.org/phobos/index.html
Not only that but when looking at the source it's just publicly
impor
On 2014-12-10 18:43, H. S. Teoh via Digitalmars-d wrote:
That's why the current object file model doesn't work very well.
You'd have to extend the object file format to include compiler IR for
templates, then the compiler can instantiate templates from that IR
without needing access to the sour
On 2014-12-11 08:21, Lars T. Kyllingstad wrote:
I'm not sure what is the best way to achieve this in D, but one option is to use
an (associative?) array of Variants.
How does Boost implement this?
--
/Jacob Carlborg
On 2014-12-11 09:05, ketmar via Digitalmars-d wrote:
except that there's no need to parse source code over and over again,
which is good for other tools (like completion suggesting, intelligent
code browsing and so on).
Wouldn't you need to parse the IR?
--
/Jacob Carlborg
On 2014-12-12 17:51, Jake wrote:
I'm not sure if anyone has noticed, but the D wrapper for C's ICU
library is far from working it seems. mango.icu is its technical name.
That library is very old, for the days of D1, and not maintained anymore.
There's also this version, that might be more up t
On 2014-12-13 01:38, Adam D. Ruppe wrote:
I was just talking on IRC with someone about a dynamic library on linux
in D being called from a C program. The runtime wasn't initialized and
he couldn't modify the C program to add an extra call.
I kidna thought rt_init would be done automatically in a
On 2014-12-13 01:09, Walter Bright wrote:
The proposal provides escape proof passing of arguments. This is
necessary in order to make rc safe, for example.
What are you looking for?
Passing references to stack allocated data to functions safely is one
idea that comes to mind.
--
/Jacob Car
On 2014-12-13 06:11, Walter Bright wrote:
Don't make it extern, then.
He's said a couple of time he's interfacing with C and/or C++ code.
Why are function pointers and ints going to the same argument of a
function? I thought you weren't using templates?
I think he meant taking the address
On 2014-12-14 09:37, Manu via Digitalmars-d wrote:
They immediately made comments about goto-definition not working, and
auto-completion not working reliably.
I'm curious to know which tools they used to get autocompletion and
go-to-definition to work with JavaScript.
--
/Jacob Carlborg
On 2014-12-14 22:00, Kiith-Sa wrote:
One thing I ran into often when I was inexperienced with D:
the template constraints make some signatures extremely messy, and it
takes a while to figure out when you have e.g. 3 template functions of
the same name in
std.algorithm, all with crypric signat
On 2014-12-14 22:00, Kiith-Sa wrote:
One thing I ran into often when I was inexperienced with D:
the template constraints make some signatures extremely messy, and it
takes a while to figure out when you have e.g. 3 template functions of
the same name in
std.algorithm, all with crypric signat
On 2014-12-15 08:44, Walter Bright wrote:
How do I get dub to stop looking at the test branch?
I've complained about this before. As far as I know it's not currently
possible. I would rather tell dub myself which versions are available.
Not making all tags available that match a pattern.
-
On 2014-12-15 10:12, Walter Bright wrote:
Would it work if I deleted the tags from the test branch?
I don't know, at least previously Dub tracked branches as well.
--
/Jacob Carlborg
On 2014-12-15 09:41, Martin Nowak wrote:
Well here is the code
https://github.com/D-Programming-Language/dub-registry, right?
I don't have time to work on every single project myself.
--
/Jacob Carlborg
On 2014-12-15 10:13, Walter Bright wrote:
Please file as an enhancement request in bugzilla. Suggestions in the
n.g. are likely to be forgotten.
It looks like that has already been filed:
https://issues.dlang.org/show_bug.cgi?id=13676
--
/Jacob Carlborg
On 2014-12-17 23:24, Sean Kelly wrote:
Hah. I tried RoR once. I couldn't get the environment set up
and running and eventually just gave up.
I don't know when you tried it last time, but today it's very easy to
install:
1. Make sure Ruby is installed
2. $ gem install rails
3. $ rails new
On 2014-12-19 20:20, Walter Bright wrote:
No. It's attributable to I use different methods of debugging.
The dmd source code is littered with debugging aids I've written. The
classic example is having a pretty-printer for each data structure. I
don't find the typical debugger pretty-printer to
On 2014-12-20 08:46, Manu via Digitalmars-d wrote:
Perhaps this is habit, retained from a time where the tooling was
unreliable? You probably haven't spent the majority of your career in
an environment where you could reliably rely on them, and then as a
result, never came to rely on them?
I h
On 2014-12-21 10:46, Dicebot wrote:
- better user-defined type support (any built-in type must be possible
to emulate via user aggregate)
Any specifics to achieve this?
--
/Jacob Carlborg
On 2014-12-21 19:31, Sean Kelly wrote:
I was following the original RoR book. I got bogged down in setting up
the DB and wiring everything together.
The default settings will use SQLite and if you're on a Mac that will
already be installed. That means you don't have to do anything. For
anyt
On 2014-12-21 20:37, Adam D. Ruppe wrote:
1) versions don't match. Stuff like rvm and bundler can mitigate this,
I'm not exactly sure what you're meaning but using Rails without bundler
is just mad.
but they don't help searching the web. Find a technique and try it...
but it requires Rails
On 2014-12-26 01:48, Manu via Digitalmars-d wrote:
In this case, my colleague felt it was hard to understand the string
functions, but he got through it (after sending me txt messages to ask
questions).
I recall making the same comments when I first started trying to do
string manipulation in D.
On 2014-12-27 09:32, Mike Parker wrote:
The proverbial straw that prompted my blog rant back then was to do with
std.string. I wanted to split a string on a specific character. So I
looked in the std.string docs for a split function. There wasn't one.
There's a 'splitLines' -- I don't recall if
On 2014-12-27 09:32, Mike Parker wrote:
auto split(R, E)(R r, E delim) if (isForwardRange!R &&
is(typeof(ElementType!R.init == E.init)));
auto split(alias isTerminator, R)(R r) if (isForwardRange!R &&
is(typeof(unaryFun!isTerminator(r.front;
Umm... all I want is to split a string on a speci
On 2014-12-27 13:32, Nick Treleaven wrote:
FWIW Apple's recent Swift has @autoclosure, which is the same as lazy.
It's needed to implement assert in Swift.
Doesn't Scala have something similar.
--
/Jacob Carlborg
201 - 300 of 2325 matches
Mail list logo