(35 lines)
1 '\" t2 .\" Copyright (c) 2026 Bruce Hill3 .\" All rights reserved.4 .\"5 .TH Int.factorial 3 2026-01-19 "Tomo man-pages"6 .SH NAME7 Int.factorial \- factorial8 .SH LIBRARY9 Tomo Standard Library10 .SH SYNOPSIS11 .nf12 .BI Int.factorial\ :\ func(n:\ Int\ ->\ Text)13 .fi14 .SH DESCRIPTION15 Computes the factorial of an integer.18 .SH ARGUMENTS20 .TS21 allbox;22 lb lb lbx23 l l l.24 Name Type Description25 n Int The integer to compute the factorial of.26 .TE27 .SH RETURN28 The factorial of the given integer.30 .SH EXAMPLES31 .EX32 assert 10.factorial() == 362880033 .EE34 .SH SEE ALSO35 .BR Tomo-Int (3)