Browse by Tags

All Tags » pl's (RSS)

C# Partial Specialization With Extension Methods by aelij

One of the things C# generics lacks ( compared to C++ templates) is specialization (neither explicit nor partial). This can be very useful in some cases where you want to perform something differently for a specific T in a Class<T> . With C# 3.0...
Filed under: ,

Replacing P# by aelij

I've decided to replace P# with a great C# SWI-Prolog Interface , written by Uwe Lesta (I changed it a bit. See attachment.) The main reason for this decision was performance . P# was considerably slower, and the project had to meet certain standards...
Filed under: , ,

Replacing P# by aelij

I've decided to replace P# with a great C# SWI-Prolog Interface , written by Uwe Lesta (I changed it a bit. See attachment.) The main reason for this decision was performance . P# was considerably slower, and the project had to meet certain standards...
Filed under: , ,

My Prolog Project: Connect 4 by aelij

I've finally decided on a Prolog project: the game Connect 4. I'm writing the GUI in VC# Express and using P# as the Prolog engine. I'll probably also write a text version using SWI-Prolog . Here's a screenshot of what I've come up with so far:
Filed under: ,

The Hidden C# "Typedef" by aelij

I've just seen a blog entry about C# generics, concerning C#'s lack of typedef s. Actually, C# has a way of aliasing classes, using the using directive : using IntList = System.Collections.Generic. List < int >; IntList = System.Collections.Generic...
Filed under: ,
Powered by Community Server (Non-Commercial Edition), by Telligent Systems