From 5cf17f5dbfbb8c08d74a8e1242851176f7971cef Mon Sep 17 00:00:00 2001 From: Vyacheslav Matyukhin Date: Tue, 20 Sep 2022 02:47:29 +0400 Subject: [PATCH] cleanups --- .../SquiggleViewer/ExpressionViewer.tsx | 35 ------------------- .../ReducerProject_tutorial_1_test.res | 4 --- 2 files changed, 39 deletions(-) diff --git a/packages/components/src/components/SquiggleViewer/ExpressionViewer.tsx b/packages/components/src/components/SquiggleViewer/ExpressionViewer.tsx index 1ae2a7b0..8bd32292 100644 --- a/packages/components/src/components/SquiggleViewer/ExpressionViewer.tsx +++ b/packages/components/src/components/SquiggleViewer/ExpressionViewer.tsx @@ -135,23 +135,6 @@ export const ExpressionViewer: React.FC = ({ value, width }) => { {() => value.value.toString()} ); - // case SqValueTag.Symbol: - // return ( - // - // {() => ( - // <> - // Undefined Symbol: - // {value.value} - // - // )} - // - // ); - // case SqValueTag.Call: - // return ( - // - // {() => value.value} - // - // ); case SqValueTag.Date: return ( @@ -236,24 +219,6 @@ export const ExpressionViewer: React.FC = ({ value, width }) => { ); } - // case SqValueTag.Module: { - // return ( - // - // {(_) => - // value.value - // .entries() - // .filter(([key, _]) => !key.match(/^(__result__)$/)) - // .map(([key, r]) => ( - // - // )) - // } - // - // ); - // } case SqValueTag.Record: const plot = makePlot(value.value); if (plot) { diff --git a/packages/squiggle-lang/__tests__/ReducerProject/ReducerProject_tutorial_1_test.res b/packages/squiggle-lang/__tests__/ReducerProject/ReducerProject_tutorial_1_test.res index 21907acc..3c67fe4e 100644 --- a/packages/squiggle-lang/__tests__/ReducerProject/ReducerProject_tutorial_1_test.res +++ b/packages/squiggle-lang/__tests__/ReducerProject/ReducerProject_tutorial_1_test.res @@ -90,10 +90,6 @@ Case "Running a single source". }) }) -// s1: { x = 1 } / { stdlib } -// s2 (deps=[s1]): { y = 2 } / { { x = 1 } + stdlib } -// s3 (deps=[s2]): { z = 3 } / { { y = 2 } + stdlib } - //TODO multiple sources //TODO multiple sources with includes. Introduction to includes //TODO multiple sources with multi level includes. Cycle detection