Quellcode durchsuchen

Create the data type to hold arithmetic expressions

DricomDragon vor 5 Jahren
Ursprung
Commit
60ba874983
1 geänderte Dateien mit 3 neuen und 0 gelöschten Zeilen
  1. 3 0
      functor.hs

+ 3 - 0
functor.hs

@@ -0,0 +1,3 @@
+-- Slide 64
+
+Expr a = Val a | Inc (Expr a) | Dec (Expr a) | Inv (Expr a) | Neg (Expr a)