From e1a833412aa72cdabf4bd04dcde52a0aca0e1274 Mon Sep 17 00:00:00 2001 From: simonm Date: Tue, 16 Mar 1999 17:07:23 +0000 Subject: [PATCH] [project @ 1999-03-16 17:07:21 by simonm] - Document the pragmas we support - Fix some lies in the vs. Haskell section. --- ghc/docs/users_guide/glasgow_exts.vsgml | 154 ++++++++++++++++++++++++++++++- ghc/docs/users_guide/gone_wrong.vsgml | 2 +- ghc/docs/users_guide/sooner.vsgml | 97 ++----------------- ghc/docs/users_guide/vs_haskell.vsgml | 38 ++------ 4 files changed, 166 insertions(+), 125 deletions(-) diff --git a/ghc/docs/users_guide/glasgow_exts.vsgml b/ghc/docs/users_guide/glasgow_exts.vsgml index bcc7166..f5cdbd2 100644 --- a/ghc/docs/users_guide/glasgow_exts.vsgml +++ b/ghc/docs/users_guide/glasgow_exts.vsgml @@ -1,5 +1,5 @@ % -% $Id: glasgow_exts.vsgml,v 1.5 1999/02/22 10:22:35 sof Exp $ +% $Id: glasgow_exts.vsgml,v 1.6 1999/03/16 17:07:21 simonm Exp $ % % GHC Language Extensions. % @@ -60,6 +60,12 @@ Just what it sounds like. We provide lots of rope that you can dangle around your neck. Please see Section . +Pragmas + +Pragmas are special instructions to the compiler placed in the source +file. The pragmas GHC supports are described in Section . + Before you get too carried away working at the lowest level (e.g., @@ -1730,3 +1736,149 @@ For example: + +%----------------------------------------------------------------------------- +Pragmas +