by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Mar 03 2017 15:52
    @dom96 banned @Octopoda7
  • Feb 12 2017 23:57
    @dom96 banned @zzz125
  • Dec 23 2016 19:43
    @dom96 banned @Izrab
Mamy Ratsimbazafy
@mratsim
maybe iterators.nim doesn't import seqs.nim
or include, not sure how it's set up
From IRC (bridge bot)
@FromIRC
<livcd> What is the largest Nim codebase out there ? (besides Nim itself)
<leorize> @nc-x: that's a bug that Araq is working on
<leorize> an internal error is definitely a compiler bug
<nc-x> @mratsim: system.nim has include "core/seqs"
<nc-x> leorize: Ah, okay!
Mamy Ratsimbazafy
@mratsim
@livcd, opensource it's probably ReelValley, closed source not sure, I think cooldome has a big Nim codebase at his work.
From IRC (bridge bot)
@FromIRC
<Zevv> livcd: there was this game that was open sourced a few moths ago. Noone got it to compile afaik, though
<Zevv> >
<Zevv> ^
Mamy Ratsimbazafy
@mratsim
cc @yglukhov :p
From IRC (bridge bot)
@FromIRC
<livcd> yeah i know
<livcd> i tried
<livcd> :⁠D
Ghost
@ghost~5b68e3cbd73408ce4fa3b6b0
is there a complete language changelog somewhere? Nim in Action uses "for i in 0 .. <10:", and nim has a deprecation warning, but I don't know where you'd see to use ..< except by looking for looping examples in more recent tutorial documents.
From IRC (bridge bot)
@FromIRC
<narimiran> ctrl+F .. <
Ghost
@ghost~5b68e3cbd73408ce4fa3b6b0
even if I knew that the blog would probably mention it, < is pretty hard to search for. Maybe other deprecations are more searchable.
From IRC (bridge bot)
@FromIRC
<narimiran> you can search the announcements for 'deprecated' ;⁠)
From IRC (bridge bot)
@FromIRC
<Araq> bah nc-x is gone
<Araq> now I don't know how to reproduce and will work on a different bug :⁠P
Kaushal Modi
@kaushalmodi
looks like I logged in at the right time :)
Araq: may be this issue? nim-lang/Nim#11046
From IRC (bridge bot)
@FromIRC
<Araq> didn't look deeply into it but it seems to me hard to fix, easy to workaround
<Araq> let k = key, v = val
<Araq> echo &"{k} {v}"
<Araq> and btw I think we should deprecate 'fmt' and embrace '&'
<Araq> it's silly we went with both syntaxes
Kaushal Modi
@kaushalmodi
yeah
From IRC (bridge bot)
@FromIRC
<shashlick> I agree, never use fmt
Kaushal Modi
@kaushalmodi
can you "alias" "fmt" to "&"?
From IRC (bridge bot)
@FromIRC
<shashlick> Also would be nice if it were part of strutils
<shashlick> But oh well
<Araq> that's how it's done but it doesn't change the fact that lexing rules differ
Kaushal Modi
@kaushalmodi
hmm
btw just replace fmt to & did not make any difference, still fails
next, will use the let trick you suggested
Mamy Ratsimbazafy
@mratsim
@jrfondren there was too many unintentional errors with unary <10
now you should use ..< without space and unary < (previous) will be removed
From IRC (bridge bot)
@FromIRC
<nc-x> Araq: I will open an issue in a few minutes once I get a minimize the code
Kaushal Modi
@kaushalmodi
Araq: OK, that let trick worked: http://ix.io/1GrY
Ghost
@ghost~5b68e3cbd73408ce4fa3b6b0
I remembered that. I just wondered how I'm expected to learn that.
Mamy Ratsimbazafy
@mratsim
so 0 ..< 10 remains but 0 .. <10 is warned about
Kaushal Modi
@kaushalmodi
Araq: what's a simple explanation for that behavior? (so that I can put in my notes)
also, do you think that will be fixed?
Mamy Ratsimbazafy
@mratsim
the new deprecation indicates what is the replacement
deprecations*
you can do a PR to add that to <
From IRC (bridge bot)
@FromIRC
<Araq> @kaushalmodi: fields/fieldPairs is very special in the compiler, we have to unroll the loop in the frontend and we likely got it wrong :⁠P