Like this, just for 100% clarity: 
    
    
    assert toSeq(permutations([1,2,3,4,5])).len == fac(5)
    
    
    Run

Reply via email to