source: doc/generic_types/evaluation/cfa-print.h @ 2183e12

aaron-thesisarm-ehcleanup-dtorsdeferred_resndemanglerjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprnew-envno_listpersistent-indexerresolv-newwith_gc
Last change on this file since 2183e12 was a381b46, checked in by Aaron Moss <a3moss@…>, 5 years ago

Minor cleanup, also filled in benchmark source appendix

  • Property mode set to 100644
File size: 422 bytes
Line 
1#pragma once
2#include <stdio.h>
3#include "pair"
4
5forall(otype T, ttype Params | { void print(FILE*, T); void print(FILE*, Params); })
6void print(FILE* out, T arg, Params rest);
7
8void print(FILE* out, const char* x);
9void print(FILE* out, _Bool x);
10void print(FILE* out, char x);
11void print(FILE* out, int x);
12
13forall(otype R, otype S | { void print(FILE*, R); void print(FILE*, S); })
14void print(FILE* out, pair(R, S) x);
Note: See TracBrowser for help on using the repository browser.