ADT
aaron-thesis
arm-eh
ast-experimental
cleanup-dtors
ctor
deferred_resn
demangler
enum
forall-pointer-decay
gc_noraii
jacob/cs343-translation
jenkins-sandbox
memory
new-ast
new-ast-unique-expr
new-env
no_list
persistent-indexer
pthread-emulation
qualifiedEnum
resolv-new
string
with_gc
|
Last change
on this file since fe3b61b was ea3eb06, checked in by Peter A. Buhr <pabuhr@…>, 11 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.