diff options
author | Roman Smrž <roman.smrz@seznam.cz> | 2024-09-28 19:53:42 +0200 |
---|---|---|
committer | Roman Smrž <roman.smrz@seznam.cz> | 2024-09-28 20:08:00 +0200 |
commit | 9b947899eea2852e9855fa30595e7a3176b70875 (patch) | |
tree | 5af0eb8659c9c6694126e2ad5b30a21b6458dd7c /src/Test.hs | |
parent | f91ff15b9551cd0d325dbd03f066d48dfd70ed25 (diff) |
Optional arguments and "flush" as a builtin
Diffstat (limited to 'src/Test.hs')
-rw-r--r-- | src/Test.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Test.hs b/src/Test.hs index b8b44ed..719e3e2 100644 --- a/src/Test.hs +++ b/src/Test.hs @@ -312,7 +312,8 @@ funFromSomeVarValue sline name (SomeVarValue args (value :: SourceLine -> args - data SomeArgumentType = forall a. ExprType a => SomeArgumentType (ArgumentType a) data ArgumentType a - = NoDefault + = RequiredArgument + | OptionalArgument | ExprDefault (Expr a) | ContextDefault |