source: translator/examples/huge.c @ df23c8f

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
RevLine 
[ea3eb06]1int huge( int n, forall( type T ) T (*f)( T ) ) {
2    if ( n <= 0 )
3        return f( 0 );
[a0d9f94]4    else
[ea3eb06]5        return huge( n - 1, f( f ) );
[a0d9f94]6}
Note: See TracBrowser for help on using the repository browser.