From 686f17dd72621d43866a551fd2f85430f1901dd6 Mon Sep 17 00:00:00 2001 From: mira01 Date: Sat, 13 Oct 2018 18:51:33 +0200 Subject: [PATCH] ghc: add evaluate expression example (#2439) --- pages/common/ghc.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pages/common/ghc.md b/pages/common/ghc.md index 158f63f45..0b6a40f94 100644 --- a/pages/common/ghc.md +++ b/pages/common/ghc.md @@ -22,3 +22,7 @@ - Run Haskell interactive interpreter (REPL): `ghci` + +- Evaluate a single expression: + +`ghc -e {{expression}}`