On 13/09/2014, at 4:06 PM, srean wrote:
> Always meant to ask: Felix library used to have a lot of modules, now
> everything seems to be a class,
Well yes, thats
1,$ s/module/class/g
in Vim.
> is that to minimize providing the instance type for every function in the
> module ?
No it was to get rid of two almost identical constructions.
You could always write
module X[T] { ...
but it was just sugar for adding the [T] to all the contained definitions.
So modules were always non-polymorphic.
--
john skaller
[email protected]
http://felix-lang.org
------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
Felix-language mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/felix-language