From 73fecb0793463cc5cda2282d93dd5a1a09c560fb Mon Sep 17 00:00:00 2001 From: Anton Ekblad Date: Wed, 19 Sep 2012 22:51:26 +0200 Subject: [PATCH] Added a note about __HASTE__ and __HASTE_TCE__ to the readme. --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index fd3191af..14437e29 100644 --- a/README.md +++ b/README.md @@ -47,6 +47,11 @@ You can pass the same flags to hastec as you'd normally pass to GHC: Haste also has its own set of command line arguments. Invoke it with --help to read more about them. +If you want your package to compile with both Haste and, say, GHC, you might +want to use the CPP extension for conditional compilation. Haste defines the +preprocessor symbol __HASTE__ for all modules it compiles, and __HASTE_TCE__ +for those compiled with full trampolining tail call elimination. + Reactive web EDSL -----------------