XML 54 R43.htm IDEA: XBRL DOCUMENT v3.7.0.1
Income tax provision - Additional Information (Detail) - USD ($)
3 Months Ended 9 Months Ended
Jul. 31, 2017
Jul. 31, 2016
Jul. 31, 2017
Jul. 31, 2016
Oct. 31, 2016
Income Taxes [Line Items]          
Provision for income tax as percentage of income (loss) before income taxes 10.00% (6.00%) 63.00% 25.00%  
Unrecognized tax benefits $ 0   $ 0   $ 0
Accrued interest and penalties related to uncertain tax positions $ 0   $ 0   $ 0