Changes in src/examples/prolog.c [86bd7c1f:4040425]
- File:
-
- 1 edited
-
src/examples/prolog.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/examples/prolog.c
r86bd7c1f r4040425 10 10 // Created On : Wed May 27 17:56:53 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Wed Ma y 27 18:25:52 201513 // Update Count : 112 // Last Modified On : Wed Mar 2 18:11:18 2016 13 // Update Count : 2 14 14 // 15 15 … … 25 25 void is_integer( int x ) {} 26 26 27 context ArithmeticType( type T ) {27 trait ArithmeticType( type T ) { 28 28 void is_arithmetic( T ); 29 29 }; 30 30 31 context IntegralType( type T | ArithmeticType( T ) ) {31 trait IntegralType( type T | ArithmeticType( T ) ) { 32 32 void is_integer( T ); 33 33 };
Note:
See TracChangeset
for help on using the changeset viewer.