ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsctordeferred_resndemanglerenumforall-pointer-decaygc_noraiijacob/cs343-translationjenkins-sandboxmemorynew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumresolv-newstringwith_gc
Last change
on this file since df23c8f was
ea3eb06,
checked in by Peter A. Buhr <pabuhr@…>, 10 years ago
|
formatting changes
|
-
Property mode set to
100644
|
File size:
126 bytes
|
Line | |
---|
1 | int huge( int n, forall( type T ) T (*f)( T ) ) { |
---|
2 | if ( n <= 0 ) |
---|
3 | return f( 0 ); |
---|
4 | else |
---|
5 | return huge( n - 1, f( f ) ); |
---|
6 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.