[nim-dev] Re: init proc with static[int] in return type

  • From: andrea <ferrettiandrea@xxxxxxxxx>
  • To: nim-dev@xxxxxxxxxxxxx
  • Date: Mon, 7 Sep 2015 19:54:48 +0000

I think you can put the type on the left side and omit it on the right side,
like

. code-block:: nimrod
var test: OdArray[10, int] = initOdArray(100)

(have not checked, though)

Other related posts: