Re: How does a

2017-12-10 Thread monster
@cdome Mixin is not a concept I'm familiar with; I thought that was meant to be something basically like a "partial template". I've looked up mixin in the doc; from that example I still don't know what it does (looks like some kind of "symbol import"?), so I need a bit more direction. I tried

Re: How does a

2017-12-10 Thread cdome
you need to mixin the hash proc into your table: mixin hash, ==

Re: How does a

2017-12-10 Thread boia01
Can you expand on: > module that receives the SharedText as generic parameter can find the > hash(SharedText) proc? What do you mean exactly? Does the module import your SharedText module? If so, it should find your `hash(SharedText)` proc. EDIT: I hadn't seen cdome's reply. That's probably

How does a "Table" find the "hash()" proc of a type?

2017-12-10 Thread monster
So far, I have coded the following: * A simple "string-in-shared-heap" module (I know there is something like that already in the standard lib, mine caches the hashcode). * A seq-in-shared-heap module. * A Table-in-shared-heap (I know there is something like that already in the standard

Re: lzma headers

2017-12-10 Thread treeform
Cool. Compression is really interesting.

Re: Hiring Nim Devs for Ethereum Implementation

2017-12-10 Thread Libman
I'd just like to say that **this project is very good news**, for both Nim and Ethereum. * * * I've been critical of [cpp-ethereum](https://github.com/ethereum/cpp-ethereum) being GPLv3, which means not everybody can use it (for either practical or philosophical reasons). As always, I