I'm playing around with some types to represent a game board (like Go,
Chess, Scrabble, etc).
I'm using a type class to represent the basic Board interface, so I can
change the implementation freely:
class Board b pos piece where
-- Update board with piece played at pos
play :: b pos
Am Dienstag 01 Dezember 2009 23:34:46 schrieb Jeremy Fitzhardinge:
I'm playing around with some types to represent a game board (like Go,
Chess, Scrabble, etc).
I'm using a type class to represent the basic Board interface, so I can
change the implementation freely:
class Board b pos piece
On 12/01/09 15:12, Daniel Fischer wrote:
Am Dienstag 01 Dezember 2009 23:34:46 schrieb Jeremy Fitzhardinge:
I'm playing around with some types to represent a game board (like Go,
Chess, Scrabble, etc).
I'm using a type class to represent the basic Board interface, so I can
change the
Am Mittwoch 02 Dezember 2009 01:43:04 schrieb Jeremy Fitzhardinge:
On 12/01/09 15:12, Daniel Fischer wrote:
Am Dienstag 01 Dezember 2009 23:34:46 schrieb Jeremy Fitzhardinge:
I'm playing around with some types to represent a game board (like Go,
Chess, Scrabble, etc).
I'm using a type
On 12/01/09 17:38, Daniel Fischer wrote:
Am Mittwoch 02 Dezember 2009 01:43:04 schrieb Jeremy Fitzhardinge:
On 12/01/09 15:12, Daniel Fischer wrote:
Am Dienstag 01 Dezember 2009 23:34:46 schrieb Jeremy Fitzhardinge:
I'm playing around with some types to represent a game board