summaryrefslogtreecommitdiff
path: root/doc/forum/howto_mapM_RevertableProperty
diff options
context:
space:
mode:
authorpicca2016-02-10 06:41:49 +0000
committeradmin2016-02-10 06:41:49 +0000
commitdcc395e2d17b1a8b885179daa721c01f8b21f21e (patch)
tree50a73b0d24a436d1b2826501fc70c71cec1bee02 /doc/forum/howto_mapM_RevertableProperty
parentf1d37c9382bc0715be0689c61541a8fdef893de3 (diff)
Added a comment
Diffstat (limited to 'doc/forum/howto_mapM_RevertableProperty')
-rw-r--r--doc/forum/howto_mapM_RevertableProperty/comment_2_1327f1f218433ce262f871771c43452c._comment23
1 files changed, 23 insertions, 0 deletions
diff --git a/doc/forum/howto_mapM_RevertableProperty/comment_2_1327f1f218433ce262f871771c43452c._comment b/doc/forum/howto_mapM_RevertableProperty/comment_2_1327f1f218433ce262f871771c43452c._comment
new file mode 100644
index 00000000..20f6e640
--- /dev/null
+++ b/doc/forum/howto_mapM_RevertableProperty/comment_2_1327f1f218433ce262f871771c43452c._comment
@@ -0,0 +1,23 @@
+[[!comment format=mdwn
+ username="picca"
+ subject="comment 2"
+ date="2016-02-10T06:41:49Z"
+ content="""
+Thanks a lot joey :)
+
+I am learning haskell for now and I am not very confortable yet with the haskell Monoid, functor, applicative and monad.
+
+So what you are saying is that it would be great to do something like
+
+ instance monoid Property where
+ mempty = doNothing
+ mappend p1 p2 = combineProperty [p1, p2]
+ mconcat ps = combineProperty ps
+
+in order to combine properties.
+my question is why did you choose to create combineProperty instead of a Monoid at first ?
+
+thanks
+
+Frederic
+"""]]