Author: | nomennescio |
---|---|
Mode: | factor |
Date: | Sat, 30 Jul 2022 10:59:01 |
! Copyright 2022 nomennescio :: atmost ( n! quot: ( ... -- ... ? ) -- ) quot [ n 1 - dup n! 0 > and ] compose loop ; inline
Author: | nomennescio |
---|---|
Mode: | factor |
Date: | Sat, 30 Jul 2022 11:15:39 |
:: atmost ( n! quot: ( ... -- ... ? ) -- ... ) : atmost* ( n quot: ( ... -- ... ? ) -- ... ) over 0 > [ atmost ] [ 2drop ] if ; inline