On Friday, March 8, 2013, Loryn Jenkins wrote:
> I was playing around with predicates today.
>
> It seems that when I attempt to run a default constructor directly on a
> predicate type, I get a macro expansion error.
>
> I quickly grepped through the codebase in basis and extras, and couldn't
> find an instance where a constructor was used off a predicate class.
>
> Can I assume that predicate types are not intended to be instantiated
> directly? Or am I assuming that erroneously?
>
Indeed, a predicate type isn't a concrete type, and it doesn't really make
sense to construct one. C: is intended to be used only for concrete TUPLE:
types. It's a bug that it appears to work on non-tuples.
-Joe
------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the
endpoint security space. For insight on selecting the right partner to
tackle endpoint security challenges, access the full report.
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk