diff options
Diffstat (limited to 'src/Example.hs')
-rw-r--r-- | src/Example.hs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Example.hs b/src/Example.hs index 389248a..643b82f 100644 --- a/src/Example.hs +++ b/src/Example.hs @@ -103,8 +103,7 @@ descr5 a b = DTop `DPush` (STEither (STScal STF32) (STScal STF32), a) `DPush` (S ex5 :: Ex [TScal TF32, TEither (TScal TF32) (TScal TF32)] (TScal TF32) ex5 = ECase ext (EVar ext (STEither (STScal STF32) (STScal STF32)) (IS IZ)) - (bin (OMul STF32) (EVar ext (STScal STF32) IZ) - (EVar ext (STScal STF32) (IS IZ))) + (EVar ext (STScal STF32) IZ) (bin (OMul STF32) (EVar ext (STScal STF32) IZ) (bin (OAdd STF32) (EVar ext (STScal STF32) (IS IZ)) (EConst ext STF32 1.0))) |