diff options
author | Einhard Leichtfuß <alguien@respiranto.de> | 2025-05-19 14:05:36 +0200 |
---|---|---|
committer | Einhard Leichtfuß <alguien@respiranto.de> | 2025-05-19 14:05:36 +0200 |
commit | 1eef63739d9da401bdd4c89da2cfd8d3d9b7acb6 (patch) | |
tree | 81bcf26963a99d2c23e0535cd2b53f5416996236 /src/Language/SimpleShell/AST/Function.hs | |
parent | 1e9e4db59aa48e28ed14fe2498fe5ae940f21e96 (diff) |
Add Function AST
Diffstat (limited to 'src/Language/SimpleShell/AST/Function.hs')
-rw-r--r-- | src/Language/SimpleShell/AST/Function.hs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/Language/SimpleShell/AST/Function.hs b/src/Language/SimpleShell/AST/Function.hs new file mode 100644 index 0000000..7594c0d --- /dev/null +++ b/src/Language/SimpleShell/AST/Function.hs @@ -0,0 +1,12 @@ +module Language.SimpleShell.AST.Function + ( Function(..) + ) +where + + +import Language.SimpleShell.AST.Expr (Expr) +import Language.SimpleShell.AST.Name (VarName) + + +data Function = Function [VarName] Expr + deriving (Show) |