On 24/03/2014 8:32 PM, "Harry Chen" <chen.ha...@gmail.com> wrote:
>
> Hi, Ken, excellent speech tonight for free.
+1! Im regretting that we didnt record it. I reckon it would be the best explanation and demo of Free Monads available in the world ATM.
Ben
To post to this group, send an email to scala...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Melbourne Scala User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scala-melb+...@googlegroups.com.
Visit this group at http://groups.google.com/group/scala-melb.
For more options, visit https://groups.google.com/d/optout.
Thanks Ben! I wouldn't call it the best of anything in particular, but I think it added something to the current stable of tutorials - perhaps it would be useful for me to rework it into blog form.
Cheers, Ken
--
You received this message because you are subscribed to the Google Groups "Melbourne Scala User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scala-melb+...@googlegroups.com.
To post to this group, send email to scala...@googlegroups.com.
--
On 25/03/2014 1:21 PM, "Harry Chen" <chen.ha...@gmail.com> wrote:
>
> Hi, Ken, thanks for your reply.
> might I connect the two concepts(initial vs free) in this way?
> List (data type) is the initial object (I use ’the’ because the initial objects are up to isomorphic in a category) in the category of MONOID which is freely generated from any type.
Objects in MON are monoids; (List[A], ++, Nil) is one (freely generated from set A), but List[A] is the underlying set and not a monoid itself. AFAICT (List[A], ++, Nil) is not initial either - is there a unique arrow (specifically, monoid homomorphism) to every other monoid? I would have thought the initial would be a trivial empty monoid or something like that.
while free monad is the initial object in the category of MONAD which is freely generated from any Functors.
It's probably analogous, whatever the answer is for monoids.
>
> also I paste words excerpted from http://www.andrew.cmu.edu/user/avigad/Teaching/landc_notes.pdf (page 16):
>
> "Steve Awodey tells me that category theorists think of freely generated inductively defined structures as having “no junk, no noise.” “No junk” means that there is nothing in the set that doesn’t have to be there, which stems from the fact that the set is inductively defined; and “no noise” means that anything in the set got there in just one way, arising from the fact that the elements are freely generated."
Other way around.