From d560fadac43da1021c1ac07f5e5091837e49365e Mon Sep 17 00:00:00 2001 From: Dobiasd Date: Sun, 17 Nov 2013 23:02:19 +0100 Subject: [PATCH] added elm remark --- from_oop_to_fp_-_inheritance_and_the_expression_problem.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/from_oop_to_fp_-_inheritance_and_the_expression_problem.md b/from_oop_to_fp_-_inheritance_and_the_expression_problem.md index 79294cf..2f93a2a 100644 --- a/from_oop_to_fp_-_inheritance_and_the_expression_problem.md +++ b/from_oop_to_fp_-_inheritance_and_the_expression_problem.md @@ -169,7 +169,7 @@ The output of this program is: Since one requirement for a solution is the ability to store objects of different subtypes in the same list, -[typeclasses](http://codepad.org/6boPlYTK) are not the answer here. +[typeclasses](http://codepad.org/6boPlYTK) are not the answer here. (It also would be cool if it can be used in [Elm](http://elm-lang.org/) too. ^_-) So the usual haskell approach could look like this: