Skip to content

Commit

Permalink
Added a note about __HASTE__ and __HASTE_TCE__ to the readme.
Browse files Browse the repository at this point in the history
  • Loading branch information
valderman committed Sep 19, 2012
1 parent 34cb028 commit 73fecb0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Expand Up @@ -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 Haste also has its own set of command line arguments. Invoke it with --help to
read more about them. 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 Reactive web EDSL
----------------- -----------------
Expand Down

0 comments on commit 73fecb0

Please sign in to comment.