Oh I see. But anyway, here's a monad type class. Just for the record. https://glot.io/snippets/f0nejek645
On Tuesday, May 1, 2018 at 11:27:29 PM UTC-4, gmhwxi wrote: > > > This approach can only handle simple type constructors like list and maybe. > It would not handle List defined as follows: > > typedef List(a:t@ype) = [n:nat] List(a, n) > > -- You received this message because you are subscribed to the Google Groups "ats-lang-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to ats-lang-users+unsubscr...@googlegroups.com. To post to this group, send email to ats-lang-users@googlegroups.com. Visit this group at https://groups.google.com/group/ats-lang-users. To view this discussion on the web visit https://groups.google.com/d/msgid/ats-lang-users/c017c5f6-9856-4952-9146-a3f1e8328778%40googlegroups.com.