Преглед изворни кода

Create the data type to hold arithmetic expressions

DricomDragon пре 5 година
родитељ
комит
60ba874983
1 измењених фајлова са 3 додато и 0 уклоњено
  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)