On Monday, 31 August 2015 at 21:14:42 UTC, Meta wrote:
This would go great with Algebraic.
alias List(T) = Algebraic!(
struct Cons { T data; This* next; },
struct Nil {},
);
Good example!I thought of another interesting use for my lambda trick(rough draft, but shows promise)...
http://dpaste.dzfl.pl/8b26f2ec133d
