Skip to content
This repository was archived by the owner on Apr 1, 2025. It is now read-only.

Commit 5f3221a

Browse files
committed
📝 the Statement effect module.
1 parent 004e22f commit 5f3221a

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

semantic-analysis/src/Analysis/Effect/Statement.hs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
{-# LANGUAGE GADTs #-}
22
{-# LANGUAGE KindSignatures #-}
3+
{- |
4+
The @'Statement'@ effect is designed to provide instrumentation for source-level interactions we need visibility into which are nevertheless not (currently) modelled by expressions: e.g. statements, declarations, certain directives, etc.
5+
6+
Currently this is limited to imports, where the value-level semantics are (for many languages) essentially the unit value, but where the effect of bringing an environment and entire subset of the store into scope are essential to track for modular interpretation.
7+
-}
38
module Analysis.Effect.Statement
49
( -- * Statement effect
510
simport

0 commit comments

Comments
 (0)