[−][src]Trait fortraith::fact
Calculate the factorial of the top element
Yeah you don't have to write the factorial word by yourself, it's builtin thanks to trait_eval!
Examples
forth!( 4 fact return type Out as top ); assert_eq!(Out::eval(), 24);