Re: Generic methods are deprecated?

2019-06-09 Thread Araq
> All my relevant projects rely on generics with methods. Well that's bad, we need to find a solution. In my mind I `method` is better replaced altogether with a `class` macro that produces a traditional VTable.

Re: Generic methods are deprecated?

2019-06-09 Thread cy
On one hand, I can't see why methods couldn't be generic… on the other hand, I can't think of any compelling reason to combine runtime and compile time polymorphism. At least not explicitly.

Re: package like python's pandas?

2019-06-09 Thread kaushalmodi
Looks like this package broke after a deprecation in Nim 0.20.0. See [https://github.com/nim-lang/Nim/blob/devel/changelogs/changelog_0_20_0.md#breaking-changes-in-the-standard-library](https://github.com/nim-lang/Nim/blob/devel/changelogs/changelog_0_20_0.md#breaking-changes-in-the-standard-libr

Re: Generic methods are deprecated?

2019-06-09 Thread kaushalmodi
Only generic **methods** are deprecated. Generic procs (types, etc.) are not affected by this.

Re: Generic methods are deprecated?

2019-06-09 Thread kaushalmodi
Yes, generic methods are deprecated: [https://github.com/nim-lang/Nim/blob/devel/changelogs/changelog_0_20_0.md#changes-affecting-backwards-compatibility](https://github.com/nim-lang/Nim/blob/devel/changelogs/changelog_0_20_0.md#changes-affecting-backwards-compatibility)

Re: Generic methods are deprecated?

2019-06-09 Thread dduvall
I haven't upgraded yet (will do after I ship this next project), Have you noticed this warning with Generic Procedures?

Generic methods are deprecated?

2019-06-09 Thread bluenote
I just noticed that something as simple as type Test[T] = ref object of RootObj method call[T](t: Test[T]) {.base.} = discard Run now generates a warning `generic methods are deprecated`. All my relevant projects rely on generics with methods. Is there a

Re: Nim v0.20.0 is here (1.0 RC)

2019-06-09 Thread GordonBGood
@Araq, as I have mentioned in other posts, I am trying to apply some of the new memory management ideas under the current version 0.20.0 system, with problems as follows: 1\. The "old" closures aren't compatible with what closures will be as they rely on a (local) GC'ed ref to an environment st

Re: Nim v0.20.0 is here (1.0 RC)

2019-06-09 Thread miran
> Nim 0.20.0 is now in Debian Unstable and will trickle down to Ubuntu and > other derivatives. Also, Nim 0.20.0 is now in Manjaro Testing, and it will probably be in the next Manjaro Stable updade.