commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <>
Subject Re: [functor] Remove Functor marker interfaces
Date Tue, 29 Jan 2013 22:56:40 GMT
Hi, Bruno.  My reasoning for having these marker interfaces was that they
might be a useful means of recognizing the commonality between the various
interfaces depending on the number of arguments accepted.[1]  I can't say
that I have a specific use-case for this, however.  Would some other
nomenclature allow us to serve both purposes?


(first item)

On Tue, Jan 29, 2013 at 4:44 PM, Bruno P. Kinoshita <>wrote:

> Hi all,
> In Haskell, category theory and possibly in other fields and programming
> languages a functor has a broader meaning. "Typically, they are structures
> that "can be mapped over"" [1]. A common functor taught for beginners in
> Haskell (like me) is a list.
> So it may be confusing for programmers used with other languages and API's
> in principle to see the Functor interface in the project. I tried removing
> the functor interfaces from the functor-api project, and after minor
> changes in the function/predicate/procedure's the rest of the code compiled
> with no problem.
> I think these marker interfaces could be removed. They are not being used
> anywhere in the functor-core, but we would have to update the site.
> Thoughts on this?
> Thanks!
> [1]
> Bruno P. Kinoshita
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message