From dd363d1e45658ce7594fd1e1dc72d58b4f64b3b8 Mon Sep 17 00:00:00 2001 From: Umur Ozkul Date: Sat, 27 Aug 2022 20:35:37 +0200 Subject: [PATCH] lambda parameters --- .../ForTS/ForTS_SquiggleValue/ForTS_SquiggleValue_Lambda.res | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/squiggle-lang/src/rescript/ForTS/ForTS_SquiggleValue/ForTS_SquiggleValue_Lambda.res b/packages/squiggle-lang/src/rescript/ForTS/ForTS_SquiggleValue/ForTS_SquiggleValue_Lambda.res index 5f14f5d3..45b1bd04 100644 --- a/packages/squiggle-lang/src/rescript/ForTS/ForTS_SquiggleValue/ForTS_SquiggleValue_Lambda.res +++ b/packages/squiggle-lang/src/rescript/ForTS/ForTS_SquiggleValue/ForTS_SquiggleValue_Lambda.res @@ -3,3 +3,8 @@ @genType let toString = (v: squiggleValue_Lambda): string => ReducerInterface_InternalExpressionValue.toStringLambda(v) + +@genType +let parameters = (v: squiggleValue_Lambda): array => { + v.parameters +}